solidus_foudra 0.1.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/.gitignore +24 -0
- data/.rspec +2 -0
- data/.rubocop.yml +12 -0
- data/Gemfile +25 -0
- data/LICENSE +201 -0
- data/README.md +241 -0
- data/Rakefile +7 -0
- data/bin/console +17 -0
- data/bin/rails +7 -0
- data/bin/rails-engine +13 -0
- data/bin/rails-sandbox +16 -0
- data/bin/rake +7 -0
- data/bin/sandbox +85 -0
- data/bin/setup +8 -0
- data/config/locales/en.yml +5 -0
- data/lib/solidus_foudra/client.rb +234 -0
- data/lib/solidus_foudra/configuration.rb +87 -0
- data/lib/solidus_foudra/engine.rb +23 -0
- data/lib/solidus_foudra/markdown.rb +83 -0
- data/lib/solidus_foudra/redact.rb +18 -0
- data/lib/solidus_foudra/testing_support/factories.rb +4 -0
- data/lib/solidus_foudra/version.rb +8 -0
- data/lib/solidus_foudra/webhook_signature.rb +48 -0
- data/lib/solidus_foudra.rb +45 -0
- data/solidus_foudra.gemspec +40 -0
- metadata +131 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright (c) 2026, Kalopa Robotics Limited.
|
|
4
|
+
# Licensed under the Apache License, Version 2.0; see LICENSE for details.
|
|
5
|
+
|
|
6
|
+
require_relative "lib/solidus_foudra/version"
|
|
7
|
+
|
|
8
|
+
Gem::Specification.new do |spec|
|
|
9
|
+
spec.name = "solidus_foudra"
|
|
10
|
+
spec.version = SolidusFoudra::VERSION
|
|
11
|
+
spec.authors = ["Kalopa Robotics Limited"]
|
|
12
|
+
spec.email = "dtynan@kalopa.com"
|
|
13
|
+
|
|
14
|
+
spec.summary = "Connects a Solidus shop to Foudra MRP: orders in, stock, products and shipping out."
|
|
15
|
+
spec.description = <<~DESC
|
|
16
|
+
Sends each completed Solidus order to Foudra MRP as a sales order on the shop's
|
|
17
|
+
channel (and cancels it there when it is cancelled here), and keeps the shop's
|
|
18
|
+
stock, products, prices and shipments in step with Foudra through its webhooks
|
|
19
|
+
and a nightly full pass.
|
|
20
|
+
DESC
|
|
21
|
+
spec.homepage = "https://foudra.com/developers"
|
|
22
|
+
spec.license = "Apache-2.0"
|
|
23
|
+
|
|
24
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
|
25
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
|
26
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
|
27
|
+
|
|
28
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 3.1", "< 4")
|
|
29
|
+
|
|
30
|
+
files = Dir.chdir(__dir__) { `git ls-files -z`.split("\x0") }
|
|
31
|
+
|
|
32
|
+
spec.files = files.grep_v(%r{^(test|spec|features)/})
|
|
33
|
+
spec.require_paths = ["lib"]
|
|
34
|
+
|
|
35
|
+
spec.add_dependency "solidus_core", "~> 4.6"
|
|
36
|
+
spec.add_dependency "solidus_support", ">= 0.12.0"
|
|
37
|
+
|
|
38
|
+
spec.add_development_dependency "solidus_dev_support", "~> 2.12"
|
|
39
|
+
spec.add_development_dependency "webmock", "~> 3.0"
|
|
40
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: solidus_foudra
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Kalopa Robotics Limited
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: solidus_core
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '4.6'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '4.6'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: solidus_support
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 0.12.0
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: 0.12.0
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: solidus_dev_support
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '2.12'
|
|
47
|
+
type: :development
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - "~>"
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '2.12'
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: webmock
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - "~>"
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '3.0'
|
|
61
|
+
type: :development
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - "~>"
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '3.0'
|
|
68
|
+
description: |
|
|
69
|
+
Sends each completed Solidus order to Foudra MRP as a sales order on the shop's
|
|
70
|
+
channel (and cancels it there when it is cancelled here), and keeps the shop's
|
|
71
|
+
stock, products, prices and shipments in step with Foudra through its webhooks
|
|
72
|
+
and a nightly full pass.
|
|
73
|
+
email: dtynan@kalopa.com
|
|
74
|
+
executables: []
|
|
75
|
+
extensions: []
|
|
76
|
+
extra_rdoc_files: []
|
|
77
|
+
files:
|
|
78
|
+
- ".gitignore"
|
|
79
|
+
- ".rspec"
|
|
80
|
+
- ".rubocop.yml"
|
|
81
|
+
- Gemfile
|
|
82
|
+
- LICENSE
|
|
83
|
+
- README.md
|
|
84
|
+
- Rakefile
|
|
85
|
+
- bin/console
|
|
86
|
+
- bin/rails
|
|
87
|
+
- bin/rails-engine
|
|
88
|
+
- bin/rails-sandbox
|
|
89
|
+
- bin/rake
|
|
90
|
+
- bin/sandbox
|
|
91
|
+
- bin/setup
|
|
92
|
+
- config/locales/en.yml
|
|
93
|
+
- lib/solidus_foudra.rb
|
|
94
|
+
- lib/solidus_foudra/client.rb
|
|
95
|
+
- lib/solidus_foudra/configuration.rb
|
|
96
|
+
- lib/solidus_foudra/engine.rb
|
|
97
|
+
- lib/solidus_foudra/markdown.rb
|
|
98
|
+
- lib/solidus_foudra/redact.rb
|
|
99
|
+
- lib/solidus_foudra/testing_support/factories.rb
|
|
100
|
+
- lib/solidus_foudra/version.rb
|
|
101
|
+
- lib/solidus_foudra/webhook_signature.rb
|
|
102
|
+
- solidus_foudra.gemspec
|
|
103
|
+
homepage: https://foudra.com/developers
|
|
104
|
+
licenses:
|
|
105
|
+
- Apache-2.0
|
|
106
|
+
metadata:
|
|
107
|
+
homepage_uri: https://foudra.com/developers
|
|
108
|
+
rubygems_mfa_required: 'true'
|
|
109
|
+
allowed_push_host: https://rubygems.org
|
|
110
|
+
rdoc_options: []
|
|
111
|
+
require_paths:
|
|
112
|
+
- lib
|
|
113
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '3.1'
|
|
118
|
+
- - "<"
|
|
119
|
+
- !ruby/object:Gem::Version
|
|
120
|
+
version: '4'
|
|
121
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
|
+
requirements:
|
|
123
|
+
- - ">="
|
|
124
|
+
- !ruby/object:Gem::Version
|
|
125
|
+
version: '0'
|
|
126
|
+
requirements: []
|
|
127
|
+
rubygems_version: 4.0.21
|
|
128
|
+
specification_version: 4
|
|
129
|
+
summary: 'Connects a Solidus shop to Foudra MRP: orders in, stock, products and shipping
|
|
130
|
+
out.'
|
|
131
|
+
test_files: []
|