spree_cmd 2.3.1 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01c93e73eb58f32fd7785fbcbcc81fa0b4db5278
4
- data.tar.gz: b8a1acd345a82382346127800f38b4b5e0a8c42e
3
+ metadata.gz: 5d0825723081bf9bd1eccceeed48b0b910f18848
4
+ data.tar.gz: 05fe609b5a999f360166cc2f8c928cccce727d87
5
5
  SHA512:
6
- metadata.gz: 33037ca922f0b56d0c106992125898a8fcb9773b965e689cfae421eb561ab5bbef0ff023d5da15782353114cf4c8f4150383e60cc5bf5177938f7d6d764cff95
7
- data.tar.gz: bafaf11a78bef48df2dfae685b3efc9816c70d2fa5f5680d9e5fc452d0dae74253fef1272c1897d33152f3d7958c2896c089ba78b21aa518753b7572c6650e7b
6
+ metadata.gz: b5f6253e45aa8e6c99bb7078e1a2e2d68a9a73a1bbab1b7a7ed8f6900b133e2494976fde7b888c30e543742165e6f6d03acb4119075807d74676356f568ae82f
7
+ data.tar.gz: 5354a0942102a9128219f1fbb4585aac200f7eba4bc977bda979feac48a57f6579a79a78df59a9b6dc901817fea689b4cb92804f7cdff35cf7b00e86cf9a41f2
@@ -50,7 +50,7 @@ module SpreeCmd
50
50
  end
51
51
 
52
52
  def spree_version
53
- '2.3.1'
53
+ '2.3.2'
54
54
  end
55
55
 
56
56
  def use_prefix(prefix)
@@ -36,6 +36,9 @@ require '<%= file_name %>/factories'
36
36
  RSpec.configure do |config|
37
37
  config.include FactoryGirl::Syntax::Methods
38
38
 
39
+ # Infer an example group's spec type from the file location.
40
+ config.infer_spec_type_from_file_location!
41
+
39
42
  # == URL Helpers
40
43
  #
41
44
  # Allows access to Spree's routes in specs:
@@ -70,7 +73,7 @@ RSpec.configure do |config|
70
73
 
71
74
  # Before each spec check if it is a Javascript test and switch between using database transactions or not where necessary.
72
75
  config.before :each do
73
- DatabaseCleaner.strategy = example.metadata[:js] ? :truncation : :transaction
76
+ DatabaseCleaner.strategy = RSpec.current_example.metadata[:js] ? :truncation : :transaction
74
77
  DatabaseCleaner.start
75
78
  end
76
79
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_cmd
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Mar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-01 00:00:00.000000000 Z
11
+ date: 2014-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec