substance 0.29.0 → 0.29.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: a4ee281fa4f40e904e4c89d867163a75664fdb10f3b8384962dd46e52a1c1f07
4
- data.tar.gz: eaf141f9f322c114b78226ea10750393d6b9f710cd05bebb402f4f80352ad25d
3
+ metadata.gz: 2b3dd59ae5cd80ea7a5c40a80cef6632b9ddf4f1639ae54b8cae7121098b3538
4
+ data.tar.gz: 997f6100c12940b7f6b951b5339af65ee14416f5d41f191bc125830d136c7b2e
5
5
  SHA512:
6
- metadata.gz: 5f92232e4ee8dddf7cdae3d8ef0d102acae53539c2901129ca7cc9af5b2e882724875ccb32dad80ac0822520884034381b30a7e65bd2740656c37cd336568cb7
7
- data.tar.gz: ce3b10b5c6441dfd583e2b5eec031510a2741961ce39f75ecd0552fa86cce9552a620707a7adf43306234f036499ee2a1b1c75512cdeb0bf5cb55566747fdac9
6
+ metadata.gz: ce97fb18fb5f1eb6f1f339778dd79e938271e06f0a73693236f85f0606e57b7f65768ec32a08897b039f5a1c40f8e8b22c6fdd1055082e241a6e842c5183763b
7
+ data.tar.gz: 2a626e99f27696b641e224190fc88ca82585db170064f1b827492b3fcf3d41d26546eaea874f0ab0059286c787345451c9d4400b011b9cd1f4aad2d34b99f956
@@ -18,7 +18,9 @@ module Substance
18
18
 
19
19
  private
20
20
 
21
- def define_attribute(attribute)
21
+ def define_attribute(attribute, *args, **kwargs)
22
+ # super if defined?(super)
23
+
22
24
  _attributes << attribute
23
25
  attr_accessor attribute
24
26
  end
@@ -41,12 +41,7 @@ module Substance
41
41
  around_method method do |*args, **opts|
42
42
  raise NotValidatedError unless validated_output?(method)
43
43
 
44
- # TODO: replace with `super(...)` when <= 2.6 support is dropped
45
- if RUBY_VERSION < "2.7" && opts.blank?
46
- super(*args)
47
- else
48
- super(*args, **opts)
49
- end
44
+ super(*args, **opts)
50
45
  end
51
46
  end
52
47
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Substance
4
4
  # This constant is managed by spicerack
5
- VERSION = "0.29.0"
5
+ VERSION = "0.29.2"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: substance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.29.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Freshly Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-08 00:00:00.000000000 Z
11
+ date: 2023-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -16,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.1
19
+ version: 6.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.2.1
26
+ version: 6.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 5.2.1
33
+ version: 6.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 5.2.1
40
+ version: 6.0.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: short_circu_it
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.29.0
47
+ version: 0.29.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.29.0
54
+ version: 0.29.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: tablesalt
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.29.0
61
+ version: 0.29.2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.29.0
68
+ version: 0.29.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: technologic
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.29.0
75
+ version: 0.29.2
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.29.0
82
+ version: 0.29.2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: faker
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -229,14 +229,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
229
229
  requirements:
230
230
  - - ">="
231
231
  - !ruby/object:Gem::Version
232
- version: 2.6.0
232
+ version: 2.7.0
233
233
  required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  requirements:
235
235
  - - ">="
236
236
  - !ruby/object:Gem::Version
237
237
  version: '0'
238
238
  requirements: []
239
- rubygems_version: 3.3.8
239
+ rubygems_version: 3.3.15
240
240
  signing_key:
241
241
  specification_version: 4
242
242
  summary: Base classes for building powerful service objects