solidus_sample 2.1.1 → 2.2.0.beta1

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: f06d3423a964ed6a441fac8756a2adcba2b7d2fa
4
- data.tar.gz: 45fa96bdb91ad2e992bcce85236fcd68c13b83da
3
+ metadata.gz: aeac72a99d0e1497a8a593e0964e771e0bd2916b
4
+ data.tar.gz: 740a40a5fc53f9378b78dd27eae4a1ec21522c5b
5
5
  SHA512:
6
- metadata.gz: ea3f2b013d23abc64d60b328f61b390c95e4d00c6021a8d87e475b50d544575b430d447615b51ddbc29271c73bbbd59f6eb6f92640129c2734b0fce2e03be4fb
7
- data.tar.gz: 06a19041481afed33dd51dc9d691e3471e3ed4cf7de01e57a2c8c0f89f8096010d4ee5c1cafae518dc5c249d9bc418b13d8e9aaaee83a1a55cf8c74e3fa4aade
6
+ metadata.gz: 9c72eedb1f37db0baf7b8aac32f5058e0c88205234b2798ce28eccba5f04080a0212d518548583e481dcb8a560917472e917db231198a88d316c557a1a07a462
7
+ data.tar.gz: 2fab06b999eb631b78743abc24e4ee4ba407ce966fe66455217d3c37192f40c603ae472fa828b6838397dfd8707446fc5e7b5c547eefc7a6d2f3aa82ef4d8688
data/Rakefile CHANGED
@@ -7,7 +7,6 @@ desc "Generates a dummy app for testing"
7
7
  task :test_app do
8
8
  ENV['LIB_NAME'] = 'spree/sample'
9
9
  Rake::Task['common:test_app'].invoke
10
- Rake::Task['common:seed'].invoke
11
10
  end
12
11
 
13
12
  RSpec::Core::RakeTask.new
@@ -3,12 +3,8 @@ require 'spec_helper'
3
3
  describe "Load samples" do
4
4
  it "doesn't raise any error" do
5
5
  expect {
6
- # Seeds are only run for rake test_app so to allow this spec to pass without
7
- # rerunning rake test_app every time we must load them in if not already.
8
- unless Spree::Zone.find_by_name("North America")
9
- load Rails.root + 'Rakefile'
10
- load Rails.root + 'db/seeds.rb'
11
- end
6
+ load Rails.root + 'Rakefile'
7
+ load Rails.root + 'db/seeds.rb'
12
8
 
13
9
  SpreeSample::Engine.load_samples
14
10
  }.to output.to_stdout
data/spec/spec_helper.rb CHANGED
@@ -23,6 +23,10 @@ RSpec.configure do |config|
23
23
  c.syntax = :expect
24
24
  end
25
25
 
26
+ config.before(:suite) do
27
+ DatabaseCleaner.clean_with(:truncation)
28
+ end
29
+
26
30
  # If you're not using ActiveRecord, or you'd prefer not to run each of your
27
31
  # examples within a transaction, comment the following line or assign false
28
32
  # instead of true.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_sample
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-12 00:00:00.000000000 Z
11
+ date: 2017-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.1
19
+ version: 2.2.0.beta1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.1.1
26
+ version: 2.2.0.beta1
27
27
  description: Sample data (including images) for use with Solidus.
28
28
  email: contact@solidus.io
29
29
  executables: []
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
104
  - none
105
105
  rubyforge_project:
106
- rubygems_version: 2.6.11
106
+ rubygems_version: 2.6.10
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: Sample data (including images) for use with Solidus.