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 +4 -4
- data/Rakefile +0 -1
- data/spec/lib/load_sample_spec.rb +2 -6
- data/spec/spec_helper.rb +4 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aeac72a99d0e1497a8a593e0964e771e0bd2916b
|
4
|
+
data.tar.gz: 740a40a5fc53f9378b78dd27eae4a1ec21522c5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c72eedb1f37db0baf7b8aac32f5058e0c88205234b2798ce28eccba5f04080a0212d518548583e481dcb8a560917472e917db231198a88d316c557a1a07a462
|
7
|
+
data.tar.gz: 2fab06b999eb631b78743abc24e4ee4ba407ce966fe66455217d3c37192f40c603ae472fa828b6838397dfd8707446fc5e7b5c547eefc7a6d2f3aa82ef4d8688
|
data/Rakefile
CHANGED
@@ -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
|
-
|
7
|
-
|
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|