solidus_webhooks 0.4.1 → 0.4.2
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 +4 -4
- data/.circleci/config.yml +4 -4
- data/CHANGELOG.md +1 -1
- data/Gemfile +11 -8
- data/OLD_CHANGELOG.md +20 -20
- data/README.md +2 -2
- data/bin/sandbox +1 -1
- data/lib/solidus_webhooks/version.rb +1 -1
- data/solidus_webhooks.gemspec +4 -3
- metadata +26 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acf5b91f017aa25c6095ea5209e8789a9aa62029f7b9b512dcb9e1cf1094691c
|
|
4
|
+
data.tar.gz: 8c5e0afbde2ee8602fd7712164bef6c0d5d3519b02ecffe71adad920365cd844
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f12763613fbcfc03c6e6fbdcf9d9eb9c73be13e4034d973751f414c1123b85c3e13cb0220441bf3d928d97a58ea16745b04ba6ff505464c058125d707127ef6
|
|
7
|
+
data.tar.gz: 4a78746ac208e00c289993f06e7693bed967e4a24930b3f7a0b78ebb63b4e294f23353439d44f0147f238578c590db9abee4c606ce32d664a43353019baa4a7e
|
data/.circleci/config.yml
CHANGED
|
@@ -12,7 +12,7 @@ jobs:
|
|
|
12
12
|
parameters:
|
|
13
13
|
solidus:
|
|
14
14
|
type: string
|
|
15
|
-
default:
|
|
15
|
+
default: main
|
|
16
16
|
db:
|
|
17
17
|
type: string
|
|
18
18
|
default: "postgres"
|
|
@@ -39,7 +39,7 @@ workflows:
|
|
|
39
39
|
- run-specs:
|
|
40
40
|
name: &name "run-specs-solidus-<< matrix.solidus >>-ruby-<< matrix.ruby >>-db-<< matrix.db >>"
|
|
41
41
|
matrix:
|
|
42
|
-
parameters: { solidus: ["
|
|
42
|
+
parameters: { solidus: ["main"], ruby: ["3.2"], db: ["postgres"] }
|
|
43
43
|
- run-specs:
|
|
44
44
|
name: *name
|
|
45
45
|
matrix:
|
|
@@ -50,7 +50,7 @@ workflows:
|
|
|
50
50
|
parameters: { solidus: ["older"], ruby: ["3.0"], db: ["sqlite"] }
|
|
51
51
|
- lint-code
|
|
52
52
|
|
|
53
|
-
"Weekly run specs against
|
|
53
|
+
"Weekly run specs against main":
|
|
54
54
|
triggers:
|
|
55
55
|
- schedule:
|
|
56
56
|
cron: "0 0 * * 4" # every Thursday
|
|
@@ -62,7 +62,7 @@ workflows:
|
|
|
62
62
|
- run-specs:
|
|
63
63
|
name: *name
|
|
64
64
|
matrix:
|
|
65
|
-
parameters: { solidus: ["
|
|
65
|
+
parameters: { solidus: ["main"], ruby: ["3.2"], db: ["postgres"] }
|
|
66
66
|
- run-specs:
|
|
67
67
|
name: *name
|
|
68
68
|
matrix:
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
|
@@ -3,14 +3,17 @@
|
|
|
3
3
|
source 'https://rubygems.org'
|
|
4
4
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|
5
5
|
|
|
6
|
-
branch = ENV.fetch('SOLIDUS_BRANCH', '
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
gem 'solidus_frontend', github:
|
|
6
|
+
branch = ENV.fetch('SOLIDUS_BRANCH', 'main')
|
|
7
|
+
gem 'solidus', github: 'solidusio/solidus', branch: branch
|
|
8
|
+
|
|
9
|
+
# The solidus_frontend gem has been pulled out since v3.2
|
|
10
|
+
if branch >= 'v3.2'
|
|
11
|
+
gem 'solidus_frontend'
|
|
12
|
+
elsif branch == 'main'
|
|
13
|
+
gem 'solidus_frontend', github: 'solidusio/solidus_frontend'
|
|
14
|
+
else
|
|
15
|
+
gem 'solidus_frontend', github: 'solidusio/solidus', branch: branch
|
|
16
|
+
end
|
|
14
17
|
|
|
15
18
|
# Needed to help Bundler figure out how to resolve dependencies,
|
|
16
19
|
# otherwise it takes forever to resolve them.
|
data/OLD_CHANGELOG.md
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [v0.3.0](https://github.com/solidusio
|
|
3
|
+
## [v0.3.0](https://github.com/solidusio/solidus_webhooks/tree/v0.3.0) (2021-04-20)
|
|
4
4
|
|
|
5
|
-
[Full Changelog](https://github.com/solidusio
|
|
5
|
+
[Full Changelog](https://github.com/solidusio/solidus_webhooks/compare/v0.3.0...v0.3.0)
|
|
6
6
|
|
|
7
7
|
**Closed issues:**
|
|
8
8
|
|
|
9
|
-
- Prepare Solidus Webhooks for Solidus 3.0 [\#8](https://github.com/solidusio
|
|
9
|
+
- Prepare Solidus Webhooks for Solidus 3.0 [\#8](https://github.com/solidusio/solidus_webhooks/issues/8)
|
|
10
10
|
|
|
11
11
|
**Merged pull requests:**
|
|
12
12
|
|
|
13
|
-
- Allow Solidus 3 [\#10](https://github.com/solidusio
|
|
14
|
-
- Reconcile master and v0.3.0 [\#7](https://github.com/solidusio
|
|
15
|
-
- Bump solidus\_support to ~\> 0.6 [\#6](https://github.com/solidusio
|
|
13
|
+
- Allow Solidus 3 [\#10](https://github.com/solidusio/solidus_webhooks/pull/10) ([kennyadsl](https://github.com/kennyadsl))
|
|
14
|
+
- Reconcile master and v0.3.0 [\#7](https://github.com/solidusio/solidus_webhooks/pull/7) ([elia](https://github.com/elia))
|
|
15
|
+
- Bump solidus\_support to ~\> 0.6 [\#6](https://github.com/solidusio/solidus_webhooks/pull/6) ([peterberkenbosch](https://github.com/peterberkenbosch))
|
|
16
16
|
|
|
17
|
-
## [v0.3.0](https://github.com/solidusio
|
|
17
|
+
## [v0.3.0](https://github.com/solidusio/solidus_webhooks/tree/v0.3.0) (2020-10-20)
|
|
18
18
|
|
|
19
|
-
[Full Changelog](https://github.com/solidusio
|
|
19
|
+
[Full Changelog](https://github.com/solidusio/solidus_webhooks/compare/v0.2.0...v0.3.0)
|
|
20
20
|
|
|
21
21
|
**Fixed bugs:**
|
|
22
22
|
|
|
23
|
-
- Fix error classes [\#5](https://github.com/solidusio
|
|
23
|
+
- Fix error classes [\#5](https://github.com/solidusio/solidus_webhooks/pull/5) ([elia](https://github.com/elia))
|
|
24
24
|
|
|
25
|
-
## [v0.2.0](https://github.com/solidusio
|
|
25
|
+
## [v0.2.0](https://github.com/solidusio/solidus_webhooks/tree/v0.2.0) (2020-06-10)
|
|
26
26
|
|
|
27
|
-
[Full Changelog](https://github.com/solidusio
|
|
27
|
+
[Full Changelog](https://github.com/solidusio/solidus_webhooks/compare/v0.1.0...v0.2.0)
|
|
28
28
|
|
|
29
29
|
**Implemented enhancements:**
|
|
30
30
|
|
|
31
|
-
- Expose current\_api\_user to webhook handlers [\#4](https://github.com/solidusio
|
|
31
|
+
- Expose current\_api\_user to webhook handlers [\#4](https://github.com/solidusio/solidus_webhooks/pull/4) ([elia](https://github.com/elia))
|
|
32
32
|
|
|
33
|
-
## [v0.1.0](https://github.com/solidusio
|
|
33
|
+
## [v0.1.0](https://github.com/solidusio/solidus_webhooks/tree/v0.1.0) (2020-05-14)
|
|
34
34
|
|
|
35
|
-
[Full Changelog](https://github.com/solidusio
|
|
35
|
+
[Full Changelog](https://github.com/solidusio/solidus_webhooks/compare/v0.1.0.beta.1...v0.1.0)
|
|
36
36
|
|
|
37
|
-
## [v0.1.0.beta.1](https://github.com/solidusio
|
|
37
|
+
## [v0.1.0.beta.1](https://github.com/solidusio/solidus_webhooks/tree/v0.1.0.beta.1) (2020-05-13)
|
|
38
38
|
|
|
39
|
-
[Full Changelog](https://github.com/solidusio
|
|
39
|
+
[Full Changelog](https://github.com/solidusio/solidus_webhooks/compare/v0.0.1.v0.1.0.beta.1.1...v0.1.0.beta.1)
|
|
40
40
|
|
|
41
|
-
## [v0.0.1.v0.1.0.beta.1.1](https://github.com/solidusio
|
|
41
|
+
## [v0.0.1.v0.1.0.beta.1.1](https://github.com/solidusio/solidus_webhooks/tree/v0.0.1.v0.1.0.beta.1.1) (2020-05-13)
|
|
42
42
|
|
|
43
|
-
[Full Changelog](https://github.com/solidusio
|
|
43
|
+
[Full Changelog](https://github.com/solidusio/solidus_webhooks/compare/9573caa400232ffb44cde7f8cf907171a529ced3...v0.0.1.v0.1.0.beta.1.1)
|
|
44
44
|
|
|
45
45
|
**Merged pull requests:**
|
|
46
46
|
|
|
47
|
-
- Prepare the repo to be moved to @solidusio
|
|
48
|
-
- Add the ability to register and receive webhooks [\#1](https://github.com/solidusio
|
|
47
|
+
- Prepare the repo to be moved to @solidusio [\#2](https://github.com/solidusio/solidus_webhooks/pull/2) ([elia](https://github.com/elia))
|
|
48
|
+
- Add the ability to register and receive webhooks [\#1](https://github.com/solidusio/solidus_webhooks/pull/1) ([elia](https://github.com/elia))
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Solidus Webhooks
|
|
2
2
|
|
|
3
|
-
[](https://circleci.com/gh/solidusio/solidus_webhooks)
|
|
4
|
+
[](https://codecov.io/gh/solidusio/solidus_webhooks)
|
|
5
5
|
|
|
6
6
|
<!-- Explain what your extension does. -->
|
|
7
7
|
|
data/bin/sandbox
CHANGED
data/solidus_webhooks.gemspec
CHANGED
|
@@ -9,12 +9,12 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.email = 'contact@solidus.io'
|
|
10
10
|
|
|
11
11
|
spec.summary = 'Webhooks support for Solidus'
|
|
12
|
-
spec.homepage = 'https://github.com/solidusio
|
|
12
|
+
spec.homepage = 'https://github.com/solidusio/solidus_webhooks#readme'
|
|
13
13
|
spec.license = 'BSD-3-Clause'
|
|
14
14
|
|
|
15
15
|
spec.metadata['homepage_uri'] = spec.homepage
|
|
16
|
-
spec.metadata['source_code_uri'] = 'https://github.com/solidusio
|
|
17
|
-
spec.metadata['changelog_uri'] = 'https://github.com/solidusio
|
|
16
|
+
spec.metadata['source_code_uri'] = 'https://github.com/solidusio/solidus_webhooks'
|
|
17
|
+
spec.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_webhooks/releases'
|
|
18
18
|
|
|
19
19
|
spec.required_ruby_version = Gem::Requirement.new('>= 2.5')
|
|
20
20
|
|
|
@@ -28,6 +28,7 @@ Gem::Specification.new do |spec|
|
|
|
28
28
|
spec.executables = files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
29
29
|
spec.require_paths = ["lib"]
|
|
30
30
|
|
|
31
|
+
spec.add_dependency 'solidus_api', ['>= 2.0.0', '< 5']
|
|
31
32
|
spec.add_dependency 'solidus_core', ['>= 2.0.0', '< 5']
|
|
32
33
|
spec.add_dependency 'solidus_support', '~> 0.6'
|
|
33
34
|
|
metadata
CHANGED
|
@@ -1,15 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solidus_webhooks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elia Schito
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-05-
|
|
11
|
+
date: 2023-05-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: solidus_api
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 2.0.0
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '5'
|
|
23
|
+
type: :runtime
|
|
24
|
+
prerelease: false
|
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
+
requirements:
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: 2.0.0
|
|
30
|
+
- - "<"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '5'
|
|
13
33
|
- !ruby/object:Gem::Dependency
|
|
14
34
|
name: solidus_core
|
|
15
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -107,13 +127,13 @@ files:
|
|
|
107
127
|
- spec/solidus_webhooks/configuration_spec.rb
|
|
108
128
|
- spec/spec_helper.rb
|
|
109
129
|
- spec/support/reset_config.rb
|
|
110
|
-
homepage: https://github.com/solidusio
|
|
130
|
+
homepage: https://github.com/solidusio/solidus_webhooks#readme
|
|
111
131
|
licenses:
|
|
112
132
|
- BSD-3-Clause
|
|
113
133
|
metadata:
|
|
114
|
-
homepage_uri: https://github.com/solidusio
|
|
115
|
-
source_code_uri: https://github.com/solidusio
|
|
116
|
-
changelog_uri: https://github.com/solidusio
|
|
134
|
+
homepage_uri: https://github.com/solidusio/solidus_webhooks#readme
|
|
135
|
+
source_code_uri: https://github.com/solidusio/solidus_webhooks
|
|
136
|
+
changelog_uri: https://github.com/solidusio/solidus_webhooks/releases
|
|
117
137
|
post_install_message:
|
|
118
138
|
rdoc_options: []
|
|
119
139
|
require_paths:
|