array_enum 1.2.0 → 1.3.0

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: b4f3ef7689bbd8ab0f1fd27d9c1157e40764fd6f991217f64937f903e058753d
4
- data.tar.gz: 377266d5f7da9332e61bc7cc825e5db419a76d2c2193b13474027c83fb3b18ef
3
+ metadata.gz: decd290271c41c2193a1e63f98a0df618c9a95813570aa01a32f27bd68d25865
4
+ data.tar.gz: da107aae087d6592ce0b33d8186170f41438b7be199737103a0b3bea4c13e53e
5
5
  SHA512:
6
- metadata.gz: 06404fcc83bf4b4b1a3ddc3718f1cee0f260a0572c97955e1b0184005950df32f2149e2175e55d20cb8e7f562e905e081fe1499a6007d8d9f22f16cf3f52a3b1
7
- data.tar.gz: fd070af7976fdf52f4f5a6672e51172afa51a781e80a07ddf6f4f9a9183249cdf42dd52b61ad92f4cdb284cfa6adc487bf64ef2c41d52ac75e3e7c4d06365534
6
+ metadata.gz: 8a4e5a2c6cf33ec8fa943d13d0b1b852f20671598556abd638c7fb72d9175e83b355cc122b615c3aa1e109511313b4e163f30808ec0a9d4cdb9f422571cdac49
7
+ data.tar.gz: d984bfdf1addd82a03fc1098453c9141f6ca3fb3b13ba8f9b2e4cde5d9d7244379d1677a248dbae93c3f272fee6e679c15ada79136ca6c9ea71da9e55d1ef56f
data/Gemfile.lock CHANGED
@@ -1,33 +1,32 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- array_enum (1.2.0)
4
+ array_enum (1.3.0)
5
5
  activemodel
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (6.0.0)
11
- activesupport (= 6.0.0)
12
- activerecord (6.0.0)
13
- activemodel (= 6.0.0)
14
- activesupport (= 6.0.0)
15
- activesupport (6.0.0)
10
+ activemodel (6.1.3)
11
+ activesupport (= 6.1.3)
12
+ activerecord (6.1.3)
13
+ activemodel (= 6.1.3)
14
+ activesupport (= 6.1.3)
15
+ activesupport (6.1.3)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
- i18n (>= 0.7, < 2)
18
- minitest (~> 5.1)
19
- tzinfo (~> 1.1)
20
- zeitwerk (~> 2.1, >= 2.1.8)
21
- concurrent-ruby (1.1.5)
22
- i18n (1.6.0)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
20
+ zeitwerk (~> 2.3)
21
+ concurrent-ruby (1.1.8)
22
+ i18n (1.8.9)
23
23
  concurrent-ruby (~> 1.0)
24
24
  minitest (5.11.3)
25
25
  pg (1.1.4)
26
26
  rake (12.3.3)
27
- thread_safe (0.3.6)
28
- tzinfo (1.2.5)
29
- thread_safe (~> 0.1)
30
- zeitwerk (2.1.9)
27
+ tzinfo (2.0.4)
28
+ concurrent-ruby (~> 1.0)
29
+ zeitwerk (2.4.2)
31
30
 
32
31
  PLATFORMS
33
32
  ruby
@@ -8,7 +8,7 @@ class ArrayEnum::SubsetValidator < ActiveModel::EachValidator
8
8
  diff = wrapped_value.reject { |element| subset.include?(element) }
9
9
 
10
10
  unless diff.empty?
11
- record.errors.add(attribute, :inclusion, options.except(:in, :within).merge!(value: diff))
11
+ record.errors.add(attribute, :inclusion, **options.except(:in, :within).merge!(value: diff))
12
12
  end
13
13
  end
14
14
 
@@ -1,3 +1,3 @@
1
1
  module ArrayEnum
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: array_enum
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wojciech Wnętrzak
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-05 00:00:00.000000000 Z
11
+ date: 2021-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -123,7 +123,7 @@ licenses:
123
123
  metadata:
124
124
  homepage_uri: https://github.com/freeletics/array_enum
125
125
  source_code_uri: https://github.com/freeletics/array_enum
126
- post_install_message:
126
+ post_install_message:
127
127
  rdoc_options: []
128
128
  require_paths:
129
129
  - lib
@@ -138,8 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  requirements: []
141
- rubygems_version: 3.0.6
142
- signing_key:
141
+ rubygems_version: 3.2.3
142
+ signing_key:
143
143
  specification_version: 4
144
144
  summary: String to integer mapping for PostgreSQL array columns.
145
145
  test_files: []