spree_sample 3.2.1 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- 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: a67c52b65bc65ce2887a897ffc65f764ce7c88b3
|
4
|
+
data.tar.gz: b146e95873e33d6ec85adf5ac1491d1271c180c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9d76d9d420536fcb2fee17a9fd6a8ff90c31f65510c622228a30f519908e38dd677597742987632f2ce875fba5c99f433cc89c192e183b8165f614e4a57ebf0
|
7
|
+
data.tar.gz: edc5b4dcceb06923957473442b6d1ea82ece33a9152ab17cae337e049874ee602719ca54aca796399828d8d561aa311e23bc67e3f3103821c24ddb11660479c5
|
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-Clause'
|
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.2.
|
4
|
+
version: 3.2.2
|
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.2.
|
19
|
+
version: 3.2.2
|
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.2.
|
26
|
+
version: 3.2.2
|
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.12
|
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
|