engine_cart 0.9.1 → 0.10.0
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/gemfile_stanza.rb +10 -10
- data/lib/engine_cart/version.rb +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: 8d338f4c1822f3975c981752fe0e7ef0fb417f54
|
4
|
+
data.tar.gz: d7ca112daff894c79df45a376e804919b79b45f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbf59d6d25f6f34f76d83a3e9495c03d5ac7a0dd3812d8dafa804e82f350a7a198f87a40d0d69ea387fed75c282864a8da73cdda754b2c754f19d12565c53be8
|
7
|
+
data.tar.gz: 2504e8bd319a7e6c9d239776d7b3e844ec887b6d4af0ac29cc96ef4d8ae54a30a0098f3eba6b91e2f686e297f865c2b7b2a04eeffb5a5614520a340377bc0fb0
|
@@ -2,7 +2,7 @@ require 'engine_cart/params'
|
|
2
2
|
|
3
3
|
module EngineCart
|
4
4
|
def self.gemfile_stanza_check_line
|
5
|
-
"engine_cart stanza: 0.
|
5
|
+
"engine_cart stanza: 0.10.0"
|
6
6
|
end
|
7
7
|
|
8
8
|
def self.gemfile_stanza_text
|
@@ -11,7 +11,7 @@ module EngineCart
|
|
11
11
|
# engine_cart: #{EngineCart::VERSION}
|
12
12
|
# #{EngineCart.gemfile_stanza_check_line}
|
13
13
|
# the below comes from engine_cart, a gem used to test this Rails engine gem in the context of a Rails app.
|
14
|
-
file = File.expand_path(
|
14
|
+
file = File.expand_path('Gemfile', ENV['ENGINE_CART_DESTINATION'] || ENV['RAILS_ROOT'] || File.expand_path('#{EngineCart.destination}', File.dirname(__FILE__)))
|
15
15
|
if File.exist?(file)
|
16
16
|
begin
|
17
17
|
eval_gemfile file
|
@@ -25,19 +25,19 @@ module EngineCart
|
|
25
25
|
if ENV['RAILS_VERSION']
|
26
26
|
if ENV['RAILS_VERSION'] == 'edge'
|
27
27
|
gem 'rails', github: 'rails/rails'
|
28
|
-
ENV['ENGINE_CART_RAILS_OPTIONS']=
|
28
|
+
ENV['ENGINE_CART_RAILS_OPTIONS'] = '--edge --skip-turbolinks'
|
29
29
|
else
|
30
30
|
gem 'rails', ENV['RAILS_VERSION']
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
|
35
|
-
|
36
|
-
gem '
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
gem 'sass-rails',
|
34
|
+
case ENV['RAILS_VERSION']
|
35
|
+
when /^4\.2/
|
36
|
+
gem 'responders', '~> 2.0'
|
37
|
+
gem 'sass-rails', '>= 5.0'
|
38
|
+
gem 'coffee-rails', '~> 4.1.0'
|
39
|
+
when /^4\.[01]/
|
40
|
+
gem 'sass-rails', '< 5.0'
|
41
41
|
end
|
42
42
|
end
|
43
43
|
# END ENGINE_CART BLOCK
|
data/lib/engine_cart/version.rb
CHANGED
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.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|