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 +4 -4
- data/lib/superstore/railtie.rb +7 -1
- data/superstore.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb477f21d0d3b90e713db682e74846af31321a7a
|
4
|
+
data.tar.gz: dad7a819021bd45845e1d426e3b1590ef3bce3e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95248c38d62404bf032e85467a4d1d3876436bbb82a65821de8408a6a0b7c63eaf82198a97969cc33081031bb50718588b2054727f62a9ee16997248f52f1cf2
|
7
|
+
data.tar.gz: 48c3911c2dc372f45a5ffed1b979308a204512d1689355de7b493d100754804dbf92e4c55d5b28971e1b04b91b73fe0b83b809fd5c31a065a77e3438352e2a13
|
data/lib/superstore/railtie.rb
CHANGED
@@ -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', '
|
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
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.
|
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-
|
12
|
+
date: 2014-10-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|