spree_sample 3.1.5 → 3.1.6
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 +4 -4
- data/spree_sample.gemspec +1 -1
- metadata +5 -7
- data/spec/lib/load_sample_spec.rb +0 -18
- data/spec/spec_helper.rb +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3f4af9321d02cc0fa74ba0011bd6f5ce90f11a6
|
4
|
+
data.tar.gz: 0b560ac70189d3fdda036e7cc8466ed37b27a1ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6921b122147a13f21fa31ce232e66a4e0debc8f1be5c48a8de05be97dad358154ecbd0499543fc162783396e3e8c0935d4a8d6805a5b89115ec0f3d03c6906e6
|
7
|
+
data.tar.gz: 4773ce9d5f08114f233c8e9c7c0fe28e096079980480091ae279f7221ed02cad8856e9d6ace608e08016144d6873fad092c797f781782c7776413bb798abdc14
|
data/spree_sample.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = 'http://spreecommerce.com'
|
14
14
|
s.license = 'BSD-3'
|
15
15
|
|
16
|
-
s.files = `git ls-files`.split("\n")
|
16
|
+
s.files = `git ls-files`.split("\n").reject { |f| f.match(/^spec/) }
|
17
17
|
s.require_path = 'lib'
|
18
18
|
s.requirements << 'none'
|
19
19
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_sample
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.1.
|
19
|
+
version: 3.1.6
|
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: 3.1.
|
26
|
+
version: 3.1.6
|
27
27
|
description: Required dependency for Spree
|
28
28
|
email: sean@spreecommerce.com
|
29
29
|
executables: []
|
@@ -90,8 +90,6 @@ files:
|
|
90
90
|
- lib/spree/sample.rb
|
91
91
|
- lib/spree_sample.rb
|
92
92
|
- lib/tasks/sample.rake
|
93
|
-
- spec/lib/load_sample_spec.rb
|
94
|
-
- spec/spec_helper.rb
|
95
93
|
- spree_sample.gemspec
|
96
94
|
homepage: http://spreecommerce.com
|
97
95
|
licenses:
|
@@ -114,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
112
|
requirements:
|
115
113
|
- none
|
116
114
|
rubyforge_project:
|
117
|
-
rubygems_version: 2.6.
|
115
|
+
rubygems_version: 2.6.11
|
118
116
|
signing_key:
|
119
117
|
specification_version: 4
|
120
118
|
summary: Sample data (including images) for use with Spree.
|
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe "Load samples" do
|
4
|
-
before do
|
5
|
-
# Seeds are only run for rake test_app so to allow this spec to pass without
|
6
|
-
# rerunning rake test_app every time we must load them in if not already.
|
7
|
-
unless Spree::Zone.find_by_name("North America")
|
8
|
-
load Rails.root + 'Rakefile'
|
9
|
-
load Rails.root + 'db/seeds.rb'
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
it "doesn't raise any error" do
|
14
|
-
expect {
|
15
|
-
SpreeSample::Engine.load_samples
|
16
|
-
}.to_not raise_error
|
17
|
-
end
|
18
|
-
end
|
data/spec/spec_helper.rb
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# This file is copied to ~/spec when you run 'ruby script/generate rspec'
|
2
|
-
# from the project root directory.
|
3
|
-
ENV["RAILS_ENV"] ||= 'test'
|
4
|
-
require File.expand_path("../dummy/config/environment", __FILE__)
|
5
|
-
require 'rspec/rails'
|
6
|
-
require 'ffaker'
|
7
|
-
require 'spree_sample'
|
8
|
-
require 'spree/testing_support/shoulda_matcher_configuration'
|
9
|
-
|
10
|
-
RSpec.configure do |config|
|
11
|
-
config.color = true
|
12
|
-
config.fail_fast = ENV['FAIL_FAST'] || false
|
13
|
-
config.infer_spec_type_from_file_location!
|
14
|
-
config.mock_with :rspec
|
15
|
-
config.raise_errors_for_deprecations!
|
16
|
-
|
17
|
-
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
18
|
-
# examples within a transaction, comment the following line or assign false
|
19
|
-
# instead of true.
|
20
|
-
config.use_transactional_fixtures = true
|
21
|
-
|
22
|
-
config.include FactoryGirl::Syntax::Methods
|
23
|
-
end
|