spree_cmd 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +8 -6
- data/lib/spree_cmd/extension.rb +1 -1
- data/lib/spree_cmd/installer.rb +1 -1
- data/lib/spree_cmd/templates/extension/Gemfile +1 -1
- data/lib/spree_cmd/templates/extension/extension.gemspec +3 -3
- data/lib/spree_cmd/templates/extension/rspec +1 -1
- data/lib/spree_cmd/templates/extension/spec/spec_helper.rb.tt +1 -0
- data/spec/spec_helper.rb +1 -0
- metadata +11 -23
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e11813411fe0eb718c1c6e28d8fd15d15fabb4dd
|
4
|
+
data.tar.gz: 66c55d568492eb032afd01f44f818c3e667dc935
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 76063ec4c7b80b61a8793a175107b6ef095e230c2222d15361713f0b5e90566fccd49baba7e2bfb914defe47595cd175e2a9ebe50209d546113297d8269491c0
|
7
|
+
data.tar.gz: 0e98c96edccadf48d56dbe97ce24e2ef8f62e2abdd466f047b96c2c35e9cccb67e4c7853762b9f5408ac132013c32e33750e8663bfc5ac74cd3c968a2e7fb71a
|
data/README.md
CHANGED
@@ -42,14 +42,16 @@ to use a local clone of Spree, pass the --path option
|
|
42
42
|
spree install my_store --path=../spree
|
43
43
|
|
44
44
|
|
45
|
-
|
45
|
+
Options
|
46
46
|
-------
|
47
47
|
|
48
|
-
*
|
49
|
-
*
|
50
|
-
*
|
51
|
-
*
|
52
|
-
*
|
48
|
+
* `--auto_accept` to answer yes to all questions
|
49
|
+
* `--edge` to use the edge version of Spree
|
50
|
+
* `--path=../spree` to use a local version of spree
|
51
|
+
* `--git=git@github.com:cmar/spree.git` to use git version of spree
|
52
|
+
* `--branch=my_changes` to use git branch
|
53
|
+
* `--ref=23423423423423` to use git reference
|
54
|
+
* `--tag=my_tag` to use git tag
|
53
55
|
|
54
56
|
Older Versions of Spree
|
55
57
|
-----------------------
|
data/lib/spree_cmd/extension.rb
CHANGED
data/lib/spree_cmd/installer.rb
CHANGED
@@ -125,7 +125,7 @@ module SpreeCmd
|
|
125
125
|
parts = ["'#{name}'"]
|
126
126
|
parts << ["'#{gem_options.delete(:version)}'"] if gem_options[:version]
|
127
127
|
gem_options.each { |key, value| parts << ":#{key} => '#{value}'" }
|
128
|
-
append_file 'Gemfile', "
|
128
|
+
append_file 'Gemfile', "\ngem #{parts.join(', ')}", :verbose => false
|
129
129
|
end
|
130
130
|
|
131
131
|
def ask_with_default(message, default = 'yes')
|
@@ -1,6 +1,6 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
3
|
# Provides basic authentication functionality for testing parts of your engine
|
4
|
-
gem 'spree_auth_devise', :git => "git://github.com/spree/spree_auth_devise"
|
4
|
+
gem 'spree_auth_devise', :git => "git://github.com/spree/spree_auth_devise", :branch => "1-3-stable"
|
5
5
|
|
6
6
|
gemspec
|
@@ -18,11 +18,11 @@ Gem::Specification.new do |s|
|
|
18
18
|
|
19
19
|
s.add_dependency 'spree_core', '~> <%= spree_version %>'
|
20
20
|
|
21
|
-
s.add_development_dependency 'capybara', '~>
|
21
|
+
s.add_development_dependency 'capybara', '~> 2.0'
|
22
22
|
s.add_development_dependency 'coffee-rails'
|
23
|
-
s.add_development_dependency 'factory_girl', '~> 2
|
23
|
+
s.add_development_dependency 'factory_girl', '~> 4.2'
|
24
24
|
s.add_development_dependency 'ffaker'
|
25
|
-
s.add_development_dependency 'rspec-rails', '~> 2.
|
25
|
+
s.add_development_dependency 'rspec-rails', '~> 2.13'
|
26
26
|
s.add_development_dependency 'sass-rails'
|
27
27
|
s.add_development_dependency 'sqlite3'
|
28
28
|
end
|
@@ -1 +1 @@
|
|
1
|
-
--
|
1
|
+
--color
|
@@ -35,6 +35,7 @@ RSpec.configure do |config|
|
|
35
35
|
# config.mock_with :flexmock
|
36
36
|
# config.mock_with :rr
|
37
37
|
config.mock_with :rspec
|
38
|
+
config.color = true
|
38
39
|
|
39
40
|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
40
41
|
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,46 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_cmd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
5
|
-
prerelease:
|
4
|
+
version: 1.3.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Chris Mar
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-06-13 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rspec
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: thor
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 0.14.6
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 0.14.6
|
46
41
|
description: tools to create new Spree stores and extensions
|
@@ -85,33 +80,26 @@ files:
|
|
85
80
|
homepage: http://spreecommerce.com
|
86
81
|
licenses:
|
87
82
|
- BSD-3
|
83
|
+
metadata: {}
|
88
84
|
post_install_message:
|
89
85
|
rdoc_options: []
|
90
86
|
require_paths:
|
91
87
|
- lib
|
92
88
|
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
-
none: false
|
94
89
|
requirements:
|
95
|
-
- -
|
90
|
+
- - '>='
|
96
91
|
- !ruby/object:Gem::Version
|
97
92
|
version: '0'
|
98
|
-
segments:
|
99
|
-
- 0
|
100
|
-
hash: -3492348003078658514
|
101
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
|
-
none: false
|
103
94
|
requirements:
|
104
|
-
- -
|
95
|
+
- - '>='
|
105
96
|
- !ruby/object:Gem::Version
|
106
97
|
version: '0'
|
107
|
-
segments:
|
108
|
-
- 0
|
109
|
-
hash: -3492348003078658514
|
110
98
|
requirements: []
|
111
99
|
rubyforge_project: spree_cmd
|
112
|
-
rubygems_version:
|
100
|
+
rubygems_version: 2.0.0
|
113
101
|
signing_key:
|
114
|
-
specification_version:
|
102
|
+
specification_version: 4
|
115
103
|
summary: Spree Commerce command line utility
|
116
104
|
test_files:
|
117
105
|
- spec/spec_helper.rb
|