solidus_support 0.9.3 → 0.10.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: 0127ccc51fca1246c2defe58f9f0d3701919de99d96729754562a85b501a275e
4
- data.tar.gz: 32b83a9c9d03ac60286041ec58bc7d4ee3893aa8c19befc4b7fd7aa99f925cb7
3
+ metadata.gz: f926127a9b132f14cb6f7dac4be0e82abec893a44456eccfbe2a004f4c50dfd2
4
+ data.tar.gz: 3348e98e62b43f9c0bd09a9edfc1ee7d67df9e747f3d3e2b99f3808f2c1c3b37
5
5
  SHA512:
6
- metadata.gz: e943fcd01e82a31fe33f3012fd1ed3b1856d7d297383a22e52d6ad784d67eead342f7f31395f4dc9174dd5aa2b84b1b8501817093b2bfdfadf0b1f3850a0e2ae
7
- data.tar.gz: 9ad70cf80c632737bd918020c244d550dc79cf05fa8e8758a5d03363a2fb1ea00d84ca663c35beec346ae13b1b5c8eb79c16adff00e0089def54f240670a8c66
6
+ metadata.gz: e6d7a7e0a35333285953d227798f0733ce138c40a1d51f5289ba734c4829603ee6145e5809e9b334afb922e2e6804e5a1cabf631bd03760b10a2c655f2e90775
7
+ data.tar.gz: ee5ca26e9dd07f584a40e170a44d084ebd88072527cf5f3b118615f60fcc9c325f028c8ec71a776a50deb89e3ced6f1e3d3265455f5486a246c37daea2bb4a44
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'
@@ -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.0'
5
5
  end
@@ -8,8 +8,16 @@ require 'solidus_core'
8
8
 
9
9
  module SolidusSupport
10
10
  class << self
11
+ def deprecator
12
+ @deprecator ||= ActiveSupport::Deprecation.new(Gem::Version.new('1.0'), 'SolidusSupport')
13
+ end
14
+
15
+ def solidus_deprecator
16
+ Spree.solidus_gem_version >= Gem::Version.new('4.2') ? Spree.deprecator : Spree::Deprecation
17
+ end
18
+
11
19
  def solidus_gem_version
12
- ActiveSupport::Deprecation.warn <<-WARN.squish, caller
20
+ deprecator.warn <<-WARN.squish, caller
13
21
  SolidusSupport.solidus_gem_version is deprecated and will be removed
14
22
  in solidus_support 1.0. Please use Spree.solidus_gem_version instead.
15
23
  WARN
@@ -33,7 +41,7 @@ module SolidusSupport
33
41
  end
34
42
 
35
43
  def new_gateway_code?
36
- ActiveSupport::Deprecation.warn <<-WARN.squish, caller
44
+ deprecator.warn <<-WARN.squish, caller
37
45
  SolidusSupport.new_gateway_code? is deprecated without replacement and will be removed
38
46
  in solidus_support 1.0.
39
47
  WARN
@@ -42,7 +50,7 @@ module SolidusSupport
42
50
  end
43
51
 
44
52
  def payment_source_parent_class
45
- ActiveSupport::Deprecation.warn <<-WARN.squish, caller
53
+ deprecator.warn <<-WARN.squish, caller
46
54
  SolidusSupport.payment_source_parent_class is deprecated and will be removed
47
55
  in solidus_support 1.0. Please use Spree::PaymentSource instead.
48
56
  WARN
@@ -52,14 +60,14 @@ module SolidusSupport
52
60
 
53
61
  def payment_method_parent_class(credit_card: false)
54
62
  if credit_card
55
- ActiveSupport::Deprecation.warn <<-WARN.squish, caller
63
+ deprecator.warn <<-WARN.squish, caller
56
64
  SolidusSupport.payment_method_parent_class(credit_card: true) is deprecated and will be removed
57
65
  in solidus_support 1.0. Please use Spree::PaymentMethod::CreditCard instead.
58
66
  WARN
59
67
 
60
68
  Spree::PaymentMethod::CreditCard
61
69
  else
62
- ActiveSupport::Deprecation.warn <<-WARN.squish, caller
70
+ deprecator.warn <<-WARN.squish, caller
63
71
  SolidusSupport.payment_method_parent_class(credit_card: false) is deprecated and will be removed
64
72
  in solidus_support 1.0. Please use Spree::PaymentMethod instead.
65
73
  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
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.0
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-10-06 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,6 +138,7 @@ 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
@@ -149,7 +151,6 @@ files:
149
151
  - lib/solidus_support/migration.rb
150
152
  - lib/solidus_support/version.rb
151
153
  - solidus_support.gemspec
152
- - spec/examples.txt
153
154
  - spec/solidus_support/legacy_event_compat/bus_spec.rb
154
155
  - spec/solidus_support/legacy_event_compat/legacy_event_compat_spec.rb
155
156
  - spec/solidus_support_spec.rb
@@ -158,8 +159,11 @@ files:
158
159
  - spec/support/dummy_app/database.yml
159
160
  homepage: https://github.com/solidusio/solidus_support
160
161
  licenses:
161
- - BSD-3-Clause
162
- metadata: {}
162
+ - BSD-3
163
+ metadata:
164
+ homepage_uri: https://github.com/solidusio/solidus_support
165
+ source_code_uri: https://github.com/solidusio/solidus_support
166
+ changelog_uri: https://github.com/solidusio/solidus_support/releases
163
167
  post_install_message:
164
168
  rdoc_options: []
165
169
  require_paths:
@@ -168,22 +172,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
168
172
  requirements:
169
173
  - - ">="
170
174
  - !ruby/object:Gem::Version
171
- version: '0'
175
+ version: '3.0'
172
176
  required_rubygems_version: !ruby/object:Gem::Requirement
173
177
  requirements:
174
178
  - - ">="
175
179
  - !ruby/object:Gem::Version
176
180
  version: '0'
177
181
  requirements: []
178
- rubygems_version: 3.3.7
182
+ rubygems_version: 3.3.23
179
183
  signing_key:
180
184
  specification_version: 4
181
185
  summary: Common runtime helpers for Solidus extensions.
182
186
  test_files:
183
- - spec/examples.txt
184
187
  - spec/solidus_support/legacy_event_compat/bus_spec.rb
185
188
  - spec/solidus_support/legacy_event_compat/legacy_event_compat_spec.rb
186
189
  - spec/solidus_support_spec.rb
187
190
  - spec/spec_helper.rb
188
- - spec/support/dummy_app/database.yml
189
191
  - spec/support/dummy_app.rb
192
+ - 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 |