active_type 1.9.1 → 1.10.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: 679ceb6ab663f4b896f785ef7a2812adc666cd2c0046f3e168ae61101450522c
4
- data.tar.gz: 1b3638ab630426c42cc434b0d61f5c5443987da2057bac5731b0ab8c4e79fc3d
3
+ metadata.gz: dd315f906e03d147dd627c8d3ba906f272ab449fc1a4b9575c4d5e693659f459
4
+ data.tar.gz: 473332af36c476e5126f22918fa6d2ad0fcc77ff5fa74d2623d3cf161ea3a79b
5
5
  SHA512:
6
- metadata.gz: 158f10de45935c7e86aa05437389a7e37c0b2e25187c749b9f57573eea2c088eeb0bb3ea8974b6b1361f0ccb8b334fb470f8e9127861f267e8e3956356f5a278
7
- data.tar.gz: a4548b9bb42574175f58b4c485f34cc28a61a164c8f3b7de446ad64b28b46a5c65d266f740cb31f078d3951aabc8ebbf2c765bd96ff8fb5d7f3f77ca14e034d0
6
+ metadata.gz: 5c52be3d4270400c51f926c16b25b0b208eafa1484b4c1f5e2393d5d16b049389ff98e6b9e82815b8cbfe7f0153ae113e8af1dcd2fe3c6224946ad7ef24ddd3c
7
+ data.tar.gz: 96c02ce9e42ef02dbabca4e3b9402c4fcf6a4cf5e774303f77daa4697f692e0d0b25f39ee090175586ded4a01e8c8ca37acbea5a5b249d8095b0a1ed5b5638ba
@@ -14,12 +14,8 @@ jobs:
14
14
  fail-fast: false
15
15
  matrix:
16
16
  include:
17
- - ruby: "2.3.8"
18
- gemfile: Gemfile.3.2.sqlite3
19
- - ruby: "2.3.8"
17
+ - ruby: "2.5.5"
20
18
  gemfile: Gemfile.4.2.sqlite3
21
- - ruby: "2.3.8"
22
- gemfile: Gemfile.5.2.sqlite3
23
19
  - ruby: "2.5.5"
24
20
  gemfile: Gemfile.5.2.sqlite3
25
21
  - ruby: "2.5.5"
@@ -80,12 +76,8 @@ jobs:
80
76
  fail-fast: false
81
77
  matrix:
82
78
  include:
83
- - ruby: "2.3.8"
84
- gemfile: Gemfile.3.2.mysql2
85
- - ruby: "2.3.8"
79
+ - ruby: "2.5.5"
86
80
  gemfile: Gemfile.4.2.mysql2
87
- - ruby: "2.3.8"
88
- gemfile: Gemfile.5.2.mysql2
89
81
  - ruby: "2.6.3"
90
82
  gemfile: Gemfile.5.2.mysql2
91
83
  - ruby: "2.7.2"
@@ -135,9 +127,9 @@ jobs:
135
127
  fail-fast: false
136
128
  matrix:
137
129
  include:
138
- - ruby: "2.3.8"
130
+ - ruby: "2.5.5"
139
131
  gemfile: Gemfile.4.2.pg
140
- - ruby: "2.3.8"
132
+ - ruby: "2.5.5"
141
133
  gemfile: Gemfile.5.2.pg
142
134
  - ruby: "2.5.5"
143
135
  gemfile: Gemfile.6.1.pg
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## Unreleased changes
6
6
 
7
+ ## 1.10.0 (2021-08-11)
8
+
9
+ * Removed: Tests for Ruby 2.4 and ActiveRecord 3.2.
10
+
7
11
  ## 1.9.1 (2021-06-29)
8
12
 
9
13
  * Fixed: Retain `#mutations_from_database` when using ActiveType.cast (Rails 5.2+). Thanks to @unrooty-infinum.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_type (1.9.1)
4
+ active_type (1.10.0)
5
5
  activerecord (>= 3.2)
6
6
 
7
7
  GEM
@@ -58,4 +58,4 @@ DEPENDENCIES
58
58
  rspec (~> 3.4)
59
59
 
60
60
  BUNDLED WITH
61
- 2.1.4
61
+ 2.2.16
data/Gemfile.4.2.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_type (1.9.1)
4
+ active_type (1.10.0)
5
5
  activerecord (>= 3.2)
6
6
 
7
7
  GEM
@@ -58,4 +58,4 @@ DEPENDENCIES
58
58
  rspec (~> 3.4)
59
59
 
60
60
  BUNDLED WITH
61
- 2.1.4
61
+ 2.2.16
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_type (1.9.1)
4
+ active_type (1.10.0)
5
5
  activerecord (>= 3.2)
6
6
 
7
7
  GEM
@@ -58,4 +58,4 @@ DEPENDENCIES
58
58
  sqlite3
59
59
 
60
60
  BUNDLED WITH
61
- 2.1.4
61
+ 2.2.16
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_type (1.9.1)
4
+ active_type (1.10.0)
5
5
  activerecord (>= 3.2)
6
6
 
7
7
  GEM
data/Gemfile.5.2.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_type (1.9.1)
4
+ active_type (1.10.0)
5
5
  activerecord (>= 3.2)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_type (1.9.1)
4
+ active_type (1.10.0)
5
5
  activerecord (>= 3.2)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_type (1.9.1)
4
+ active_type (1.10.0)
5
5
  activerecord (>= 3.2)
6
6
 
7
7
  GEM
data/Gemfile.6.1.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_type (1.9.1)
4
+ active_type (1.10.0)
5
5
  activerecord (>= 3.2)
6
6
 
