spree_winkelstraat 3.1.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +19 -0
  3. data/.rspec +1 -0
  4. data/Gemfile +7 -0
  5. data/LICENSE +26 -0
  6. data/README.md +53 -0
  7. data/Rakefile +21 -0
  8. data/app/assets/javascripts/spree/backend/spree_winkelstraat.js +2 -0
  9. data/app/assets/javascripts/spree/frontend/spree_winkelstraat.js +2 -0
  10. data/app/assets/stylesheets/spree/backend/spree_winkelstraat.css +4 -0
  11. data/app/assets/stylesheets/spree/frontend/spree_winkelstraat.css +4 -0
  12. data/app/controllers/api/v1/orders_controller_decorator.rb +15 -0
  13. data/app/controllers/api/v1/products_controller_decorator.rb +13 -0
  14. data/app/models/spree/order/mail_defuser.rb +15 -0
  15. data/app/models/spree/order_decorator.rb +180 -0
  16. data/app/models/spree/product_decorator.rb +110 -0
  17. data/app/models/spree/promotion/rules/not_winkelstraat_order.rb +18 -0
  18. data/app/models/spree/reimbursement/mail_defuser.rb +9 -0
  19. data/app/models/spree/reimbursement_decorator.rb +5 -0
  20. data/app/models/spree/shipment_handler/mail_defuser.rb +7 -0
  21. data/app/models/spree/shipment_handler_decorator.rb +5 -0
  22. data/app/models/spree/variant_decorator.rb +51 -0
  23. data/app/overrides/option_value_fields.rb +13 -0
  24. data/app/overrides/order_index.rb +13 -0
  25. data/app/overrides/product_form.rb +6 -0
  26. data/app/views/spree/admin/option_types/_extra_option_value_fields.html.erb +1 -0
  27. data/app/views/spree/admin/option_types/_extra_option_value_headers.html.erb +1 -0
  28. data/app/views/spree/admin/orders/_index_tradebyte_state_override.html.erb +7 -0
  29. data/app/views/spree/admin/orders/_index_tradebyte_state_override_head.html.erb +1 -0
  30. data/app/views/spree/admin/products/_sell_on_winkelstraat.html.erb +7 -0
  31. data/app/views/spree/admin/promotions/rules/_not_winkelstraat_order.html.erb +0 -0
  32. data/bin/rails +7 -0
  33. data/config/locales/en.yml +9 -0
  34. data/config/routes.rb +18 -0
  35. data/db/migrate/20190424140108_add_winkelstraat_data.rb +5 -0
  36. data/db/migrate/20190429134248_add_ws_code_to_option_values.rb +5 -0
  37. data/db/migrate/20190501101657_add_winkelstraat_taxons.rb +24 -0
  38. data/db/migrate/20190501122837_add_winkelstraat_payment_method_and_shipping_method.rb +11 -0
  39. data/db/migrate/20190507114902_add_active_on_winkelstraat_to_spree_products.rb +5 -0
  40. data/lib/generators/spree_winkelstraat/install/install_generator.rb +31 -0
  41. data/lib/spree_winkelstraat/engine.rb +26 -0
  42. data/lib/spree_winkelstraat/factories.rb +6 -0
  43. data/lib/spree_winkelstraat/order_importer.rb +65 -0
  44. data/lib/spree_winkelstraat.rb +3 -0
  45. data/spec/spec_helper.rb +93 -0
  46. data/spree_winkelstraat.gemspec +33 -0
  47. metadata +257 -0
@@ -0,0 +1,33 @@
1
+ # encoding: UTF-8
2
+ Gem::Specification.new do |s|
3
+ s.platform = Gem::Platform::RUBY
4
+ s.name = 'spree_winkelstraat'
5
+ s.version = '3.1.0.20'
6
+ s.summary = 'Winkelstraat.nl connection'
7
+ s.description = 'Connect your spree shop to winkelstraat.nl'
8
+ s.required_ruby_version = '>= 2.1.0'
9
+
10
+ s.author = 'Fabian Oudhaarlem'
11
+ s.email = 'fabian@oldharlem.nl'
12
+ s.homepage = 'http://oldharlem.nl'
13
+ s.license = 'BSD-3'
14
+
15
+ s.files = `git ls-files`.split("\n")
16
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
+ s.require_path = 'lib'
18
+ s.requirements << 'none'
19
+
20
+ s.add_dependency 'spree_core', '~> 3.1.0'
21
+ s.add_dependency 'parallel'
22
+
23
+ s.add_development_dependency 'capybara', '~> 2.6'
24
+ s.add_development_dependency 'coffee-rails'
25
+ s.add_development_dependency 'database_cleaner'
26
+ s.add_development_dependency 'factory_girl', '~> 4.5'
27
+ s.add_development_dependency 'ffaker'
28
+ s.add_development_dependency 'rspec-rails', '~> 3.4'
29
+ s.add_development_dependency 'sass-rails', '~> 5.0.0'
30
+ s.add_development_dependency 'selenium-webdriver'
31
+ s.add_development_dependency 'simplecov'
32
+ s.add_development_dependency 'sqlite3'
33
+ end
metadata ADDED
@@ -0,0 +1,257 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spree_winkelstraat
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.1.0.20
5
+ platform: ruby
6
+ authors:
7
+ - Fabian Oudhaarlem
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-08-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: spree_core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 3.1.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 3.1.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: parallel
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: capybara
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.6'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.6'
55
+ - !ruby/object:Gem::Dependency
56
+ name: coffee-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: database_cleaner
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: factory_girl
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '4.5'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '4.5'
97
+ - !ruby/object:Gem::Dependency
98
+ name: ffaker
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rspec-rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.4'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '3.4'
125
+ - !ruby/object:Gem::Dependency
126
+ name: sass-rails
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 5.0.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 5.0.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: selenium-webdriver
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: simplecov
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: sqlite3
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ description: Connect your spree shop to winkelstraat.nl
182
+ email: fabian@oldharlem.nl
183
+ executables: []
184
+ extensions: []
185
+ extra_rdoc_files: []
186
+ files:
187
+ - ".gitignore"
188
+ - ".rspec"
189
+ - Gemfile
190
+ - LICENSE
191
+ - README.md
192
+ - Rakefile
193
+ - app/assets/javascripts/spree/backend/spree_winkelstraat.js
194
+ - app/assets/javascripts/spree/frontend/spree_winkelstraat.js
195
+ - app/assets/stylesheets/spree/backend/spree_winkelstraat.css
196
+ - app/assets/stylesheets/spree/frontend/spree_winkelstraat.css
197
+ - app/controllers/api/v1/orders_controller_decorator.rb
198
+ - app/controllers/api/v1/products_controller_decorator.rb
199
+ - app/models/spree/order/mail_defuser.rb
200
+ - app/models/spree/order_decorator.rb
201
+ - app/models/spree/product_decorator.rb
202
+ - app/models/spree/promotion/rules/not_winkelstraat_order.rb
203
+ - app/models/spree/reimbursement/mail_defuser.rb
204
+ - app/models/spree/reimbursement_decorator.rb
205
+ - app/models/spree/shipment_handler/mail_defuser.rb
206
+ - app/models/spree/shipment_handler_decorator.rb
207
+ - app/models/spree/variant_decorator.rb
208
+ - app/overrides/option_value_fields.rb
209
+ - app/overrides/order_index.rb
210
+ - app/overrides/product_form.rb
211
+ - app/views/spree/admin/option_types/_extra_option_value_fields.html.erb
212
+ - app/views/spree/admin/option_types/_extra_option_value_headers.html.erb
213
+ - app/views/spree/admin/orders/_index_tradebyte_state_override.html.erb
214
+ - app/views/spree/admin/orders/_index_tradebyte_state_override_head.html.erb
215
+ - app/views/spree/admin/products/_sell_on_winkelstraat.html.erb
216
+ - app/views/spree/admin/promotions/rules/_not_winkelstraat_order.html.erb
217
+ - bin/rails
218
+ - config/locales/en.yml
219
+ - config/routes.rb
220
+ - db/migrate/20190424140108_add_winkelstraat_data.rb
221
+ - db/migrate/20190429134248_add_ws_code_to_option_values.rb
222
+ - db/migrate/20190501101657_add_winkelstraat_taxons.rb
223
+ - db/migrate/20190501122837_add_winkelstraat_payment_method_and_shipping_method.rb
224
+ - db/migrate/20190507114902_add_active_on_winkelstraat_to_spree_products.rb
225
+ - lib/generators/spree_winkelstraat/install/install_generator.rb
226
+ - lib/spree_winkelstraat.rb
227
+ - lib/spree_winkelstraat/engine.rb
228
+ - lib/spree_winkelstraat/factories.rb
229
+ - lib/spree_winkelstraat/order_importer.rb
230
+ - spec/spec_helper.rb
231
+ - spree_winkelstraat.gemspec
232
+ homepage: http://oldharlem.nl
233
+ licenses:
234
+ - BSD-3
235
+ metadata: {}
236
+ post_install_message:
237
+ rdoc_options: []
238
+ require_paths:
239
+ - lib
240
+ required_ruby_version: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: 2.1.0
245
+ required_rubygems_version: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ version: '0'
250
+ requirements:
251
+ - none
252
+ rubygems_version: 3.0.8
253
+ signing_key:
254
+ specification_version: 4
255
+ summary: Winkelstraat.nl connection
256
+ test_files:
257
+ - spec/spec_helper.rb