activerecord-pg_enum 1.2.1 → 1.2.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: b134179642533a863076d742b3650d8206950d606059ac10be38d38bdee70789
4
- data.tar.gz: d10ed445144b43dd6e0f9fd06997b198fd80b49411917a26014bc65539b60426
3
+ metadata.gz: 41d36c9e4ee304c95191b220c77fce35aefe35302947e35a37a5b7140d2464d1
4
+ data.tar.gz: f0e1a8b1a8824df5b29e294f9cd35eb395712bf795d5a8b78bea9076a5986420
5
5
  SHA512:
6
- metadata.gz: 37b15da659116a26e3e94097a5ccf698dc1cfcdc59fe2aa8ab20f8a2402bf8534a4bbc373cbaadbd18b585da420e1f14ea7f944f3400e759f7a9d4a80230cfae
7
- data.tar.gz: 379a854b1d0a307ebfcb6a02f4cf4eb75135c941d6beda0e5ba53eb067a14398379e9102af6d76b2ac7116f896b5ba61a61fab0948a953ba1200d7436eb57eb1
6
+ metadata.gz: 9b2f8159361a471e78f894348d35e3cd4df4c5794afcbe10be6ceec198a9cc195a3898631699bbbcac630d480ba27bad7aa48481c02615dfd4787d52a985c38b
7
+ data.tar.gz: afa8c39a24d7ff70b50d7c22b5fc98cca1ac7b3ac05a4f87b61da8ba38c2a60a5bfd43c914d02e415b6813a4bc1640589fa7f0964a4d1000966bf652f46ba07b
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.2.2] - 2021-01-07
10
+ ### Fixed
11
+ - Don't mutate `Gem::Version#canonical_segments` (@agrobbin)
12
+
9
13
  ## [1.2.1] - 2021-01-05
10
14
  ### Fixed
11
15
  - Argument bug that surfaced in Ruby 3.0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.2.0)
4
+ activerecord-pg_enum (1.2.2)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.2.0)
4
+ activerecord-pg_enum (1.2.2)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.2.0)
4
+ activerecord-pg_enum (1.2.2)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.2.0)
4
+ activerecord-pg_enum (1.2.2)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.2.0)
4
+ activerecord-pg_enum (1.2.2)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activerecord", "< 6.1"
5
+ gem "activerecord", "~> 6.0"
6
6
 
7
7
  gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.2.0)
4
+ activerecord-pg_enum (1.2.2)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -59,7 +59,7 @@ PLATFORMS
59
59
  ruby
60
60
 
61
61
  DEPENDENCIES
62
- activerecord (< 6.1)
62
+ activerecord (~> 6.0)
63
63
  activerecord-pg_enum!
64
64
  appraisal
65
65
  bundler (~> 1.17)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-pg_enum (1.2.0)
4
+ activerecord-pg_enum (1.2.2)
5
5
  activerecord (>= 4.1.0)
6
6
  activesupport
7
7
  pg
@@ -87,7 +87,7 @@ GIT
87
87
  PATH
88
88
  remote: ..
89
89
  specs:
90
- activerecord-pg_enum (1.2.0)
90
+ activerecord-pg_enum (1.2.2)
91
91
  activerecord (>= 4.1.0)
92
92
  activesupport
93
93
  pg
@@ -45,7 +45,7 @@ module ActiveRecord
45
45
  end
46
46
 
47
47
  def approximate_version(version)
48
- segments = version.respond_to?(:canonical_segments) ? version.canonical_segments : version.segments
48
+ segments = version.respond_to?(:canonical_segments) ? version.canonical_segments.dup : version.segments
49
49
 
50
50
  segments.pop while segments.any? { |s| String === s }
51
51
  segments.pop while segments.size > 2
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module PGEnum
3
- VERSION = "1.2.1"
3
+ VERSION = "1.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-pg_enum
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Lassek
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-06 00:00:00.000000000 Z
11
+ date: 2021-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  requirements: []
217
- rubygems_version: 3.2.3
217
+ rubygems_version: 3.0.3
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: Integrate PostgreSQL's enumerated types with the Rails enum feature