config-store 0.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/config_store/version.rb +1 -1
- data/lib/config_store.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/config_store/version.rb
CHANGED
data/lib/config_store.rb
CHANGED
@@ -35,7 +35,7 @@ module ConfigStore
|
|
35
35
|
end
|
36
36
|
org = Organization.find_by_name(org_name) || Organization.create(name: org_name)
|
37
37
|
Store.org = org
|
38
|
-
store = Store.find_by_name(store_name) || Store.create(name:
|
38
|
+
store = Store.find_by_name(store_name) || Store.create(name: store_name)
|
39
39
|
|
40
40
|
to_store = {:store => store.id, :org => org.id, :site => site || store_keys[:site]}.to_json
|
41
41
|
File.open(".config-store", 'w') {|f| f.write(to_store) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: config-store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.3'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -133,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
133
133
|
version: '0'
|
134
134
|
segments:
|
135
135
|
- 0
|
136
|
-
hash:
|
136
|
+
hash: 862225369788020848
|
137
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
segments:
|
144
144
|
- 0
|
145
|
-
hash:
|
145
|
+
hash: 862225369788020848
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
148
|
rubygems_version: 1.8.24
|