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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f28b9c3f6915fc494c0dda7bfe3139d75dd716f1
4
- data.tar.gz: ca16aac3634c2f2c30027d642e382424768481f9
3
+ metadata.gz: 8d338f4c1822f3975c981752fe0e7ef0fb417f54
4
+ data.tar.gz: d7ca112daff894c79df45a376e804919b79b45f7
5
5
  SHA512:
6
- metadata.gz: 7e7b45bb1d0c0aca7730068d05fbb4641c8966414d83ae2ae5d02c128048892bcb6f0754e28485bbd5223237603f3254be114fd36c69b7f70e67267feb57839f
7
- data.tar.gz: d0dc6729dff7a666a29c3c7b6fcdd547df12efaf8abb883003efa2047433ea2455666c769a30b4093664e4b3bafdfb73abe2cd51be028ac12286eb69bdb028f4
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.8.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("Gemfile", ENV['ENGINE_CART_DESTINATION'] || ENV['RAILS_ROOT'] || File.expand_path("#{EngineCart.destination}", File.dirname(__FILE__)))
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']= "--edge --skip-turbolinks"
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
- if ENV['RAILS_VERSION'].nil? || ENV['RAILS_VERSION'] =~ /^4\.2/
35
- gem 'responders', "~> 2.0"
36
- gem 'sass-rails', ">= 5.0"
37
- elsif ENV['RAILS_VERSION'] =~ /^5\.0/ || ENV['RAILS_VERSION'] == 'edge'
38
- # nop
39
- else
40
- gem 'sass-rails', "< 5.0"
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
@@ -1,3 +1,3 @@
1
1
  module EngineCart
2
- VERSION = '0.9.1'
2
+ VERSION = '0.10.0'
3
3
  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.9.1
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-05 00:00:00.000000000 Z
11
+ date: 2016-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails