solidus_webhooks 0.4.1 → 0.4.2

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: bbece9b61fc0efa4aff2ad40c3de393255be4a5c50a0f4b6fc70864eb136ed4c
4
- data.tar.gz: af07e20e789d3d66983803fe91bd6bd5e3ae77119c4bc96333162f74eb39e786
3
+ metadata.gz: acf5b91f017aa25c6095ea5209e8789a9aa62029f7b9b512dcb9e1cf1094691c
4
+ data.tar.gz: 8c5e0afbde2ee8602fd7712164bef6c0d5d3519b02ecffe71adad920365cd844
5
5
  SHA512:
6
- metadata.gz: 349a87f5b58d62023bfb3ae61baf512ee674ffa1a3ba1fa04bc511a26039e07c792885ae732bf4a78999e9575fdd3a0a6e0e88edaf19f689eedf67b77fd433dc
7
- data.tar.gz: 8b8b63754f026431e9033518affe8b97b8a23672e7ed39022221caf0d2e445097c8185c9a32a7a16cd52ce3bdb010ab39e32c28a21bb127fbfa5b6936b7f034d
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: master
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: ["master"], ruby: ["3.2"], db: ["postgres"] }
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 master":
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: ["master"], ruby: ["3.2"], db: ["postgres"] }
65
+ parameters: { solidus: ["main"], ruby: ["3.2"], db: ["postgres"] }
66
66
  - run-specs:
67
67
  name: *name
68
68
  matrix:
data/CHANGELOG.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # Changelog
2
2
 
3
- See https://github.com/solidusio-contrib/solidus_webhooks/releases or [OLD_CHANGELOG.md](OLD_CHANGELOG.md) for older versions.
3
+ See https://github.com/solidusio/solidus_webhooks/releases or [OLD_CHANGELOG.md](OLD_CHANGELOG.md) for older versions.
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', 'master')
7
- solidus_git, solidus_frontend_git = if (branch == 'master') || (branch >= 'v3.2')
8
- %w[solidusio/solidus solidusio/solidus_frontend]
9
- else
10
- %w[solidusio/solidus] * 2
11
- end
12
- gem 'solidus', github: solidus_git, branch: branch
13
- gem 'solidus_frontend', github: solidus_frontend_git, branch: branch
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-contrib/solidus_webhooks/tree/v0.3.0) (2021-04-20)
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-contrib/solidus_webhooks/compare/v0.3.0...v0.3.0)
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-contrib/solidus_webhooks/issues/8)
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-contrib/solidus_webhooks/pull/10) ([kennyadsl](https://github.com/kennyadsl))
14
- - Reconcile master and v0.3.0 [\#7](https://github.com/solidusio-contrib/solidus_webhooks/pull/7) ([elia](https://github.com/elia))
15
- - Bump solidus\_support to ~\> 0.6 [\#6](https://github.com/solidusio-contrib/solidus_webhooks/pull/6) ([peterberkenbosch](https://github.com/peterberkenbosch))
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-contrib/solidus_webhooks/tree/v0.3.0) (2020-10-20)
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-contrib/solidus_webhooks/compare/v0.2.0...v0.3.0)
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-contrib/solidus_webhooks/pull/5) ([elia](https://github.com/elia))
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-contrib/solidus_webhooks/tree/v0.2.0) (2020-06-10)
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-contrib/solidus_webhooks/compare/v0.1.0...v0.2.0)
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-contrib/solidus_webhooks/pull/4) ([elia](https://github.com/elia))
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-contrib/solidus_webhooks/tree/v0.1.0) (2020-05-14)
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-contrib/solidus_webhooks/compare/v0.1.0.beta.1...v0.1.0)
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-contrib/solidus_webhooks/tree/v0.1.0.beta.1) (2020-05-13)
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-contrib/solidus_webhooks/compare/v0.0.1.v0.1.0.beta.1.1...v0.1.0.beta.1)
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-contrib/solidus_webhooks/tree/v0.0.1.v0.1.0.beta.1.1) (2020-05-13)
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-contrib/solidus_webhooks/compare/9573caa400232ffb44cde7f8cf907171a529ced3...v0.0.1.v0.1.0.beta.1.1)
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-contrib [\#2](https://github.com/solidusio-contrib/solidus_webhooks/pull/2) ([elia](https://github.com/elia))
48
- - Add the ability to register and receive webhooks [\#1](https://github.com/solidusio-contrib/solidus_webhooks/pull/1) ([elia](https://github.com/elia))
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
- [![CircleCI](https://circleci.com/gh/solidusio-contrib/solidus_webhooks.svg?style=shield)](https://circleci.com/gh/solidusio-contrib/solidus_webhooks)
4
- [![codecov](https://codecov.io/gh/solidusio-contrib/solidus_webhooks/branch/master/graph/badge.svg)](https://codecov.io/gh/solidusio-contrib/solidus_webhooks)
3
+ [![CircleCI](https://circleci.com/gh/solidusio/solidus_webhooks.svg?style=shield)](https://circleci.com/gh/solidusio/solidus_webhooks)
4
+ [![codecov](https://codecov.io/gh/solidusio/solidus_webhooks/branch/master/graph/badge.svg)](https://codecov.io/gh/solidusio/solidus_webhooks)
5
5
 
6
6
  <!-- Explain what your extension does. -->
7
7
 
data/bin/sandbox CHANGED
@@ -22,7 +22,7 @@ if [ ! -z $SOLIDUS_BRANCH ]
22
22
  then
23
23
  BRANCH=$SOLIDUS_BRANCH
24
24
  else
25
- BRANCH="master"
25
+ BRANCH="main"
26
26
  fi
27
27
 
28
28
  extension_name="solidus_webhooks"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusWebhooks
4
- VERSION = '0.4.1'
4
+ VERSION = '0.4.2'
5
5
  end
@@ -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-contrib/solidus_webhooks#readme'
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-contrib/solidus_webhooks'
17
- spec.metadata['changelog_uri'] = 'https://github.com/solidusio-contrib/solidus_webhooks/releases'
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.1
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-08 00:00:00.000000000 Z
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-contrib/solidus_webhooks#readme
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-contrib/solidus_webhooks#readme
115
- source_code_uri: https://github.com/solidusio-contrib/solidus_webhooks
116
- changelog_uri: https://github.com/solidusio-contrib/solidus_webhooks/releases
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: