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 CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- config-store (0.2)
4
+ config-store (0.3)
5
5
  activeresource
6
6
  commander
7
7
  json
@@ -1,3 +1,3 @@
1
1
  module ConfigStore
2
- Version = '0.2'
2
+ Version = '0.3'
3
3
  end
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: org_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.2'
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: -3978296649425857140
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: -3978296649425857140
145
+ hash: 862225369788020848
146
146
  requirements: []
147
147
  rubyforge_project:
148
148
  rubygems_version: 1.8.24