solidus_subscriptions 2.0.0 → 2.0.1

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: 1121154a5a07221430e6e96512ba434fb46f50be524cd48bb894c44f88793c52
4
- data.tar.gz: 9869b12284c983cee09bd75f8e4467aea1789b042c2c7da9cbcab36eb1da20c7
3
+ metadata.gz: f229279a8b2a541d098058fb4a5783d783c5e1df0de88c0cbebe7fa896702ccf
4
+ data.tar.gz: 54f1be94ee063d37b4f720a0df951babf6459cb471a1c742cdd6d877f88a55e7
5
5
  SHA512:
6
- metadata.gz: d81b22eb6487b3e0963a93ccf56ffb6b2f0ef79196b28a5b0e2633c411f511d091f176723a187a717cd516094891d204eebb869806687774a583b9b1f96a3582
7
- data.tar.gz: 97ddff9ba7136ee880ffeb4e97c7bc03c56d4ce1eaee292ab287b2b4ae80d84d6b860328938985c355cc31e81a47c6eddc585388e2ddd3ae560fc1adc2d8705a
6
+ metadata.gz: cb5bc225b2e7a123d29ea12b1f626b7a4d671e4437dc3ca77a1d9dab316c0099ccdc066ff6b4799ba56c5641764649b9038372bc1154a76f72aa8db15e5c8c40
7
+ data.tar.gz: 3b0a0180d0b584bf31ed3410886510021a15ca9177f272fbc3552fe93a3b68b75a50c74635761d456aa3c34df981fe7016d80071273c96bbd552fe70a6b5840d
@@ -24,7 +24,7 @@ module SolidusSubscriptions
24
24
  # to it.
25
25
  #
26
26
  # @return [Boolean]
27
- def eligible?(order, **_options)
27
+ def eligible?(order, _options = {})
28
28
  order.subscription_line_items.any?
29
29
  end
30
30
 
@@ -22,7 +22,7 @@ module SolidusSubscriptions
22
22
  # to it.
23
23
  #
24
24
  # @return [Boolean]
25
- def eligible?(order, **_options)
25
+ def eligible?(order, _options = {})
26
26
  order.subscription_order?
27
27
  end
28
28
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusSubscriptions
4
- VERSION = '2.0.0'
4
+ VERSION = '2.0.1'
5
5
  end
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_dependency 'deface'
33
33
  spec.add_dependency 'httparty', '~> 0.18'
34
34
  spec.add_dependency 'i18n'
35
- spec.add_dependency 'solidus_core', '>= 2.11', '< 4'
35
+ spec.add_dependency 'solidus_core', '>= 2.11', '< 5'
36
36
  spec.add_dependency 'solidus_support', '~> 0.9'
37
37
  spec.add_dependency 'state_machines'
38
38
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_subscriptions
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-03 00:00:00.000000000 Z
11
+ date: 2023-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
@@ -61,7 +61,7 @@ dependencies:
61
61
  version: '2.11'
62
62
  - - "<"
63
63
  - !ruby/object:Gem::Version
64
- version: '4'
64
+ version: '5'
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -71,7 +71,7 @@ dependencies:
71
71
  version: '2.11'
72
72
  - - "<"
73
73
  - !ruby/object:Gem::Version
74
- version: '4'
74
+ version: '5'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: solidus_support
77
77
  requirement: !ruby/object:Gem::Requirement