solidus_support 0.9.3 → 0.10.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
  SHA256:
3
- metadata.gz: 0127ccc51fca1246c2defe58f9f0d3701919de99d96729754562a85b501a275e
4
- data.tar.gz: 32b83a9c9d03ac60286041ec58bc7d4ee3893aa8c19befc4b7fd7aa99f925cb7
3
+ metadata.gz: b5b49a7bd37ef30d39bd7c4912e32a9e15af56b21910c196163fe9ede1f62ffd
4
+ data.tar.gz: 74c5eb50c814a2ad709b0f80cdc7e6a2fe4a03c0cf902217b61de017d15a7dfc
5
5
  SHA512:
6
- metadata.gz: e943fcd01e82a31fe33f3012fd1ed3b1856d7d297383a22e52d6ad784d67eead342f7f31395f4dc9174dd5aa2b84b1b8501817093b2bfdfadf0b1f3850a0e2ae
7
- data.tar.gz: 9ad70cf80c632737bd918020c244d550dc79cf05fa8e8758a5d03363a2fb1ea00d84ca663c35beec346ae13b1b5c8eb79c16adff00e0089def54f240670a8c66
6
+ metadata.gz: 1b8607fae6786a81b7f004c6348edce3e30a0eb58720061d31bb3f7770c8eb3b2943770189ab0e5685953cf8c8d78c42e043e15ff356d0e6b4ab2ddf838ce967
7
+ data.tar.gz: '05971f303743131406068faf1654234647994019245385ada4ca4917bb0fb6f14cb42ebb2c102ca13a4a50ed8edfed9db78603942cdd554bba6db2aef4cc78fa'
data/CHANGELOG.md CHANGED
@@ -1,197 +1,3 @@
1
1
  # Changelog
2
2
 
3
- ## [v0.9.1](https://github.com/solidusio/solidus_support/tree/v0.9.1) (2022-06-01)
4
-
5
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.9.0...v0.9.1)
6
-
7
- **Merged pull requests:**
8
-
9
- - Add extension paths before `initialize_cache` [\#71](https://github.com/solidusio/solidus_support/pull/71) ([gsmendoza](https://github.com/gsmendoza))
10
-
11
- ## [v0.9.0](https://github.com/solidusio/solidus_support/tree/v0.9.0) (2022-05-25)
12
-
13
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.8.1...v0.9.0)
14
-
15
- **Closed issues:**
16
-
17
- - Release 0.5.2 version [\#64](https://github.com/solidusio/solidus_support/issues/64)
18
-
19
- **Merged pull requests:**
20
-
21
- - Compatibility layer for the legacy/new event system [\#70](https://github.com/solidusio/solidus_support/pull/70) ([waiting-for-dev](https://github.com/waiting-for-dev))
22
- - Fix dependency on the engines load order when adding paths [\#65](https://github.com/solidusio/solidus_support/pull/65) ([waiting-for-dev](https://github.com/waiting-for-dev))
23
- - Remove support for Solidus \<= 2.3 [\#62](https://github.com/solidusio/solidus_support/pull/62) ([elia](https://github.com/elia))
24
- - Update the changelog with the latest releases [\#61](https://github.com/solidusio/solidus_support/pull/61) ([elia](https://github.com/elia))
25
-
26
- ## [v0.8.1](https://github.com/solidusio/solidus_support/tree/v0.8.1) (2021-01-27)
27
-
28
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.8.0...v0.8.1)
29
-
30
- **Merged pull requests:**
31
-
32
- - Fix combined\_first\_and\_last\_name\_in\_address version [\#59](https://github.com/solidusio/solidus_support/pull/59) ([kennyadsl](https://github.com/kennyadsl))
33
-
34
- ## [v0.8.0](https://github.com/solidusio/solidus_support/tree/v0.8.0) (2021-01-19)
35
-
36
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.7.0...v0.8.0)
37
-
38
- **Implemented enhancements:**
39
-
40
- - Add a method to check if combined address name is being used [\#58](https://github.com/solidusio/solidus_support/pull/58) ([kennyadsl](https://github.com/kennyadsl))
41
-
42
- **Fixed bugs:**
43
-
44
- - Fix project' specs [\#57](https://github.com/solidusio/solidus_support/pull/57) ([kennyadsl](https://github.com/kennyadsl))
45
-
46
- ## [v0.7.0](https://github.com/solidusio/solidus_support/tree/v0.7.0) (2020-10-28)
47
-
48
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.6.0...v0.7.0)
49
-
50
- **Closed issues:**
51
-
52
- - Could we get a new release? [\#49](https://github.com/solidusio/solidus_support/issues/49)
53
-
54
- **Merged pull requests:**
55
-
56
- - Use `Spree::Event. activate_all_subscribers` when available [\#53](https://github.com/solidusio/solidus_support/pull/53) ([spaghetticode](https://github.com/spaghetticode))
57
- - Support Rails 5.1.x [\#51](https://github.com/solidusio/solidus_support/pull/51) ([brchristian](https://github.com/brchristian))
58
- - Remove redundant `solidus_core` dev dependency [\#50](https://github.com/solidusio/solidus_support/pull/50) ([brchristian](https://github.com/brchristian))
59
-
60
- ## [v0.6.0](https://github.com/solidusio/solidus_support/tree/v0.6.0) (2020-07-24)
61
-
62
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.5.1...v0.6.0)
63
-
64
- **Implemented enhancements:**
65
-
66
- - Autoload Solidus Event subscribers from extensions [\#45](https://github.com/solidusio/solidus_support/pull/45) ([spaghetticode](https://github.com/spaghetticode))
67
-
68
- **Fixed bugs:**
69
-
70
- - Load event subscribers only when Spree::Event is available [\#47](https://github.com/solidusio/solidus_support/pull/47) ([spaghetticode](https://github.com/spaghetticode))
71
-
72
- **Closed issues:**
73
-
74
- - Namespace Conflicts [\#48](https://github.com/solidusio/solidus_support/issues/48)
75
-
76
- **Merged pull requests:**
77
-
78
- - Stop using SolidusSupport.solidus\_gem\_version [\#46](https://github.com/solidusio/solidus_support/pull/46) ([elia](https://github.com/elia))
79
- - Add frontend/backend/api decorators to autoload path [\#44](https://github.com/solidusio/solidus_support/pull/44) ([kennyadsl](https://github.com/kennyadsl))
80
-
81
- ## [v0.5.1](https://github.com/solidusio/solidus_support/tree/v0.5.1) (2020-04-15)
82
-
83
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.5.0...v0.5.1)
84
-
85
- **Merged pull requests:**
86
-
87
- - Push decorators to autoload path using config.autoload\_paths [\#43](https://github.com/solidusio/solidus_support/pull/43) ([kennyadsl](https://github.com/kennyadsl))
88
-
89
- ## [v0.5.0](https://github.com/solidusio/solidus_support/tree/v0.5.0) (2020-02-18)
90
-
91
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.4.1...v0.5.0)
92
-
93
- **Merged pull requests:**
94
-
95
- - Load Solidus engine extension files automatically [\#42](https://github.com/solidusio/solidus_support/pull/42) ([aldesantis](https://github.com/aldesantis))
96
- - Update solidus\_dev\_support [\#41](https://github.com/solidusio/solidus_support/pull/41) ([aldesantis](https://github.com/aldesantis))
97
- - Replace manual cache checks w/ require\_dependency [\#39](https://github.com/solidusio/solidus_support/pull/39) ([elia](https://github.com/elia))
98
- - Fixes isse when zeitwerk is not enabled [\#38](https://github.com/solidusio/solidus_support/pull/38) ([softr8](https://github.com/softr8))
99
- - Deprecate SolidusSupport.solidus\_gem\_version [\#37](https://github.com/solidusio/solidus_support/pull/37) ([kennyadsl](https://github.com/kennyadsl))
100
- - Spring cleaning [\#33](https://github.com/solidusio/solidus_support/pull/33) ([aldesantis](https://github.com/aldesantis))
101
-
102
- ## [v0.4.1](https://github.com/solidusio/solidus_support/tree/v0.4.1) (2020-01-16)
103
-
104
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.4.0...v0.4.1)
105
-
106
- **Closed issues:**
107
-
108
- - Should use require\_dependency instead of require/load [\#34](https://github.com/solidusio/solidus_support/issues/34)
109
- - Add a LICENSE [\#20](https://github.com/solidusio/solidus_support/issues/20)
110
-
111
- ## [v0.4.0](https://github.com/solidusio/solidus_support/tree/v0.4.0) (2019-12-16)
112
-
113
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.3.2...v0.4.0)
114
-
115
- **Closed issues:**
116
-
117
- - Configure CircleCI [\#30](https://github.com/solidusio/solidus_support/issues/30)
118
- - Models::SolidusGlobalize::Spree::TaxonomyDecorator \(NameError\) [\#26](https://github.com/solidusio/solidus_support/issues/26)
119
-
120
- **Merged pull requests:**
121
-
122
- - Fix issues with test runs [\#32](https://github.com/solidusio/solidus_support/pull/32) ([aldesantis](https://github.com/aldesantis))
123
- - Add CircleCI configuration [\#31](https://github.com/solidusio/solidus_support/pull/31) ([aldesantis](https://github.com/aldesantis))
124
- - Introduce solidus\_extension\_dev\_tools [\#29](https://github.com/solidusio/solidus_support/pull/29) ([aldesantis](https://github.com/aldesantis))
125
- - Remove support for testing and extensions [\#28](https://github.com/solidusio/solidus_support/pull/28) ([MinasMazar](https://github.com/MinasMazar))
126
- - Add SolidusSupport::EngineExtension::Decorators to load decorators [\#27](https://github.com/solidusio/solidus_support/pull/27) ([kennyadsl](https://github.com/kennyadsl))
127
- - Add support for Codecov [\#24](https://github.com/solidusio/solidus_support/pull/24) ([aldesantis](https://github.com/aldesantis))
128
-
129
- ## [v0.3.2](https://github.com/solidusio/solidus_support/tree/v0.3.2) (2019-08-08)
130
-
131
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.2.1...v0.3.2)
132
-
133
- **Merged pull requests:**
134
-
135
- - Add `capybara-screenshot` dependency [\#23](https://github.com/solidusio/solidus_support/pull/23) ([spaghetticode](https://github.com/spaghetticode))
136
- - Do not reset spree preferences starting from v2.9 [\#22](https://github.com/solidusio/solidus_support/pull/22) ([kennyadsl](https://github.com/kennyadsl))
137
- - Update Travis config [\#19](https://github.com/solidusio/solidus_support/pull/19) ([aitbw](https://github.com/aitbw))
138
- - Override Capybara JS driver via `CAPYBARA_DRIVER` ENV variable [\#18](https://github.com/solidusio/solidus_support/pull/18) ([spaghetticode](https://github.com/spaghetticode))
139
- - Migrate from Poltergeist to Headless Chrome [\#16](https://github.com/solidusio/solidus_support/pull/16) ([aitbw](https://github.com/aitbw))
140
- - Remove running rubocop on rake task [\#14](https://github.com/solidusio/solidus_support/pull/14) ([kennyadsl](https://github.com/kennyadsl))
141
- - Cleanup extension [\#13](https://github.com/solidusio/solidus_support/pull/13) ([kennyadsl](https://github.com/kennyadsl))
142
- - Fix how we compare gem versions to determine new gateway code usage [\#12](https://github.com/solidusio/solidus_support/pull/12) ([kennyadsl](https://github.com/kennyadsl))
143
- - Add payment method parent class [\#8](https://github.com/solidusio/solidus_support/pull/8) ([tvdeyen](https://github.com/tvdeyen))
144
- - Improve gem documentation [\#7](https://github.com/solidusio/solidus_support/pull/7) ([kennyadsl](https://github.com/kennyadsl))
145
-
146
- ## [v0.2.1](https://github.com/solidusio/solidus_support/tree/v0.2.1) (2018-02-22)
147
-
148
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.2.0...v0.2.1)
149
-
150
- **Merged pull requests:**
151
-
152
- - Ensure database cleaning is very last in each spec [\#9](https://github.com/solidusio/solidus_support/pull/9) ([jhawthorn](https://github.com/jhawthorn))
153
-
154
- ## [v0.2.0](https://github.com/solidusio/solidus_support/tree/v0.2.0) (2017-10-25)
155
-
156
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.5...v0.2.0)
157
-
158
- **Merged pull requests:**
159
-
160
- - Rename FactoryBot [\#6](https://github.com/solidusio/solidus_support/pull/6) ([tvdeyen](https://github.com/tvdeyen))
161
- - Remove unused files [\#5](https://github.com/solidusio/solidus_support/pull/5) ([tvdeyen](https://github.com/tvdeyen))
162
-
163
- ## [v0.1.5](https://github.com/solidusio/solidus_support/tree/v0.1.5) (2017-07-27)
164
-
165
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.4...v0.1.5)
166
-
167
- ## [v0.1.4](https://github.com/solidusio/solidus_support/tree/v0.1.4) (2017-07-26)
168
-
169
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.3...v0.1.4)
170
-
171
- ## [v0.1.3](https://github.com/solidusio/solidus_support/tree/v0.1.3) (2017-07-26)
172
-
173
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.2...v0.1.3)
174
-
175
- **Merged pull requests:**
176
-
177
- - Add a basic spec\_helper for extensions to include [\#2](https://github.com/solidusio/solidus_support/pull/2) ([jhawthorn](https://github.com/jhawthorn))
178
-
179
- ## [v0.1.2](https://github.com/solidusio/solidus_support/tree/v0.1.2) (2017-07-24)
180
-
181
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.1...v0.1.2)
182
-
183
- **Merged pull requests:**
184
-
185
- - Add SolidusSupport.payment\_source\_parent\_class [\#1](https://github.com/solidusio/solidus_support/pull/1) ([jordan-brough](https://github.com/jordan-brough))
186
-
187
- ## [v0.1.1](https://github.com/solidusio/solidus_support/tree/v0.1.1) (2017-05-03)
188
-
189
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.0...v0.1.1)
190
-
191
- ## [v0.1.0](https://github.com/solidusio/solidus_support/tree/v0.1.0) (2017-03-21)
192
-
193
- [Full Changelog](https://github.com/solidusio/solidus_support/compare/b34d603b2b603e8799ce801913b577322bd39bdc...v0.1.0)
194
-
195
-
196
-
197
- \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
3
+ See https://github.com/solidusio/solidus_support/releases or [OLD_CHANGELOG.md](OLD_CHANGELOG.md) for older versions.
data/OLD_CHANGELOG.md ADDED
@@ -0,0 +1,197 @@
1
+ # Changelog
2
+
3
+ ## [v0.9.1](https://github.com/solidusio/solidus_support/tree/v0.9.1) (2022-06-01)
4
+
5
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.9.0...v0.9.1)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Add extension paths before `initialize_cache` [\#71](https://github.com/solidusio/solidus_support/pull/71) ([gsmendoza](https://github.com/gsmendoza))
10
+
11
+ ## [v0.9.0](https://github.com/solidusio/solidus_support/tree/v0.9.0) (2022-05-25)
12
+
13
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.8.1...v0.9.0)
14
+
15
+ **Closed issues:**
16
+
17
+ - Release 0.5.2 version [\#64](https://github.com/solidusio/solidus_support/issues/64)
18
+
19
+ **Merged pull requests:**
20
+
21
+ - Compatibility layer for the legacy/new event system [\#70](https://github.com/solidusio/solidus_support/pull/70) ([waiting-for-dev](https://github.com/waiting-for-dev))
22
+ - Fix dependency on the engines load order when adding paths [\#65](https://github.com/solidusio/solidus_support/pull/65) ([waiting-for-dev](https://github.com/waiting-for-dev))
23
+ - Remove support for Solidus \<= 2.3 [\#62](https://github.com/solidusio/solidus_support/pull/62) ([elia](https://github.com/elia))
24
+ - Update the changelog with the latest releases [\#61](https://github.com/solidusio/solidus_support/pull/61) ([elia](https://github.com/elia))
25
+
26
+ ## [v0.8.1](https://github.com/solidusio/solidus_support/tree/v0.8.1) (2021-01-27)
27
+
28
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.8.0...v0.8.1)
29
+
30
+ **Merged pull requests:**
31
+
32
+ - Fix combined\_first\_and\_last\_name\_in\_address version [\#59](https://github.com/solidusio/solidus_support/pull/59) ([kennyadsl](https://github.com/kennyadsl))
33
+
34
+ ## [v0.8.0](https://github.com/solidusio/solidus_support/tree/v0.8.0) (2021-01-19)
35
+
36
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.7.0...v0.8.0)
37
+
38
+ **Implemented enhancements:**
39
+
40
+ - Add a method to check if combined address name is being used [\#58](https://github.com/solidusio/solidus_support/pull/58) ([kennyadsl](https://github.com/kennyadsl))
41
+
42
+ **Fixed bugs:**
43
+
44
+ - Fix project' specs [\#57](https://github.com/solidusio/solidus_support/pull/57) ([kennyadsl](https://github.com/kennyadsl))
45
+
46
+ ## [v0.7.0](https://github.com/solidusio/solidus_support/tree/v0.7.0) (2020-10-28)
47
+
48
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.6.0...v0.7.0)
49
+
50
+ **Closed issues:**
51
+
52
+ - Could we get a new release? [\#49](https://github.com/solidusio/solidus_support/issues/49)
53
+
54
+ **Merged pull requests:**
55
+
56
+ - Use `Spree::Event. activate_all_subscribers` when available [\#53](https://github.com/solidusio/solidus_support/pull/53) ([spaghetticode](https://github.com/spaghetticode))
57
+ - Support Rails 5.1.x [\#51](https://github.com/solidusio/solidus_support/pull/51) ([brchristian](https://github.com/brchristian))
58
+ - Remove redundant `solidus_core` dev dependency [\#50](https://github.com/solidusio/solidus_support/pull/50) ([brchristian](https://github.com/brchristian))
59
+
60
+ ## [v0.6.0](https://github.com/solidusio/solidus_support/tree/v0.6.0) (2020-07-24)
61
+
62
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.5.1...v0.6.0)
63
+
64
+ **Implemented enhancements:**
65
+
66
+ - Autoload Solidus Event subscribers from extensions [\#45](https://github.com/solidusio/solidus_support/pull/45) ([spaghetticode](https://github.com/spaghetticode))
67
+
68
+ **Fixed bugs:**
69
+
70
+ - Load event subscribers only when Spree::Event is available [\#47](https://github.com/solidusio/solidus_support/pull/47) ([spaghetticode](https://github.com/spaghetticode))
71
+
72
+ **Closed issues:**
73
+
74
+ - Namespace Conflicts [\#48](https://github.com/solidusio/solidus_support/issues/48)
75
+
76
+ **Merged pull requests:**
77
+
78
+ - Stop using SolidusSupport.solidus\_gem\_version [\#46](https://github.com/solidusio/solidus_support/pull/46) ([elia](https://github.com/elia))
79
+ - Add frontend/backend/api decorators to autoload path [\#44](https://github.com/solidusio/solidus_support/pull/44) ([kennyadsl](https://github.com/kennyadsl))
80
+
81
+ ## [v0.5.1](https://github.com/solidusio/solidus_support/tree/v0.5.1) (2020-04-15)
82
+
83
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.5.0...v0.5.1)
84
+
85
+ **Merged pull requests:**
86
+
87
+ - Push decorators to autoload path using config.autoload\_paths [\#43](https://github.com/solidusio/solidus_support/pull/43) ([kennyadsl](https://github.com/kennyadsl))
88
+
89
+ ## [v0.5.0](https://github.com/solidusio/solidus_support/tree/v0.5.0) (2020-02-18)
90
+
91
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.4.1...v0.5.0)
92
+
93
+ **Merged pull requests:**
94
+
95
+ - Load Solidus engine extension files automatically [\#42](https://github.com/solidusio/solidus_support/pull/42) ([aldesantis](https://github.com/aldesantis))
96
+ - Update solidus\_dev\_support [\#41](https://github.com/solidusio/solidus_support/pull/41) ([aldesantis](https://github.com/aldesantis))
97
+ - Replace manual cache checks w/ require\_dependency [\#39](https://github.com/solidusio/solidus_support/pull/39) ([elia](https://github.com/elia))
98
+ - Fixes isse when zeitwerk is not enabled [\#38](https://github.com/solidusio/solidus_support/pull/38) ([softr8](https://github.com/softr8))
99
+ - Deprecate SolidusSupport.solidus\_gem\_version [\#37](https://github.com/solidusio/solidus_support/pull/37) ([kennyadsl](https://github.com/kennyadsl))
100
+ - Spring cleaning [\#33](https://github.com/solidusio/solidus_support/pull/33) ([aldesantis](https://github.com/aldesantis))
101
+
102
+ ## [v0.4.1](https://github.com/solidusio/solidus_support/tree/v0.4.1) (2020-01-16)
103
+
104
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.4.0...v0.4.1)
105
+
106
+ **Closed issues:**
107
+
108
+ - Should use require\_dependency instead of require/load [\#34](https://github.com/solidusio/solidus_support/issues/34)
109
+ - Add a LICENSE [\#20](https://github.com/solidusio/solidus_support/issues/20)
110
+
111
+ ## [v0.4.0](https://github.com/solidusio/solidus_support/tree/v0.4.0) (2019-12-16)
112
+
113
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.3.2...v0.4.0)
114
+
115
+ **Closed issues:**
116
+
117
+ - Configure CircleCI [\#30](https://github.com/solidusio/solidus_support/issues/30)
118
+ - Models::SolidusGlobalize::Spree::TaxonomyDecorator \(NameError\) [\#26](https://github.com/solidusio/solidus_support/issues/26)
119
+
120
+ **Merged pull requests:**
121
+
122
+ - Fix issues with test runs [\#32](https://github.com/solidusio/solidus_support/pull/32) ([aldesantis](https://github.com/aldesantis))
123
+ - Add CircleCI configuration [\#31](https://github.com/solidusio/solidus_support/pull/31) ([aldesantis](https://github.com/aldesantis))
124
+ - Introduce solidus\_extension\_dev\_tools [\#29](https://github.com/solidusio/solidus_support/pull/29) ([aldesantis](https://github.com/aldesantis))
125
+ - Remove support for testing and extensions [\#28](https://github.com/solidusio/solidus_support/pull/28) ([MinasMazar](https://github.com/MinasMazar))
126
+ - Add SolidusSupport::EngineExtension::Decorators to load decorators [\#27](https://github.com/solidusio/solidus_support/pull/27) ([kennyadsl](https://github.com/kennyadsl))
127
+ - Add support for Codecov [\#24](https://github.com/solidusio/solidus_support/pull/24) ([aldesantis](https://github.com/aldesantis))
128
+
129
+ ## [v0.3.2](https://github.com/solidusio/solidus_support/tree/v0.3.2) (2019-08-08)
130
+
131
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.2.1...v0.3.2)
132
+
133
+ **Merged pull requests:**
134
+
135
+ - Add `capybara-screenshot` dependency [\#23](https://github.com/solidusio/solidus_support/pull/23) ([spaghetticode](https://github.com/spaghetticode))
136
+ - Do not reset spree preferences starting from v2.9 [\#22](https://github.com/solidusio/solidus_support/pull/22) ([kennyadsl](https://github.com/kennyadsl))
137
+ - Update Travis config [\#19](https://github.com/solidusio/solidus_support/pull/19) ([aitbw](https://github.com/aitbw))
138
+ - Override Capybara JS driver via `CAPYBARA_DRIVER` ENV variable [\#18](https://github.com/solidusio/solidus_support/pull/18) ([spaghetticode](https://github.com/spaghetticode))
139
+ - Migrate from Poltergeist to Headless Chrome [\#16](https://github.com/solidusio/solidus_support/pull/16) ([aitbw](https://github.com/aitbw))
140
+ - Remove running rubocop on rake task [\#14](https://github.com/solidusio/solidus_support/pull/14) ([kennyadsl](https://github.com/kennyadsl))
141
+ - Cleanup extension [\#13](https://github.com/solidusio/solidus_support/pull/13) ([kennyadsl](https://github.com/kennyadsl))
142
+ - Fix how we compare gem versions to determine new gateway code usage [\#12](https://github.com/solidusio/solidus_support/pull/12) ([kennyadsl](https://github.com/kennyadsl))
143
+ - Add payment method parent class [\#8](https://github.com/solidusio/solidus_support/pull/8) ([tvdeyen](https://github.com/tvdeyen))
144
+ - Improve gem documentation [\#7](https://github.com/solidusio/solidus_support/pull/7) ([kennyadsl](https://github.com/kennyadsl))
145
+
146
+ ## [v0.2.1](https://github.com/solidusio/solidus_support/tree/v0.2.1) (2018-02-22)
147
+
148
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.2.0...v0.2.1)
149
+
150
+ **Merged pull requests:**
151
+
152
+ - Ensure database cleaning is very last in each spec [\#9](https://github.com/solidusio/solidus_support/pull/9) ([jhawthorn](https://github.com/jhawthorn))
153
+
154
+ ## [v0.2.0](https://github.com/solidusio/solidus_support/tree/v0.2.0) (2017-10-25)
155
+
156
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.5...v0.2.0)
157
+
158
+ **Merged pull requests:**
159
+
160
+ - Rename FactoryBot [\#6](https://github.com/solidusio/solidus_support/pull/6) ([tvdeyen](https://github.com/tvdeyen))
161
+ - Remove unused files [\#5](https://github.com/solidusio/solidus_support/pull/5) ([tvdeyen](https://github.com/tvdeyen))
162
+
163
+ ## [v0.1.5](https://github.com/solidusio/solidus_support/tree/v0.1.5) (2017-07-27)
164
+
165
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.4...v0.1.5)
166
+
167
+ ## [v0.1.4](https://github.com/solidusio/solidus_support/tree/v0.1.4) (2017-07-26)
168
+
169
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.3...v0.1.4)
170
+
171
+ ## [v0.1.3](https://github.com/solidusio/solidus_support/tree/v0.1.3) (2017-07-26)
172
+
173
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.2...v0.1.3)
174
+
175
+ **Merged pull requests:**
176
+
177
+ - Add a basic spec\_helper for extensions to include [\#2](https://github.com/solidusio/solidus_support/pull/2) ([jhawthorn](https://github.com/jhawthorn))
178
+
179
+ ## [v0.1.2](https://github.com/solidusio/solidus_support/tree/v0.1.2) (2017-07-24)
180
+
181
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.1...v0.1.2)
182
+
183
+ **Merged pull requests:**
184
+
185
+ - Add SolidusSupport.payment\_source\_parent\_class [\#1](https://github.com/solidusio/solidus_support/pull/1) ([jordan-brough](https://github.com/jordan-brough))
186
+
187
+ ## [v0.1.1](https://github.com/solidusio/solidus_support/tree/v0.1.1) (2017-05-03)
188
+
189
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/v0.1.0...v0.1.1)
190
+
191
+ ## [v0.1.0](https://github.com/solidusio/solidus_support/tree/v0.1.0) (2017-03-21)
192
+
193
+ [Full Changelog](https://github.com/solidusio/solidus_support/compare/b34d603b2b603e8799ce801913b577322bd39bdc...v0.1.0)
194
+
195
+
196
+
197
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/Rakefile CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'bundler'
4
+ require 'bundler/gem_tasks'
4
5
 
5
6
  begin
6
7
  require 'rubocop/rake_task'
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module SolidusSupport
4
+ class << self
5
+ def deprecator
6
+ @deprecator ||= ActiveSupport::Deprecation.new(Gem::Version.new('1.0'), 'SolidusSupport')
7
+ end
8
+
9
+ def solidus_deprecator
10
+ Spree.solidus_gem_version >= Gem::Version.new('4.2') ? Spree.deprecator : Spree::Deprecation
11
+ end
12
+ end
13
+ end
@@ -3,7 +3,7 @@
3
3
  module SolidusSupport
4
4
  module EngineExtensions
5
5
  include ActiveSupport::Deprecation::DeprecatedConstantAccessor
6
- deprecate_constant 'Decorators', 'SolidusSupport::EngineExtensions'
6
+ deprecate_constant 'Decorators', 'SolidusSupport::EngineExtensions', deprecator: SolidusSupport.deprecator
7
7
 
8
8
  def self.included(engine)
9
9
  engine.extend ClassMethods
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusSupport
4
- VERSION = '0.9.3'
4
+ VERSION = '0.10.1'
5
5
  end
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'solidus_support/version'
4
+ require 'solidus_support/deprecator'
4
5
  require 'solidus_support/migration'
5
6
  require 'solidus_support/legacy_event_compat'
6
7
  require 'solidus_support/engine_extensions'
@@ -9,7 +10,7 @@ require 'solidus_core'
9
10
  module SolidusSupport
10
11
  class << self
11
12
  def solidus_gem_version
12
- ActiveSupport::Deprecation.warn <<-WARN.squish, caller
13
+ deprecator.warn <<-WARN.squish, caller
13
14
  SolidusSupport.solidus_gem_version is deprecated and will be removed
14
15
  in solidus_support 1.0. Please use Spree.solidus_gem_version instead.
15
16
  WARN
@@ -33,7 +34,7 @@ module SolidusSupport
33
34
  end
34
35
 
35
36
  def new_gateway_code?
36
- ActiveSupport::Deprecation.warn <<-WARN.squish, caller
37
+ deprecator.warn <<-WARN.squish, caller
37
38
  SolidusSupport.new_gateway_code? is deprecated without replacement and will be removed
38
39
  in solidus_support 1.0.
39
40
  WARN
@@ -42,7 +43,7 @@ module SolidusSupport
42
43
  end
43
44
 
44
45
  def payment_source_parent_class
45
- ActiveSupport::Deprecation.warn <<-WARN.squish, caller
46
+ deprecator.warn <<-WARN.squish, caller
46
47
  SolidusSupport.payment_source_parent_class is deprecated and will be removed
47
48
  in solidus_support 1.0. Please use Spree::PaymentSource instead.
48
49
  WARN
@@ -52,14 +53,14 @@ module SolidusSupport
52
53
 
53
54
  def payment_method_parent_class(credit_card: false)
54
55
  if credit_card
55
- ActiveSupport::Deprecation.warn <<-WARN.squish, caller
56
+ deprecator.warn <<-WARN.squish, caller
56
57
  SolidusSupport.payment_method_parent_class(credit_card: true) is deprecated and will be removed
57
58
  in solidus_support 1.0. Please use Spree::PaymentMethod::CreditCard instead.
58
59
  WARN
59
60
 
60
61
  Spree::PaymentMethod::CreditCard
61
62
  else
62
- ActiveSupport::Deprecation.warn <<-WARN.squish, caller
63
+ deprecator.warn <<-WARN.squish, caller
63
64
  SolidusSupport.payment_method_parent_class(credit_card: false) is deprecated and will be removed
64
65
  in solidus_support 1.0. Please use Spree::PaymentMethod instead.
65
66
  WARN
@@ -1,32 +1,39 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- $:.push File.expand_path('lib', __dir__)
4
- require 'solidus_support/version'
5
-
6
- Gem::Specification.new do |s|
7
- s.name = 'solidus_support'
8
- s.version = SolidusSupport::VERSION
9
- s.summary = 'Common runtime helpers for Solidus extensions.'
10
- s.license = 'BSD-3-Clause'
11
-
12
- s.author = 'John Hawthorn'
13
- s.email = 'john@stembolt.com'
14
- s.homepage = 'https://github.com/solidusio/solidus_support'
15
-
16
- s.files = Dir.chdir(File.expand_path(__dir__)) do
17
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- end
19
- s.test_files = Dir['spec/**/*']
20
- s.bindir = "exe"
21
- s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
- s.require_paths = ["lib"]
23
-
24
- s.add_development_dependency 'rails'
25
- s.add_development_dependency 'bundler'
26
- s.add_development_dependency 'rake'
27
- s.add_development_dependency 'rspec-rails'
28
- s.add_development_dependency 'rubocop'
29
- s.add_development_dependency 'rubocop-rspec'
30
- s.add_development_dependency 'solidus_dev_support'
31
- s.add_development_dependency 'omnes', '~> 0.2.2'
3
+ require_relative 'lib/solidus_support/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'solidus_support'
7
+ spec.version = SolidusSupport::VERSION
8
+ spec.author = ['John Hawthorn', 'Solidus Team']
9
+ spec.email = 'contact@solidus.io'
10
+
11
+ spec.summary = 'Common runtime helpers for Solidus extensions.'
12
+ spec.homepage = 'https://github.com/solidusio/solidus_support'
13
+ spec.license = 'BSD-3'
14
+
15
+ spec.metadata['homepage_uri'] = spec.homepage
16
+ spec.metadata['source_code_uri'] = 'https://github.com/solidusio/solidus_support'
17
+ spec.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_support/releases'
18
+
19
+ spec.required_ruby_version = Gem::Requirement.new('>= 3.0')
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ files = Dir.chdir(__dir__) { `git ls-files -z`.split("\x0") }
24
+
25
+ spec.files = files.grep_v(%r{^(test|spec|features)/})
26
+ spec.test_files = files.grep(%r{^(test|spec|features)/})
27
+ spec.bindir = "exe"
28
+ spec.executables = files.grep(%r{^exe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ["lib"]
30
+
31
+ spec.add_development_dependency 'rails'
32
+ spec.add_development_dependency 'bundler'
33
+ spec.add_development_dependency 'rake'
34
+ spec.add_development_dependency 'rspec-rails'
35
+ spec.add_development_dependency 'rubocop'
36
+ spec.add_development_dependency 'rubocop-rspec'
37
+ spec.add_development_dependency 'solidus_dev_support'
38
+ spec.add_development_dependency 'omnes', '~> 0.2.2'
32
39
  end
@@ -2,7 +2,13 @@
2
2
 
3
3
  RSpec.describe SolidusSupport do
4
4
  describe '.payment_method_parent_class' do
5
- subject { described_class.payment_method_parent_class(credit_card: credit_card) }
5
+ subject do
6
+ allow(described_class.deprecator).to receive(:warn).with(
7
+ a_string_matching(/payment_method_parent_class\b.* is deprecated/),
8
+ any_args,
9
+ )
10
+ described_class.payment_method_parent_class(credit_card: credit_card)
11
+ end
6
12
 
7
13
  let(:credit_card) { nil }
8
14
 
@@ -58,4 +64,18 @@ RSpec.describe SolidusSupport do
58
64
  it { is_expected.to be_truthy }
59
65
  end
60
66
  end
67
+
68
+ describe '.deprecator' do
69
+ it "is an instance of ActiveSupport::Deprecation specific to SolidusSupport" do
70
+ expect(described_class.deprecator).to be_a(ActiveSupport::Deprecation)
71
+ expect(described_class.deprecator.gem_name).to eq("SolidusSupport")
72
+ end
73
+ end
74
+
75
+ describe '.solidus_deprecator' do
76
+ it "references the Solidus deprecator without triggering deprecations" do
77
+ expect(described_class.solidus_deprecator).to be_a(ActiveSupport::Deprecation)
78
+ expect(described_class.solidus_deprecator.gem_name).to eq("Solidus")
79
+ end
80
+ end
61
81
  end
@@ -14,7 +14,12 @@ module DummyApp
14
14
  class Application < ::Rails::Application
15
15
  config.eager_load = false
16
16
  config.paths['config/database'] = File.expand_path('dummy_app/database.yml', __dir__)
17
+ if ActiveRecord::VERSION::MAJOR >= 7 && ActiveRecord::VERSION::MINOR < 1
18
+ config.active_record.legacy_connection_handling = false
19
+ end
17
20
  end
18
21
  end
19
22
 
23
+ Spree::Config.load_defaults Spree::VERSION
24
+
20
25
  DummyApp::Application.initialize!
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Hawthorn
8
+ - Solidus Team
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2023-06-15 00:00:00.000000000 Z
12
+ date: 2023-12-27 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rails
@@ -123,7 +124,7 @@ dependencies:
123
124
  - !ruby/object:Gem::Version
124
125
  version: 0.2.2
125
126
  description:
126
- email: john@stembolt.com
127
+ email: contact@solidus.io
127
128
  executables: []
128
129
  extensions: []
129
130
  extra_rdoc_files: []
@@ -137,11 +138,13 @@ files:
137
138
  - CHANGELOG.md
138
139
  - Gemfile
139
140
  - LICENSE
141
+ - OLD_CHANGELOG.md
140
142
  - README.md
141
143
  - Rakefile
142
144
  - bin/console
143
145
  - bin/setup
144
146
  - lib/solidus_support.rb
147
+ - lib/solidus_support/deprecator.rb
145
148
  - lib/solidus_support/engine_extensions.rb
146
149
  - lib/solidus_support/legacy_event_compat.rb
147
150
  - lib/solidus_support/legacy_event_compat/bus.rb
@@ -149,7 +152,6 @@ files:
149
152
  - lib/solidus_support/migration.rb
150
153
  - lib/solidus_support/version.rb
151
154
  - solidus_support.gemspec
152
- - spec/examples.txt
153
155
  - spec/solidus_support/legacy_event_compat/bus_spec.rb
154
156
  - spec/solidus_support/legacy_event_compat/legacy_event_compat_spec.rb
155
157
  - spec/solidus_support_spec.rb
@@ -158,8 +160,11 @@ files:
158
160
  - spec/support/dummy_app/database.yml
159
161
  homepage: https://github.com/solidusio/solidus_support
160
162
  licenses:
161
- - BSD-3-Clause
162
- metadata: {}
163
+ - BSD-3
164
+ metadata:
165
+ homepage_uri: https://github.com/solidusio/solidus_support
166
+ source_code_uri: https://github.com/solidusio/solidus_support
167
+ changelog_uri: https://github.com/solidusio/solidus_support/releases
163
168
  post_install_message:
164
169
  rdoc_options: []
165
170
  require_paths:
@@ -168,22 +173,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
168
173
  requirements:
169
174
  - - ">="
170
175
  - !ruby/object:Gem::Version
171
- version: '0'
176
+ version: '3.0'
172
177
  required_rubygems_version: !ruby/object:Gem::Requirement
173
178
  requirements:
174
179
  - - ">="
175
180
  - !ruby/object:Gem::Version
176
181
  version: '0'
177
182
  requirements: []
178
- rubygems_version: 3.3.7
183
+ rubygems_version: 3.4.10
179
184
  signing_key:
180
185
  specification_version: 4
181
186
  summary: Common runtime helpers for Solidus extensions.
182
187
  test_files:
183
- - spec/examples.txt
184
188
  - spec/solidus_support/legacy_event_compat/bus_spec.rb
185
189
  - spec/solidus_support/legacy_event_compat/legacy_event_compat_spec.rb
186
190
  - spec/solidus_support_spec.rb
187
191
  - spec/spec_helper.rb
188
- - spec/support/dummy_app/database.yml
189
192
  - spec/support/dummy_app.rb
193
+ - spec/support/dummy_app/database.yml
data/spec/examples.txt DELETED
@@ -1,9 +0,0 @@
1
- example_id | status | run_time |
2
- ----------------------------------------- | ------ | --------------- |
3
- ./spec/solidus_support_spec.rb[1:1:1:1] | passed | 0.00024 seconds |
4
- ./spec/solidus_support_spec.rb[1:1:2:1] | passed | 0.00028 seconds |
5
- ./spec/solidus_support_spec.rb[1:1:3:1:1] | passed | 0.00094 seconds |
6
- ./spec/solidus_support_spec.rb[1:1:3:2:1] | passed | 0.25256 seconds |
7
- ./spec/solidus_support_spec.rb[1:2:1:1] | passed | 0.00599 seconds |
8
- ./spec/solidus_support_spec.rb[1:2:2:1] | passed | 0.00026 seconds |
9
- ./spec/solidus_support_spec.rb[1:2:3:1] | passed | 0.0002 seconds |