spicerack 0.25.6 → 0.25.7

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: 3cfb6a17458b48287381371a6e44d136dc14a8f4e0bd5f603c23e1924498f540
4
- data.tar.gz: 5f8ba478c03f48a472f91204036335bf422ae92cacbd5a894eb3d2a25196d56d
3
+ metadata.gz: 2246c75d12ac431fa4de96f81000901612f41df84894e11349cac832bd985651
4
+ data.tar.gz: 23cdb0ab83f2753634827140535ddf6726cb8f1393a981700f33a6474c998fcd
5
5
  SHA512:
6
- metadata.gz: 4e4be218c9d409619a1997e39edf2864c66b379be63eaeb308a157b89d7aafef7173b04a4e206a31178f8891a24307babc07c99e266fd06ce356f3a031821d2e
7
- data.tar.gz: fd4eac37af22f80cbcde47d02a6b0ae9c574f4abe4f5a591389c2665830dc200c8e3630e4b9a926cf146f7cfcd2c6c4da843be2dd0e334d2906cb944c873f02b
6
+ metadata.gz: 6b357ba8f7f5278b2ed049fccdd8293e5ec6c72e116397ca5e18b25b6e811db3706d8a784b531ae07e609851d2f607a11e2ddca3c778a468e08f93ba8d5a7cc6
7
+ data.tar.gz: 41dd0ae8dde96dabb68ffe395fbf8afcd1e0fc751e8c271b2d6bab7725cbac868b4ed1bde894e5ac2d30fa85a6644d9df175cde245ed114997bd2c35babd77c4
@@ -36,10 +36,15 @@ module Spicerack
36
36
  end
37
37
 
38
38
  def ensure_validation_before(method)
39
- around_method method do |*arguments|
39
+ around_method method do |*args, **opts|
40
40
  raise NotValidatedError unless validated?
41
41
 
42
- super(*arguments)
42
+ # TODO: replace with `super(...)` when <= 2.6 support is dropped
43
+ if RUBY_VERSION < "2.7" && opts.blank?
44
+ super(*args)
45
+ else
46
+ super(*args, **opts)
47
+ end
43
48
  end
44
49
  end
45
50
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Spicerack
4
4
  # This constant is managed by spicerack
5
- VERSION = "0.25.6"
5
+ VERSION = "0.25.7"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spicerack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.6
4
+ version: 0.25.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Garside
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2021-02-24 00:00:00.000000000 Z
15
+ date: 2021-04-09 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: around_the_world
@@ -20,70 +20,70 @@ dependencies:
20
20
  requirements:
21
21
  - - '='
22
22
  - !ruby/object:Gem::Version
23
- version: 0.25.6
23
+ version: 0.25.7
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
28
  - - '='
29
29
  - !ruby/object:Gem::Version
30
- version: 0.25.6
30
+ version: 0.25.7
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: redis_hash
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  requirements:
35
35
  - - '='
36
36
  - !ruby/object:Gem::Version
37
- version: 0.25.6
37
+ version: 0.25.7
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
42
  - - '='
43
43
  - !ruby/object:Gem::Version
44
- version: 0.25.6
44
+ version: 0.25.7
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: short_circu_it
47
47
  requirement: !ruby/object:Gem::Requirement
48
48
  requirements:
49
49
  - - '='
50
50
  - !ruby/object:Gem::Version
51
- version: 0.25.6
51
+ version: 0.25.7
52
52
  type: :runtime
53
53
  prerelease: false
54
54
  version_requirements: !ruby/object:Gem::Requirement
55
55
  requirements:
56
56
  - - '='
57
57
  - !ruby/object:Gem::Version
58
- version: 0.25.6
58
+ version: 0.25.7
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: technologic
61
61
  requirement: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - '='
64
64
  - !ruby/object:Gem::Version
65
- version: 0.25.6
65
+ version: 0.25.7
66
66
  type: :runtime
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
69
69
  requirements:
70
70
  - - '='
71
71
  - !ruby/object:Gem::Version
72
- version: 0.25.6
72
+ version: 0.25.7
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: tablesalt
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - '='
78
78
  - !ruby/object:Gem::Version
79
- version: 0.25.6
79
+ version: 0.25.7
80
80
  type: :runtime
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
83
83
  requirements:
84
84
  - - '='
85
85
  - !ruby/object:Gem::Version
86
- version: 0.25.6
86
+ version: 0.25.7
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: bundler
89
89
  requirement: !ruby/object:Gem::Requirement
@@ -208,28 +208,28 @@ dependencies:
208
208
  requirements:
209
209
  - - '='
210
210
  - !ruby/object:Gem::Version
211
- version: 0.25.6
211
+ version: 0.25.7
212
212
  type: :development
213
213
  prerelease: false
214
214
  version_requirements: !ruby/object:Gem::Requirement
215
215
  requirements:
216
216
  - - '='
217
217
  - !ruby/object:Gem::Version
218
- version: 0.25.6
218
+ version: 0.25.7
219
219
  - !ruby/object:Gem::Dependency
220
220
  name: spicerack-styleguide
221
221
  requirement: !ruby/object:Gem::Requirement
222
222
  requirements:
223
223
  - - '='
224
224
  - !ruby/object:Gem::Version
225
- version: 0.25.6
225
+ version: 0.25.7
226
226
  type: :development
227
227
  prerelease: false
228
228
  version_requirements: !ruby/object:Gem::Requirement
229
229
  requirements:
230
230
  - - '='
231
231
  - !ruby/object:Gem::Version
232
- version: 0.25.6
232
+ version: 0.25.7
233
233
  - !ruby/object:Gem::Dependency
234
234
  name: will_paginate
235
235
  requirement: !ruby/object:Gem::Requirement