spree_cmd 2.2.0 → 2.2.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d5cbadee679d4aa310f33d2cfff9190791702d2
|
4
|
+
data.tar.gz: d0aa89187ab8f1987f26bf765b4e7420075d8d9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f12ed2a4c4a4e21fe0a779ef58dcb8f907bcfc4195a021aa5a94721474a4927bb8287bafa0fc193ffc3e1fbb2a9d2da21bea6949ad8399959895f62cb172e1d
|
7
|
+
data.tar.gz: 92b3d3447c136dcbe48a05d2d18597c3b6ad60893271ad83247c103fb874852b7dd1def75b8bf9aabf755c88a293315b653a344d94a0fe9722dcde5594c172d8
|
data/LICENSE
CHANGED
data/lib/spree_cmd/extension.rb
CHANGED
@@ -22,12 +22,11 @@ bundle exec rails g <%= file_name %>:install
|
|
22
22
|
Testing
|
23
23
|
-------
|
24
24
|
|
25
|
-
|
25
|
+
First bundle your dependencies, then run `rake`. `rake` will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using `rake test_app`.
|
26
26
|
|
27
27
|
```shell
|
28
28
|
bundle
|
29
|
-
bundle exec rake
|
30
|
-
bundle exec rspec spec
|
29
|
+
bundle exec rake
|
31
30
|
```
|
32
31
|
|
33
32
|
When testing your applications integration with this extension you may use it's factories.
|
@@ -6,7 +6,13 @@ require 'spree/testing_support/extension_rake'
|
|
6
6
|
|
7
7
|
RSpec::Core::RakeTask.new
|
8
8
|
|
9
|
-
task :default
|
9
|
+
task :default do
|
10
|
+
if Dir["spec/dummy"].empty?
|
11
|
+
Rake::Task[:test_app].invoke
|
12
|
+
Dir.chdir("../../")
|
13
|
+
end
|
14
|
+
Rake::Task[:spec].invoke
|
15
|
+
end
|
10
16
|
|
11
17
|
desc 'Generates a dummy app for testing'
|
12
18
|
task :test_app do
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.add_development_dependency 'capybara', '~> 2.1'
|
22
22
|
s.add_development_dependency 'coffee-rails'
|
23
23
|
s.add_development_dependency 'database_cleaner'
|
24
|
-
s.add_development_dependency 'factory_girl', '~> 4.
|
24
|
+
s.add_development_dependency 'factory_girl', '~> 4.4'
|
25
25
|
s.add_development_dependency 'ffaker'
|
26
26
|
s.add_development_dependency 'rspec-rails', '~> 2.13'
|
27
27
|
s.add_development_dependency 'sass-rails'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_cmd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Mar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
100
|
rubyforge_project: spree_cmd
|
101
|
-
rubygems_version: 2.2.
|
101
|
+
rubygems_version: 2.2.2
|
102
102
|
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: Spree Commerce command line utility
|