superstore 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0aaa4fd0c0350717dab4ba5efa5f43d8e7e7799e
4
- data.tar.gz: 3c758d1dbc28252434ef29a7df84490b1fa1fe7f
3
+ metadata.gz: fb477f21d0d3b90e713db682e74846af31321a7a
4
+ data.tar.gz: dad7a819021bd45845e1d426e3b1590ef3bce3e5
5
5
  SHA512:
6
- metadata.gz: d7fd816b474c34f3f86b1e69a6bb57d85abd77d8a839124c72a5d0b50923af81680acd67eb806a0e2d2ceb822d3afd21106a16f51a7412f850dedb04f3b25e41
7
- data.tar.gz: c566b225cf435c521df390f93507ddc919b294657803fe75a78130f5fb04e88e14b347650bb83a1f087e9bf957f2128e8bcfca5d9748e4aad4a20f7255d23040
6
+ metadata.gz: 95248c38d62404bf032e85467a4d1d3876436bbb82a65821de8408a6a0b7c63eaf82198a97969cc33081031bb50718588b2054727f62a9ee16997248f52f1cf2
7
+ data.tar.gz: 48c3911c2dc372f45a5ffed1b979308a204512d1689355de7b493d100754804dbf92e4c55d5b28971e1b04b91b73fe0b83b809fd5c31a065a77e3438352e2a13
@@ -6,8 +6,14 @@ module Superstore
6
6
 
7
7
  initializer "superstore.config" do |app|
8
8
  ActiveSupport.on_load :superstore do
9
- pathnames = [Rails.root.join('config', 'superstore.yml'), Rails.root.join('config', 'cassandra.yml')]
9
+ pathnames = [Rails.root.join('config', 'cassandra.yml'), Rails.root.join('config', 'superstore.yml')]
10
10
  if pathname = pathnames.detect(&:exist?)
11
+ if pathname.basename.to_s == 'cassandra.yml'
12
+ warn "***********************"
13
+ warn "config/cassandra.yml is deprecated. Use config/superstore.yml"
14
+ warn "***********************"
15
+ end
16
+
11
17
  config = ERB.new(pathname.read).result
12
18
  config = YAML.load(config)
13
19
 
data/superstore.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'superstore'
5
- s.version = '1.1.2'
5
+ s.version = '1.1.3'
6
6
  s.description = 'ActiveModel for many attributes'
7
7
  s.summary = 'Cassandra ActiveModel'
8
8
  s.authors = ["Michael Koziarski", "gotime"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superstore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Koziarski
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-09 00:00:00.000000000 Z
12
+ date: 2014-10-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel