solidus_dev_support 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fd0df647df1542408d2fbcdd5776d3f68cc8b83ab35d37a38fd242b42631299
4
- data.tar.gz: 613fde5e9f9b26eb3e477d0b80a6da98936a388e5f604f2f22d191fe7eaa049d
3
+ metadata.gz: 2320ceaf62d68e7e76f5ebd54a77ed582fddbc0f4933caaba3f823d8f8ebb53f
4
+ data.tar.gz: 765116a27d6167455eee850837d71aee6d807a1ff1437efa916c0890db2e638a
5
5
  SHA512:
6
- metadata.gz: 2af8807191b0fbbaa35acbe9d031c367e75949cd7e66603f826cc2eb4f928e1deef86599c0992f36c34ac7ed18b7a71a9fc2fd5fedf6d8e144af4075fe459f98
7
- data.tar.gz: de34c8168e0118e1949b2fe1c2dbda6a9b5791d5c30651f5541fb50ddd2d129685c34d57b9dc3b19aa7590165bc56cb6af3db57b7871060398a11d9c57e6839d
6
+ metadata.gz: a263c2ce6e5ce6de123cb52e4e1a9457be7979b2eb811de170efbbfd5c10b774a697efa116899e08a75e5f1062b6f878d8796d543d172d1b369a760089425e70
7
+ data.tar.gz: 12a2731dadf62796e4880f7911eb14125691e9fc7886b8bcbde881705a218334e36ac1d5d4602594836fc9de4df0c1eca5b36ecce557522085bae2ce7ccb4970
@@ -8,4 +8,3 @@ Fixes #XXX.
8
8
 
9
9
  - [ ] I have structured the commits for clarity and conciseness.
10
10
  - [ ] I have added relevant automated tests for this change.
11
- - [ ] I have added an entry to the changelog for this change.
@@ -0,0 +1,4 @@
1
+ issues=false
2
+ exclude-labels=infrastructure
3
+ since-tag=v1.4.0
4
+ base=OLD_CHANGELOG.md
@@ -1,7 +1,39 @@
1
1
  pull_request_rules:
2
- - name: automatic merge when GitHub branch protection passes on master
2
+ - name: request changelog labels when a PR is missing them
3
3
  conditions:
4
4
  - base=master
5
+ - -label=bug
6
+ - -label=enhancement
7
+ - -label=documentation
8
+ - -label=security
9
+ - -label=removed
10
+ - -label=infrastructure
11
+ actions:
12
+ label:
13
+ add:
14
+ - needs changelog label
15
+ comment:
16
+ message: |
17
+ It looks like this PR is missing a label to determine the type of change it introduces. The maintainer should add one of the following labels:
18
+
19
+ - `bug` for bugfixes.
20
+ - `enhancement` for new features and improvements.
21
+ - `documentation` for documentation changes.
22
+ - `security` for security patches.
23
+ - `removed` for feature removals.
24
+ - `infrastructure` for internal changes that should not go in the changelog.
25
+
26
+ Additionally, the maintainer may also want to add one of the following:
27
+
28
+ - `breaking` for breaking changes.
29
+ - `deprecated` for feature deprecations.
30
+
31
+ Once the correct labels have been set, simply remove the `needs changelog label` label from this PR so I can merge it.
32
+ - name: merge PRs automatically
33
+ conditions:
34
+ - base=master
35
+ - -label="needs changelog label"
36
+ - -label=blocked
5
37
  actions:
6
38
  merge:
7
39
  method: merge
@@ -1,13 +1,18 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to this project will be documented in this file.
3
+ ## [v1.5.0](https://github.com/solidusio/solidus_dev_support/tree/v1.5.0) (2020-06-13)
4
4
 
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project
6
- adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
+ [Full Changelog](https://github.com/solidusio/solidus_dev_support/compare/v1.4.0...v1.5.0)
7
6
 
8
- ## [Unreleased]
7
+ **Fixed bugs:**
9
8
 
10
- ## [1.4.0]
9
+ - Fix formatting typo in readme [\#117](https://github.com/solidusio/solidus_dev_support/pull/117) ([aldesantis](https://github.com/aldesantis))
10
+
11
+ **Removed:**
12
+
13
+ - Remove deprecated bin/r and bin/sandbox\_rails binaries [\#118](https://github.com/solidusio/solidus_dev_support/pull/118) ([aldesantis](https://github.com/aldesantis))
14
+
15
+ ## [1.4.0] - 2020-06-05
11
16
 
12
17
  ### Added
13
18
 
@@ -207,3 +212,6 @@ Initial release.
207
212
  [0.2.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.1.1...v0.2.0
208
213
  [0.1.1]: https://github.com/solidusio/solidus_dev_support/compare/v0.1.0...v0.1.1
209
214
  [0.1.0]: https://github.com/solidusio/solidus_dev_support/releases/tag/v0.1.0
215
+
216
+
217
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
@@ -0,0 +1,200 @@
1
+ ## [1.4.0] - 2020-06-05
2
+
3
+ ### Added
4
+
5
+ - Added a "Usage" section to the default readme
6
+
7
+ ### Changed
8
+
9
+ - Restored `bin/rails` and renamed the context specific bins to `bin/rails-engine` and `bin/rails-sandbox`
10
+ - Adjusted the readme structure with better formatting and grammar
11
+ - Moved the RuboCop `AllCops/Exclude` statement back to the internal configuration
12
+
13
+ ### Deprecated
14
+
15
+ - Deprecated `bin/r` in favor of `bin/rails-engine` and `bin/sandbox_rails` in favor of `bin/rails-sandbox`
16
+
17
+ ## [1.3.0] - 2020-05-22
18
+
19
+ ### Added
20
+
21
+ - Ignored `.rvmrc`, `.ruby-version` and `.ruby-gemset` by default in extensions
22
+ - Added deprecation warning when extensions don't support Zeitwerk
23
+
24
+ ### Changed
25
+
26
+ - Updated the extension template to use latest (0.5.X) solidus_support
27
+ - Set Ruby 2.5+ as the minimum Ruby version in generated extensions
28
+
29
+ ### Removed
30
+
31
+ - Removed Stale from the default extension configuration
32
+
33
+ ## [1.2.0] - 2020-04-24
34
+
35
+ ### Changed
36
+
37
+ - Updated the extension template with the latest modifications
38
+
39
+ ## [1.1.0] - 2020-03-06
40
+
41
+ ### Added
42
+
43
+ - Made Git ignore `sandbox` in generated extensions
44
+ - Added support for specifying `SOLIDUS_BRANCH` in the sandbox
45
+
46
+ ### Changed
47
+
48
+ - Split `bin/rails` into `bin/r` and `bin/sandbox_rails`
49
+
50
+
51
+ ### Fixed
52
+
53
+ - Fixed the sandbox Gemfile not including Solidus
54
+
55
+ ## [1.0.1] - 2020-02-17
56
+
57
+ ### Fixed
58
+
59
+ - Fixed missing factory definitions when using `modify` on Solidus factories
60
+
61
+ ## [1.0.0] - 2020-02-07
62
+
63
+ ### Added
64
+
65
+ - Added a binstub for `rake` to the extension generator
66
+ - Added the ability for the generator to reuse existing data for the gemspec
67
+
68
+ ### Fixed
69
+
70
+ - Fixed Dependabot throwing an error because of `eval_gemfile` in the Gemfile
71
+
72
+ ## [0.6.0] - 2020-01-20
73
+
74
+ ### Added
75
+
76
+ - Added support for a local Gemfile for local development dependencies (e.g. 'pry-debug')
77
+ - Added a `bin/sandbox` script to all extension for local development with `bin/rails` support.
78
+
79
+ ### Changed
80
+
81
+ - The default rake task no longer re-generates the `test_app` each time it runs.
82
+ In order to get that behavior back simply call clobber before launching it:
83
+ `bin/rake clobber default`
84
+
85
+ ### Fixed
86
+
87
+ - Fixed generated extensions isolating the wrong namespace
88
+
89
+ ## [0.5.0] - 2020-01-16
90
+
91
+ ### Added
92
+
93
+ - Added `--require spec_helper` to the generated `.rspec`
94
+
95
+ ### Fixed
96
+
97
+ - Replaced "Spree" with "Solidus" in the license of generated extensions
98
+
99
+ ### Changed
100
+
101
+ - Updated gem-release to use tags instead of branches for new releases
102
+
103
+ ## [0.4.1] - 2020-01-15
104
+
105
+ ### Fixed
106
+
107
+ - Fixed the generated RuboCop config inheriting from this gem's dev-only config
108
+ - Fixed the generated extension not requiring the `version` file
109
+ - Fixed the generator not properly marking `bin/` files as executable
110
+
111
+ ## [0.4.0] - 2020-01-10
112
+
113
+ ### Added
114
+
115
+ - Enforced Rails version depending on the Solidus version in generated Gemfile
116
+ - Made Git ignore `spec/examples.txt` in generated extensions
117
+ - Added the ability to run `solidus extension .` to update an extension
118
+
119
+ ### Changed
120
+
121
+ - The `solidus` executable is now solely managed by Thor and is open to extension by other gems
122
+
123
+ ### Fixed
124
+
125
+ - Fixed generated extensions using an old Rakefile
126
+ - Fixed some RuboCop offenses in the generated files
127
+ - Fixed the `bin/setup` script calling a non-existing Rake binary
128
+
129
+ ### Removed
130
+
131
+ - Removed RuboCop from the default Rake task
132
+ - Removed the `-v` option from the `solidus` executable
133
+ - Removed the factory_bot gem from the Gemfile
134
+
135
+ ## [0.3.0] - 2020-01-10
136
+
137
+ ### Added
138
+
139
+ - Adopted Ruby 2.4+ as the minimum Ruby version in generated extensions
140
+ - Added `bin/console`, `bin/rails` and `bin/setup` to generated extensions
141
+ - Added some Bundler gemspec defaults to generated extensions
142
+ - Configured the default Rake task to run generate the test app before running RSpec
143
+
144
+ ### Changed
145
+
146
+ - Updated solidus_support to 0.4.0 for Zeitwerk and Rails 6 compatibility
147
+ - Updated the `solidus` executable to only rely on Thor and be open to extension by other gems
148
+
149
+ ### Removed
150
+
151
+ - Removed solidus_support as a dependency
152
+
153
+ ### Fixed
154
+
155
+ - Fixed `extension:test_app` not going back to the root after execution
156
+
157
+ ## [0.2.0] - 2019-12-16
158
+
159
+ ### Added
160
+
161
+ - Adopted [Apparition](https://github.com/twalpole/apparition) as the deafult JS driver for Capybara
162
+ - Fixed window size to 1920x1080px in feature specs
163
+ - Added [Stale](https://github.com/apps/stale) to automatically mark GitHub issues as stale
164
+
165
+ ### Changed
166
+
167
+ - Disabled all `Metrics` cops except for `LineLength`
168
+ - Set `Layout/AlignArguments` cop to `with_fixed_indentation`
169
+ - Disabled `Layout/MultilineOperationIndentation` cop
170
+ - Renamed the project to SolidusDevSupport (was SolidusExtensionDevTools)
171
+
172
+ ### Fixed
173
+
174
+ - Fixed Chrome not starting in headless mode
175
+
176
+ ## [0.1.1] - 2019-11-11
177
+
178
+ ### Fixed
179
+
180
+ - Fixed `rails_helper` not working due to `SolidusDevSupport` not being available
181
+
182
+ ## [0.1.0] - 2019-11-11
183
+
184
+ Initial release.
185
+
186
+ [Unreleased]: https://github.com/solidusio/solidus_dev_support/compare/v1.4.0...HEAD
187
+ [1.4.0]: https://github.com/solidusio/solidus_dev_support/compare/v1.3.0...v1.4.0
188
+ [1.3.0]: https://github.com/solidusio/solidus_dev_support/compare/v1.2.0...v1.3.0
189
+ [1.2.0]: https://github.com/solidusio/solidus_dev_support/compare/v1.1.0...v1.2.0
190
+ [1.1.0]: https://github.com/solidusio/solidus_dev_support/compare/v1.0.1...v1.1.0
191
+ [1.0.1]: https://github.com/solidusio/solidus_dev_support/compare/v1.0.0...v1.0.1
192
+ [1.0.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.6.0...v1.0.0
193
+ [0.6.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.5.0...v0.6.0
194
+ [0.5.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.4.1...v0.5.0
195
+ [0.4.1]: https://github.com/solidusio/solidus_dev_support/compare/v0.4.0...v0.4.1
196
+ [0.4.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.3.0...v0.4.0
197
+ [0.3.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.2.0...v0.3.0
198
+ [0.2.0]: https://github.com/solidusio/solidus_dev_support/compare/v0.1.1...v0.2.0
199
+ [0.1.1]: https://github.com/solidusio/solidus_dev_support/compare/v0.1.0...v0.1.1
200
+ [0.1.0]: https://github.com/solidusio/solidus_dev_support/releases/tag/v0.1.0
@@ -47,7 +47,7 @@ Simply add this require statement to your spec_helper:
47
47
  require '<%= file_name %>/factories'
48
48
  ```
49
49
 
50
- ## Running the sandbox
50
+ ### Running the sandbox
51
51
 
52
52
  To run this extension in a sandboxed Solidus application, you can run `bin/sandbox`. The path for
53
53
  the sandbox app is `./sandbox` and `bin/rails` will forward any Rails commands to
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusDevSupport
4
- VERSION = "1.4.0"
4
+ VERSION = "1.5.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_dev_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Desantis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-05 00:00:00.000000000 Z
11
+ date: 2020-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apparition
@@ -293,6 +293,7 @@ files:
293
293
  - ".circleci/config.yml"
294
294
  - ".gem_release.yml"
295
295
  - ".github/PULL_REQUEST_TEMPLATE.md"
296
+ - ".github_changelog_generator"
296
297
  - ".gitignore"
297
298
  - ".mergify.yml"
298
299
  - ".rspec"
@@ -301,6 +302,7 @@ files:
301
302
  - CHANGELOG.md
302
303
  - Gemfile
303
304
  - LICENSE.txt
305
+ - OLD_CHANGELOG.md
304
306
  - README.md
305
307
  - Rakefile
306
308
  - bin/console
@@ -330,13 +332,11 @@ files:
330
332
  - lib/solidus_dev_support/templates/extension/app/assets/stylesheets/spree/backend/%file_name%.css
331
333
  - lib/solidus_dev_support/templates/extension/app/assets/stylesheets/spree/frontend/%file_name%.css
332
334
  - lib/solidus_dev_support/templates/extension/bin/console.tt
333
- - lib/solidus_dev_support/templates/extension/bin/r
334
335
  - lib/solidus_dev_support/templates/extension/bin/rails
335
336
  - lib/solidus_dev_support/templates/extension/bin/rails-engine.tt
336
337
  - lib/solidus_dev_support/templates/extension/bin/rails-sandbox
337
338
  - lib/solidus_dev_support/templates/extension/bin/rake
338
339
  - lib/solidus_dev_support/templates/extension/bin/sandbox.tt
339
- - lib/solidus_dev_support/templates/extension/bin/sandbox_rails
340
340
  - lib/solidus_dev_support/templates/extension/bin/setup
341
341
  - lib/solidus_dev_support/templates/extension/config/locales/en.yml
342
342
  - lib/solidus_dev_support/templates/extension/config/routes.rb
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- warn %{
4
- DEPRECATION: bin/r has been replaced by bin/rails-engine, please use that
5
- command instead.
6
- }.strip
7
-
8
- exec "#{__dir__}/rails-engine"
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- warn %{
4
- DEPRECATION: bin/sandbox_rails has been replaced by bin/rails-sandbox, please
5
- use that command instead.
6
- }.strip
7
-
8
- exec "#{__dir__}/rails-engine"