workarea-ship_station 1.0.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 +7 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
- data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.github/workflows/ci.yml +54 -0
- data/.gitignore +19 -0
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +13 -0
- data/Gemfile +17 -0
- data/LICENSE +52 -0
- data/README.md +89 -0
- data/Rakefile +57 -0
- data/app/assets/images/workarea/admin/ship_station/.keep +0 -0
- data/app/assets/images/workarea/storefront/ship_station/.keep +0 -0
- data/app/assets/javascripts/workarea/admin/ship_station/.keep +0 -0
- data/app/assets/javascripts/workarea/storefront/ship_station/.keep +0 -0
- data/app/assets/stylesheets/workarea/admin/ship_station/.keep +0 -0
- data/app/assets/stylesheets/workarea/storefront/ship_station/.keep +0 -0
- data/app/controllers/workarea/admin/orders_controller.decorator +50 -0
- data/app/controllers/workarea/storefront/ship_station_webhook_controller.rb +52 -0
- data/app/helpers/.keep +0 -0
- data/app/mailers/.keep +0 -0
- data/app/models/.keep +0 -0
- data/app/models/workarea/order.decorator +25 -0
- data/app/services/workarea/ship_station/order.rb +161 -0
- data/app/services/workarea/ship_station/webhook.rb +27 -0
- data/app/services/workarea/ship_station/webhook/item_ship_notify.rb +33 -0
- data/app/views/.keep +0 -0
- data/app/views/workarea/admin/orders/_ship_station.html.haml +12 -0
- data/app/views/workarea/admin/orders/_ship_station_bar_actions.html.haml +7 -0
- data/app/views/workarea/admin/orders/hold_date.html.haml +27 -0
- data/app/workers/workarea/ship_station/save_order.rb +24 -0
- data/bin/rails +25 -0
- data/config/initializers/appends.rb +9 -0
- data/config/initializers/workarea.rb +11 -0
- data/config/locales/en.yml +20 -0
- data/config/routes.rb +13 -0
- data/lib/workarea/ship_station.rb +39 -0
- data/lib/workarea/ship_station/bogus_gateway.rb +297 -0
- data/lib/workarea/ship_station/engine.rb +10 -0
- data/lib/workarea/ship_station/gateway.rb +92 -0
- data/lib/workarea/ship_station/response.rb +17 -0
- data/lib/workarea/ship_station/version.rb +5 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +3 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +14 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +2 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/jobs/application_job.rb +2 -0
- data/test/dummy/app/mailers/application_mailer.rb +4 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +15 -0
- data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +25 -0
- data/test/dummy/bin/update +25 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/config/application.rb +34 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +52 -0
- data/test/dummy/config/environments/production.rb +83 -0
- data/test/dummy/config/environments/test.rb +45 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/test/dummy/config/initializers/assets.rb +12 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/content_security_policy.rb +25 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/workarea.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/test/dummy/config/locales/en.yml +33 -0
- data/test/dummy/config/puma.rb +34 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/db/seeds.rb +2 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/integration/workarea/admin/ship_station_integration_test.rb +36 -0
- data/test/integration/workarea/storefront/ship_station_webhook_test.rb +37 -0
- data/test/integration/workarea/storefront/ship_station_webhooks/notify_shipment_test.rb +56 -0
- data/test/services/workarea/ship_station/order_test.rb +67 -0
- data/test/teaspoon_env.rb +6 -0
- data/test/test_helper.rb +10 -0
- data/test/workers/workarea/ship_station/save_order_test.rb +16 -0
- data/workarea-ship_station.gemspec +20 -0
- metadata +157 -0
@@ -0,0 +1,20 @@
|
|
1
|
+
$:.push File.expand_path("lib", __dir__)
|
2
|
+
|
3
|
+
# Maintain your gem's version:
|
4
|
+
require "workarea/ship_station/version"
|
5
|
+
|
6
|
+
# Describe your gem and declare its dependencies:
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "workarea-ship_station"
|
9
|
+
spec.version = Workarea::ShipStation::VERSION
|
10
|
+
spec.authors = ["Jeff Yucis"]
|
11
|
+
spec.email = ["jyucis@workarea.com"]
|
12
|
+
spec.homepage = "https://github.com/workarea-commerce/workarea-ship-station"
|
13
|
+
spec.summary = "Workarea Commerce Shipstation integration"
|
14
|
+
spec.description = "Shipstation integration."
|
15
|
+
spec.license = "Business Software License"
|
16
|
+
|
17
|
+
spec.files = `git ls-files`.split("\n")
|
18
|
+
|
19
|
+
spec.add_dependency 'workarea', '~> 3.x'
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,157 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: workarea-ship_station
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jeff Yucis
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-10-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: workarea
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.x
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.x
|
27
|
+
description: Shipstation integration.
|
28
|
+
email:
|
29
|
+
- jyucis@workarea.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
35
|
+
- ".github/ISSUE_TEMPLATE/documentation-request.md"
|
36
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
37
|
+
- ".github/workflows/ci.yml"
|
38
|
+
- ".gitignore"
|
39
|
+
- ".rubocop.yml"
|
40
|
+
- CHANGELOG.md
|
41
|
+
- Gemfile
|
42
|
+
- LICENSE
|
43
|
+
- README.md
|
44
|
+
- Rakefile
|
45
|
+
- app/assets/images/workarea/admin/ship_station/.keep
|
46
|
+
- app/assets/images/workarea/storefront/ship_station/.keep
|
47
|
+
- app/assets/javascripts/workarea/admin/ship_station/.keep
|
48
|
+
- app/assets/javascripts/workarea/storefront/ship_station/.keep
|
49
|
+
- app/assets/stylesheets/workarea/admin/ship_station/.keep
|
50
|
+
- app/assets/stylesheets/workarea/storefront/ship_station/.keep
|
51
|
+
- app/controllers/workarea/admin/orders_controller.decorator
|
52
|
+
- app/controllers/workarea/storefront/ship_station_webhook_controller.rb
|
53
|
+
- app/helpers/.keep
|
54
|
+
- app/mailers/.keep
|
55
|
+
- app/models/.keep
|
56
|
+
- app/models/workarea/order.decorator
|
57
|
+
- app/services/workarea/ship_station/order.rb
|
58
|
+
- app/services/workarea/ship_station/webhook.rb
|
59
|
+
- app/services/workarea/ship_station/webhook/item_ship_notify.rb
|
60
|
+
- app/views/.keep
|
61
|
+
- app/views/workarea/admin/orders/_ship_station.html.haml
|
62
|
+
- app/views/workarea/admin/orders/_ship_station_bar_actions.html.haml
|
63
|
+
- app/views/workarea/admin/orders/hold_date.html.haml
|
64
|
+
- app/workers/workarea/ship_station/save_order.rb
|
65
|
+
- bin/rails
|
66
|
+
- config/initializers/appends.rb
|
67
|
+
- config/initializers/workarea.rb
|
68
|
+
- config/locales/en.yml
|
69
|
+
- config/routes.rb
|
70
|
+
- lib/workarea/ship_station.rb
|
71
|
+
- lib/workarea/ship_station/bogus_gateway.rb
|
72
|
+
- lib/workarea/ship_station/engine.rb
|
73
|
+
- lib/workarea/ship_station/gateway.rb
|
74
|
+
- lib/workarea/ship_station/response.rb
|
75
|
+
- lib/workarea/ship_station/version.rb
|
76
|
+
- test/dummy/.ruby-version
|
77
|
+
- test/dummy/Rakefile
|
78
|
+
- test/dummy/app/assets/config/manifest.js
|
79
|
+
- test/dummy/app/assets/images/.keep
|
80
|
+
- test/dummy/app/assets/javascripts/application.js
|
81
|
+
- test/dummy/app/assets/stylesheets/application.css
|
82
|
+
- test/dummy/app/controllers/application_controller.rb
|
83
|
+
- test/dummy/app/controllers/concerns/.keep
|
84
|
+
- test/dummy/app/helpers/application_helper.rb
|
85
|
+
- test/dummy/app/jobs/application_job.rb
|
86
|
+
- test/dummy/app/mailers/application_mailer.rb
|
87
|
+
- test/dummy/app/models/concerns/.keep
|
88
|
+
- test/dummy/app/views/layouts/application.html.erb
|
89
|
+
- test/dummy/app/views/layouts/mailer.html.erb
|
90
|
+
- test/dummy/app/views/layouts/mailer.text.erb
|
91
|
+
- test/dummy/bin/bundle
|
92
|
+
- test/dummy/bin/rails
|
93
|
+
- test/dummy/bin/rake
|
94
|
+
- test/dummy/bin/setup
|
95
|
+
- test/dummy/bin/update
|
96
|
+
- test/dummy/config.ru
|
97
|
+
- test/dummy/config/application.rb
|
98
|
+
- test/dummy/config/boot.rb
|
99
|
+
- test/dummy/config/environment.rb
|
100
|
+
- test/dummy/config/environments/development.rb
|
101
|
+
- test/dummy/config/environments/production.rb
|
102
|
+
- test/dummy/config/environments/test.rb
|
103
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
104
|
+
- test/dummy/config/initializers/assets.rb
|
105
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
106
|
+
- test/dummy/config/initializers/content_security_policy.rb
|
107
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
108
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
109
|
+
- test/dummy/config/initializers/inflections.rb
|
110
|
+
- test/dummy/config/initializers/mime_types.rb
|
111
|
+
- test/dummy/config/initializers/workarea.rb
|
112
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
113
|
+
- test/dummy/config/locales/en.yml
|
114
|
+
- test/dummy/config/puma.rb
|
115
|
+
- test/dummy/config/routes.rb
|
116
|
+
- test/dummy/config/spring.rb
|
117
|
+
- test/dummy/db/seeds.rb
|
118
|
+
- test/dummy/lib/assets/.keep
|
119
|
+
- test/dummy/log/.keep
|
120
|
+
- test/dummy/public/404.html
|
121
|
+
- test/dummy/public/422.html
|
122
|
+
- test/dummy/public/500.html
|
123
|
+
- test/dummy/public/apple-touch-icon-precomposed.png
|
124
|
+
- test/dummy/public/apple-touch-icon.png
|
125
|
+
- test/dummy/public/favicon.ico
|
126
|
+
- test/integration/workarea/admin/ship_station_integration_test.rb
|
127
|
+
- test/integration/workarea/storefront/ship_station_webhook_test.rb
|
128
|
+
- test/integration/workarea/storefront/ship_station_webhooks/notify_shipment_test.rb
|
129
|
+
- test/services/workarea/ship_station/order_test.rb
|
130
|
+
- test/teaspoon_env.rb
|
131
|
+
- test/test_helper.rb
|
132
|
+
- test/workers/workarea/ship_station/save_order_test.rb
|
133
|
+
- workarea-ship_station.gemspec
|
134
|
+
homepage: https://github.com/workarea-commerce/workarea-ship-station
|
135
|
+
licenses:
|
136
|
+
- Business Software License
|
137
|
+
metadata: {}
|
138
|
+
post_install_message:
|
139
|
+
rdoc_options: []
|
140
|
+
require_paths:
|
141
|
+
- lib
|
142
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
requirements: []
|
153
|
+
rubygems_version: 3.0.6
|
154
|
+
signing_key:
|
155
|
+
specification_version: 4
|
156
|
+
summary: Workarea Commerce Shipstation integration
|
157
|
+
test_files: []
|