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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9116ecd712cb9e6d990cdead35c846d1403020cf
4
- data.tar.gz: 02611f17a1b7b6ef5fca1fe551fc228e7b7af1a3
3
+ metadata.gz: 3aac774bd350fd12806d5cb3f4e9b25071bb2cdc
4
+ data.tar.gz: dc9794c0864bdfc4b1d38483aea6a52dd879e759
5
5
  SHA512:
6
- metadata.gz: a3870e1555e4435b791c061f6b4dabf80670e054f40b215f5ce7e2914bd411c451522709d6f30060fcc5dd1192e6db57251a13d6a197a29cec1a6c59ddadf221
7
- data.tar.gz: 2d6118ce6b1cc2403247aee0ef73ab96d87f3b2be05e454c35484ce49e6548c4ca5ebf6c29837f3de317ee237b55bc44f4cc1e8e45e7441ef40bdd8c7470b6a4
6
+ metadata.gz: 2e31a23a24bb7465a7e23554965a7588551112963f264162620fec6c5475e9f367a7e8d1b1d325eefb4b852113c441c843dc9f43eb373813f22f643d90affb30
7
+ data.tar.gz: ae9b8d8e16fc318211b8c07c65c8e98b35c33ed0ba7240991c1824a98fc9a05cd9b1a64f6c3e6fe4396b69f7c05a77937714170f03dcce13a2457135d26cbd96
@@ -1,3 +1,3 @@
1
1
  module EngineCart
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
@@ -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.0
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-01-20 00:00:00.000000000 Z
11
+ date: 2015-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails