spree_cmd 4.2.0.rc5 → 4.2.0

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
  SHA256:
3
- metadata.gz: 356a5bbf0466b6c32d79a86c440d9aaac2551bfc52bd41421f2604a223d2c9a5
4
- data.tar.gz: 4365f670872fddf385d02ff660708642ec457f8c6dcc00e6bc1d135f48cc8c0f
3
+ metadata.gz: ad1688a7d098b63df9459015b68e6832f38171315bdc7533f189358d76107ded
4
+ data.tar.gz: 3201dc83e76114fc96bc2399af5619991d6e16b139cf116c80e77d010a2aa26d
5
5
  SHA512:
6
- metadata.gz: 2de52e6d4c80d44b97f8c6173ca96b9ff15a1e4950fedc4f30f4f521c304e3ead16569f7d98f8fa3c741427d7da6d9c517d13c1b885b9cd3a28fb6527fcb4c10
7
- data.tar.gz: e41a77619261d69f4427171436e7a8a9ca75d62336083c135e33c77c81883a148ac4435a4458188b84432ed09fe3001938c0b0b3744d4059c26dc1dfd0649ddc
6
+ metadata.gz: 6d0e1823f584aca92eea6283f7ac35a786c071e88bc699942edd401413dbbd4b7ce64db7279d22bd475a94f02f94623cc6050f2a1f56032fa73c7b9d65c6aa67
7
+ data.tar.gz: 4e28c09af859c328a40d4b40fbe40e27e4da7dc49c27293c1f0f712a2cfdabd6992fb0af5a2e1f61e64caa840be0e59432387dcedebc824ce2689fa67fcdada9
@@ -1,10 +1,5 @@
1
- appraise 'spree-4-1' do
2
- gem 'spree', '~> 4.1.0'
3
- gem 'rails-controller-testing'
4
- end
5
-
6
1
  appraise 'spree-4-2' do
7
- gem 'spree', '~> 4.2.0.rc4'
2
+ gem 'spree', '~> 4.2.0'
8
3
  gem 'rails-controller-testing'
9
4
  end
10
5
 
@@ -7,7 +7,7 @@ Introduction goes here.
7
7
  1. Add this extension to your Gemfile with this line:
8
8
 
9
9
  ```ruby
10
- gem '<%= file_name %>', github: '[your-github-handle]/<%= file_name %>'
10
+ gem '<%= file_name %>'
11
11
  ```
12
12
 
13
13
  2. Install the gem using Bundler
@@ -42,6 +42,15 @@ Simply add this require statement to your spec_helper:
42
42
  require '<%= file_name %>/factories'
