engine_cart 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/engine_cart/version.rb +1 -1
- data/lib/generators/engine_cart/install_generator.rb +10 -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: 3aac774bd350fd12806d5cb3f4e9b25071bb2cdc
|
4
|
+
data.tar.gz: dc9794c0864bdfc4b1d38483aea6a52dd879e759
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e31a23a24bb7465a7e23554965a7588551112963f264162620fec6c5475e9f367a7e8d1b1d325eefb4b852113c441c843dc9f43eb373813f22f643d90affb30
|
7
|
+
data.tar.gz: ae9b8d8e16fc318211b8c07c65c8e98b35c33ed0ba7240991c1824a98fc9a05cd9b1a64f6c3e6fe4396b69f7c05a77937714170f03dcce13a2457135d26cbd96
|
data/lib/engine_cart/version.rb
CHANGED
@@ -53,9 +53,18 @@ module EngineCart
|
|
53
53
|
if File.exists?(file)
|
54
54
|
puts "Loading \#{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
|
55
55
|
instance_eval File.read(file)
|
56
|
+
else
|
57
|
+
gem 'rails', ENV['RAILS_VERSION'] if ENV['RAILS_VERSION']
|
58
|
+
|
59
|
+
if ENV['RAILS_VERSION'] and ENV['RAILS_VERSION'] =~ /^4.2/
|
60
|
+
gem 'responders', "~> 2.0"
|
61
|
+
gem 'sass-rails', ">= 5.0"
|
62
|
+
else
|
63
|
+
gem 'sass-rails', "< 5.0"
|
64
|
+
end
|
56
65
|
end
|
57
66
|
EOF
|
58
67
|
end
|
59
68
|
end
|
60
69
|
end
|
61
|
-
end
|
70
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engine_cart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|