remote_files 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/remote_files/version.rb +1 -1
- data/lib/remote_files.rb +3 -1
- metadata +3 -3
data/lib/remote_files/version.rb
CHANGED
data/lib/remote_files.rb
CHANGED
@@ -25,7 +25,9 @@ module RemoteFiles
|
|
25
25
|
def self.configure(hash)
|
26
26
|
hash.each do |store_identifier, config|
|
27
27
|
#symbolize_keys!
|
28
|
-
|
28
|
+
cfg = {}
|
29
|
+
config.each { |name, value| cfg[name.to_sym] = config[name] }
|
30
|
+
config = cfg
|
29
31
|
|
30
32
|
#camelize
|
31
33
|
type = config[:type].gsub(/\/(.?)/) { "::#{$1.upcase}" }.gsub(/(?:^|_)(.)/) { $1.upcase } + 'Store'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remote_files
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -146,7 +146,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
146
146
|
version: '0'
|
147
147
|
segments:
|
148
148
|
- 0
|
149
|
-
hash:
|
149
|
+
hash: 2511634523792852721
|
150
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
151
|
none: false
|
152
152
|
requirements:
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
segments:
|
157
157
|
- 0
|
158
|
-
hash:
|
158
|
+
hash: 2511634523792852721
|
159
159
|
requirements: []
|
160
160
|
rubyforge_project:
|
161
161
|
rubygems_version: 1.8.24
|