43
43
  ```
44
44
 
45
+ ## Releasing
46
+
47
+ ```shell
48
+ bundle exec gem bump -p -t
49
+ bundle exec gem release
50
+ ```
51
+
52
+ For more options please see [gem-release REAMDE](https://github.com/svenfuchs/gem-release)
53
+
45
54
  ## Contributing
46
55
 
47
56
  If you'd like to contribute, please take a look at the
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.version = <%= class_name %>.version
11
11
  s.summary = 'Add extension summary here'
12
12
  s.description = 'Add (optional) extension description here'
13
- s.required_ruby_version = '>= 2.2.7'
13
+ s.required_ruby_version = '>= 2.5.0'
14
14
 
15
15
  s.author = 'You'
16
16
  s.email = 'you@example.com'
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.require_path = 'lib'
22
22
  s.requirements << 'none'
23
23
 
24
- spree_version = '>= 3.2.0', '< 5.0'
24
+ spree_version = '>= 4.2.0', '< 6.0'
25
25
  s.add_dependency 'spree_core', spree_version
26
26
  s.add_dependency 'spree_api', spree_version
27
27
  s.add_dependency 'spree_backend', spree_version
@@ -3,6 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails-controller-testing"
6
- gem "spree", "~> 4.2.0.rc4"
6
+ gem "spree", "~> 4.2.0"
7
7
 
8
8
  gemspec path: "../"
@@ -20,3 +20,4 @@ public/spree
20
20
  .ruby-version
21
21
  .ruby-gemset
22
22
  gemfiles/*.gemfile.lock
23
+ *.gem
@@ -1,18 +1,11 @@
1
1
  module <%= class_name %>
2
+ VERSION = '0.0.1'.freeze
3
+
2
4
  module_function
3
5
 
4
6
  # Returns the version of the currently loaded <%= class_name %> as a
5
7
  # <tt>Gem::Version</tt>.
6
8
  def version
7
- Gem::Version.new VERSION::STRING
8
- end
9
-
10
- module VERSION
11
- MAJOR = 0
12
- MINOR = 0
13
- TINY = 1
14
- PRE = 'alpha'.freeze
15
-
16
- STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
+ Gem::Version.new VERSION
17
10
  end
18
11
  end
@@ -1,14 +1,14 @@
1
1
  module <%= class_name %>
2
2
  module Generators
3
3
  class InstallGenerator < Rails::Generators::Base
4
- class_option :auto_run_migrations, type: :boolean, default: false
4
+ class_option :migrate, type: :boolean, default: true
5
5
 
6
6
  def add_migrations
7
7
  run 'bundle exec rake railties:install:migrations FROM=<%= file_name %>'
8
8
  end
9
9
 
10
10
  def run_migrations
11
- run_migrations = options[:auto_run_migrations] || ['', 'y', 'Y'].include?(ask('Would you like to run the migrations now? [Y/n]'))
11
+ run_migrations = options[:migrate] || ['', 'y', 'Y'].include?(ask('Would you like to run the migrations now? [Y/n]'))
12
12
  if run_migrations
13
13
  run 'bundle exec rails db:migrate'
14
14
  else
@@ -23,16 +23,12 @@ env:
23
23
  - DB=postgres
24
24
 
25
25
  gemfile:
26
- - gemfiles/spree_4_1.gemfile
27
26
  - gemfiles/spree_4_2.gemfile
28
27
  - gemfiles/spree_master.gemfile
29
28
 
30
29
  jobs:
31
30
  allow_failures:
32
31
  - gemfile: gemfiles/spree_master.gemfile
33
- exclude:
34
- - rvm: 3.0
35
- gemfile: gemfiles/spree_4_1.gemfile
36
32
 
37
33
  before_install:
38
34
  - mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"
data/spree_cmd.gemspec CHANGED
@@ -24,6 +24,5 @@ Gem::Specification.new do |s|
24
24
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
25
25
  s.require_paths = ['lib']
26
26
 
27
- s.add_development_dependency 'rspec'
28
27
  s.add_dependency 'thor', '~> 1.0'
29
28
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_cmd
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0.rc5
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Mar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-04 00:00:00.000000000 Z
11
+ date: 2021-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rspec
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: thor
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -71,7 +57,6 @@ files:
71
57
  - lib/spree_cmd/templates/extension/config/locales/en.yml
72
58
  - lib/spree_cmd/templates/extension/config/routes.rb
73
59
  - lib/spree_cmd/templates/extension/extension.gemspec
74
- - lib/spree_cmd/templates/extension/gemfiles/spree_4_1.gemfile
75
60
  - lib/spree_cmd/templates/extension/gemfiles/spree_4_2.gemfile
76
61
  - lib/spree_cmd/templates/extension/gemfiles/spree_master.gemfile
77
62
  - lib/spree_cmd/templates/extension/gitignore
@@ -90,9 +75,9 @@ licenses:
90
75
  - BSD-3-Clause
91
76
  metadata:
92
77
  bug_tracker_uri: https://github.com/spree/spree/issues
93
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.0.rc5
78
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.2.0
94
79
  documentation_uri: https://guides.spreecommerce.org/
95
- source_code_uri: https://github.com/spree/spree/tree/v4.2.0.rc5
80
+ source_code_uri: https://github.com/spree/spree/tree/v4.2.0
96
81
  post_install_message:
97
82
  rdoc_options: []
98
83
  require_paths:
@@ -104,9 +89,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
89
  version: '0'
105
90
  required_rubygems_version: !ruby/object:Gem::Requirement
106
91
  requirements:
107
- - - ">"
92
+ - - ">="
108
93
  - !ruby/object:Gem::Version
109
- version: 1.3.1
94
+ version: '0'
110
95
  requirements: []
111
96
  rubygems_version: 3.1.4
112
97
  signing_key:
@@ -1,9 +0,0 @@
1
-
2
- # This file was generated by Appraisal
3
-
4
- source "https://rubygems.org"
5
-
6
- gem "rails-controller-testing"
7
- gem "spree", "~> 4.1.0"
8
-
9
- gemspec path: "../"