spree_sample 3.3.0.rc1 → 3.3.0.rc2
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 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bee2b269f3d3b0cabc19dded810b6732c3181d2
|
4
|
+
data.tar.gz: 40245b46624265d5f7325599ddb91038d637fdd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a0b9ef7d19273827e0769405f83ec57f229e27ac2b2b87c601a49462e5b203fd0f6d401a4a1f4eb37c89cece1ebeb4312af802c50556c876aa06612be32a374
|
7
|
+
data.tar.gz: 98e2354290f838c6ebd46e1386e653c8e290d0bfaac048798af5f44be94aeea680c2ec801fcba181d44f656b546f0ccb034f492ea6e129aac9c6751d715604aa
|
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.3.0.
|
4
|
+
version: 3.3.0.rc2
|
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-07-
|
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.3.0.
|
19
|
+
version: 3.3.0.rc2
|
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.3.0.
|
26
|
+
version: 3.3.0.rc2
|
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.10
|
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,26 +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
|
-
|
24
|
-
config.order = :random
|
25
|
-
Kernel.srand config.seed
|
26
|
-
end
|