7
7
  GEM
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_type (1.9.1)
4
+ active_type (1.10.0)
5
5
  activerecord (>= 3.2)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -405,14 +405,14 @@ Now, if you load `credentials`, you will automatically receive records of type `
405
405
  Supported Rails versions
406
406
  ------------------------
407
407
 
408
- ActiveType is tested against ActiveRecord 3.2, 4.2, 5.1, 5.2, 6.0 and 6.1.
408
+ ActiveType is tested against ActiveRecord 4.2, 5.1, 5.2, 6.0 and 6.1.
409
409
 
410
410
  Later versions might work, earlier will not.
411
411
 
412
412
  Supported Ruby versions
413
413
  ------------------------
414
414
 
415
- ActiveType is tested against 2.3, 2.4, 2.5 and 3.0.
415
+ ActiveType is tested against 2.5, 2.6, 2.7 and 3.0.
416
416
 
417
417
 
418
418
  Installation
@@ -1,3 +1,3 @@
1
1
  module ActiveType
2
- VERSION = '1.9.1'
2
+ VERSION = '1.10.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_type
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Kraze
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-06-29 00:00:00.000000000 Z
12
+ date: 2021-08-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -65,10 +65,6 @@ files:
65
65
  - ".ruby-version"
66
66
  - CHANGELOG.md
67
67
  - Gemfile
68
- - Gemfile.3.2.mysql2
69
- - Gemfile.3.2.mysql2.lock
70
- - Gemfile.3.2.sqlite3
71
- - Gemfile.3.2.sqlite3.lock
72
68
  - Gemfile.4.2.mysql2
73
69
  - Gemfile.4.2.mysql2.lock
74
70
  - Gemfile.4.2.pg
@@ -127,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
123
  - !ruby/object:Gem::Version
128
124
  version: '0'
129
125
  requirements: []
130
- rubygems_version: 3.1.4
126
+ rubygems_version: 3.2.15
131
127
  signing_key:
132
128
  specification_version: 4
133
129
  summary: Make any Ruby object quack like ActiveRecord
data/Gemfile.3.2.mysql2 DELETED
@@ -1,10 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'activerecord', '~> 3.2.22.5'
4
- gem 'rspec', '~> 3.4'
5
- gem 'mysql2', git: 'https://github.com/makandra/mysql2', branch: '0.3.x-lts'
6
- gem 'rake'
7
- gem 'gemika'
8
-
9
- gem 'active_type', :path => '.'
10
- gem 'i18n', '=0.6.11' # 0.7 no longer builds for Ruby 1.8.7
@@ -1,63 +0,0 @@
1
- GIT
2
- remote: https://github.com/makandra/mysql2
3
- revision: c920d41e43c4722d4c065d2ea9d21494c560bd85
4
- branch: 0.3.x-lts
5
- specs:
6
- mysql2 (0.3.21)
7
-
8
- PATH
9
- remote: .
10
- specs:
11
- active_type (1.6.0)
12
- activerecord (>= 3.2)
13
-
14
- GEM
15
- remote: https://rubygems.org/
16
- specs:
17
- activemodel (3.2.22.5)
18
- activesupport (= 3.2.22.5)
19
- builder (~> 3.0.0)
20
- activerecord (3.2.22.5)
21
- activemodel (= 3.2.22.5)
22
- activesupport (= 3.2.22.5)
23
- arel (~> 3.0.2)
24
- tzinfo (~> 0.3.29)
25
- activesupport (3.2.22.5)
26
- i18n (~> 0.6, >= 0.6.4)
27
- multi_json (~> 1.0)
28
- arel (3.0.3)
29
- builder (3.0.4)
30
- diff-lcs (1.2.5)
31
- gemika (0.4.1)
32
- i18n (0.6.11)
33
- multi_json (1.13.1)
34
- rake (10.4.2)
35
- rspec (3.4.0)
36
- rspec-core (~> 3.4.0)
37
- rspec-expectations (~> 3.4.0)
38
- rspec-mocks (~> 3.4.0)
39
- rspec-core (3.4.1)
40
- rspec-support (~> 3.4.0)
41
- rspec-expectations (3.4.0)
42
- diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.4.0)
44
- rspec-mocks (3.4.1)
45
- diff-lcs (>= 1.2.0, < 2.0)
46
- rspec-support (~> 3.4.0)
47
- rspec-support (3.4.1)
48
- tzinfo (0.3.55)
49
-
50
- PLATFORMS
51
- ruby
52
-
53
- DEPENDENCIES
54
- active_type!
55
- activerecord (~> 3.2.22.5)
56
- gemika
57
- i18n (= 0.6.11)
58
- mysql2!
59
- rake
60
- rspec (~> 3.4)
61
-
62
- BUNDLED WITH
63
- 2.1.4
data/Gemfile.3.2.sqlite3 DELETED
@@ -1,10 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'activerecord', '~> 3.2.22.5'
4
- gem 'rspec', '~>3.4'
5
- gem 'sqlite3'
6
- gem 'rake'
7
- gem 'gemika'
8
-
9
- gem 'active_type', :path => '.'
10
- gem 'i18n', '=0.6.11' # 0.7 no longer builds for Ruby 1.8.7
@@ -1,57 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- active_type (1.9.1)
5
- activerecord (>= 3.2)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- activemodel (3.2.22.5)
11
- activesupport (= 3.2.22.5)
12
- builder (~> 3.0.0)
13
- activerecord (3.2.22.5)
14
- activemodel (= 3.2.22.5)
15
- activesupport (= 3.2.22.5)
16
- arel (~> 3.0.2)
17
- tzinfo (~> 0.3.29)
18
- activesupport (3.2.22.5)
19
- i18n (~> 0.6, >= 0.6.4)
20
- multi_json (~> 1.0)
21
- arel (3.0.3)
22
- builder (3.0.4)
23
- diff-lcs (1.2.5)
24
- gemika (0.4.1)
25
- i18n (0.6.11)
26
- multi_json (1.13.1)
27
- rake (10.4.2)
28
- rspec (3.4.0)
29
- rspec-core (~> 3.4.0)
30
- rspec-expectations (~> 3.4.0)
31
- rspec-mocks (~> 3.4.0)
32
- rspec-core (3.4.1)
33
- rspec-support (~> 3.4.0)
34
- rspec-expectations (3.4.0)
35
- diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.4.0)
37
- rspec-mocks (3.4.1)
38
- diff-lcs (>= 1.2.0, < 2.0)
39
- rspec-support (~> 3.4.0)
40
- rspec-support (3.4.1)
41
- sqlite3 (1.3.11)
42
- tzinfo (0.3.55)
43
-
44
- PLATFORMS
45
- ruby
46
-
47
- DEPENDENCIES
48
- active_type!
49
- activerecord (~> 3.2.22.5)
50
- gemika
51
- i18n (= 0.6.11)
52
- rake
53
- rspec (~> 3.4)
54
- sqlite3
55
-
56
- BUNDLED WITH
57
- 2.1.4