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: 97105af1f6bc0e28cae3e3be4713212579b6b2f7
4
- data.tar.gz: f35d9b6741c207011aa94307f0d136c58c48d286
3
+ metadata.gz: 8d5cbadee679d4aa310f33d2cfff9190791702d2
4
+ data.tar.gz: d0aa89187ab8f1987f26bf765b4e7420075d8d9d
5
5
  SHA512:
6
- metadata.gz: a955f5ca588c06b0d1dac3f933a2f4c7102ab422e3e46e6e533cb163cea7d0dbe868692abba3702c2754af1826d59a5a5c29b03afaaad62f8947b5df560a531d
7
- data.tar.gz: af90a4a6bf8612b49b637982893e9aca33f7c3daa5d43719611077412bc2dd86aacbb5cda78505d48c6f87f74df85568a42e17a58293f2abca8432fa2e05f84f
6
+ metadata.gz: 6f12ed2a4c4a4e21fe0a779ef58dcb8f907bcfc4195a021aa5a94721474a4927bb8287bafa0fc193ffc3e1fbb2a9d2da21bea6949ad8399959895f62cb172e1d
7
+ data.tar.gz: 92b3d3447c136dcbe48a05d2d18597c3b6ad60893271ad83247c103fb874852b7dd1def75b8bf9aabf755c88a293315b653a344d94a0fe9722dcde5594c172d8
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2007-2013, Spree Commerce, Inc. and other contributors
1
+ Copyright (c) 2007-2014, Spree Commerce, Inc. and other contributors
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification,
@@ -50,7 +50,7 @@ module SpreeCmd
50
50
  end
51
51
 
52
52
  def spree_version
53
- '2.2.0'
53
+ '2.2.1'
54
54
  end
55
55
 
56
56
  def use_prefix(prefix)
@@ -22,12 +22,11 @@ bundle exec rails g <%= file_name %>:install
22
22
  Testing
23
23
  -------
24
24
 
25
- Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.
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 test_app
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 => [:spec]
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.2'
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.0
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-02-26 00:00:00.000000000 Z
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.0
101
+ rubygems_version: 2.2.2
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: Spree Commerce command line utility