[DRE-commits] [ruby-fog] 01/01: remove atmos.rb, which is already in fog-atmos
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Fri Apr 10 14:03:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-fog.
commit 7c6705697b53f2057323847bd9a9ca067e889df7
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Fri Apr 10 19:32:37 2015 +0530
remove atmos.rb, which is already in fog-atmos
---
debian/patches/remove-atmos.rb.patch | 34 ++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 35 insertions(+)
diff --git a/debian/patches/remove-atmos.rb.patch b/debian/patches/remove-atmos.rb.patch
new file mode 100644
index 0000000..39dcd42
--- /dev/null
+++ b/debian/patches/remove-atmos.rb.patch
@@ -0,0 +1,34 @@
+Index: ruby-fog/lib/fog/bin/atmos.rb
+===================================================================
+--- ruby-fog.orig/lib/fog/bin/atmos.rb
++++ /dev/null
+@@ -1,29 +0,0 @@
+-class Atmos < Fog::Bin
+- class << self
+- def class_for(key)
+- case key
+- when :storage
+- Fog::Storage::Atmos
+- else
+- raise ArgumentError, "Unsupported #{self} service: #{key}"
+- end
+- end
+-
+- def [](service)
+- @@connections ||= Hash.new do |hash, key|
+- hash[key] = case key
+- when :storage
+- Fog::Logger.warning("Atmos[:storage] is not recommended, use Storage[:atmos] for portability")
+- Fog::Storage.new(:provider => 'Atmos')
+- else
+- raise ArgumentError, "Unrecognized service: #{service}"
+- end
+- end
+- @@connections[service]
+- end
+-
+- def services
+- Fog::Atmos.services
+- end
+- end
+-end
diff --git a/debian/patches/series b/debian/patches/series
index b004ffb..f52e6ef 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
#add_missing_requires.patch
+remove-atmos.rb.patch
fog_import.patch
remove_rubygems_examples.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-fog.git
More information about the Pkg-ruby-extras-commits
mailing list