class-table-inheritance 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e27e0105847bc9bf4b3be11d2908984c1a74537c25d677552cc14308e7c4090
4
- data.tar.gz: 90a3df095f9c9a177aceea9654950c461d3f17d9752267ad450478c1b1e779a0
3
+ metadata.gz: 2b5ca50887e18888dd90d93d729ea1bb10360998d9eb291bbdafa7971039e8c2
4
+ data.tar.gz: e1896a0829ed6c0362f2bd112e65bfcc305ad5f537a66f8ca5758f032e2f1702
5
5
  SHA512:
6
- metadata.gz: c8d85a2ec1e415c425c589355647d48c63fdf2029a97c3b8274a0d89f291c17cff381d32d1e6d231a35e540a55e4322c325a1ffad168828c4cb3bdced88eceb2
7
- data.tar.gz: 7be4ebbb05a2544cc7a9797fc152324995b274c5835bc014935f3bc804df20a4961b6155bcb6514be3443ce587e4fc7207b6ada990f524722044c940cd4d7f88
6
+ metadata.gz: 2adbe784037311bd3cb7f99029b338a5ecfee6acecc8605441a36797e1f9963f9adf38af8cc262ef59ccea6b6f132414982148954c65c8f5c1f873d6af821e7a
7
+ data.tar.gz: 35c4a207b2d9a7efe06eb9aab0bd98921e7b372b2d17d851545712a5146871dfcaa416178eeb172e9cfb39886f4aabcf3aa8acdd084da1e9f4f00e4cfc884655
data/.travis.yml CHANGED
@@ -1,3 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.4
3
+ - 2.7.1
4
+ - 2.6.6
5
+ - 2.5.8
data/README.md CHANGED
@@ -3,6 +3,12 @@
3
3
  Change log
4
4
  ----------
5
5
 
6
+ ### 1.5.0
7
+
8
+ * Add ActiveRecord 6.0 support
9
+ * Require Ruby 2.5 or newer.
10
+
11
+
6
12
  ### 1.4.0
7
13
 
8
14
  * Add ActiveRecord 5.2 support
@@ -24,10 +30,13 @@ Change log
24
30
  Note about version
25
31
  ------------------
26
32
 
27
- If you are using Rails 2.3.8 or other version < 3, you have to use the version 1.1.x of this plugin, for Rails 3 you need to use the version 1.2.x or master of this plugin.
33
+ If you are using Rails 2.3.8 or other version < 3, you have to use the version 1.1.x of this gem.
34
+ For Rails 3 you need to use the version 1.2.x or master of this gem.
35
+ For Rails 4 and 5 you need to use the version 1.3.x to 1.4.x.
36
+ For Rails 6 you need to use version 1.5.x or master of this gem.
28
37
 
29
- ClassTableInheritance 1.3.0
30
- ---------------------------
38
+ ClassTableInheritance
39
+ ---------------------
31
40
 
32
41
  This is an ActiveRecord plugin designed to allow
33
42
  simple multiple table (class) inheritance.
@@ -12,16 +12,14 @@ Gem::Specification.new do |s|
12
12
  s.summary = %q{ActiveRecord plugin designed to allow simple multiple table (class) inheritance.}
13
13
  s.description = %q{ActiveRecord plugin designed to allow simple multiple table (class) inheritance.}
14
14
 
15
- s.rubyforge_project = "class-table-inheritance"
16
-
17
15
  s.files = `git ls-files`.split("\n")
18
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
18
  s.require_paths = ["lib"]
21
19
 
22
- s.required_ruby_version = '~> 2.2'
20
+ s.required_ruby_version = '>= 2.5', '< 4'
23
21
 
24
- s.add_runtime_dependency 'activerecord', '>=4', '<6'
22
+ s.add_runtime_dependency 'activerecord', '~>6.0'
25
23
 
26
24
  s.add_development_dependency 'minitest-reporters','~>1.1'
27
25
  s.add_development_dependency 'rake', '>=11'
@@ -1,3 +1,3 @@
1
1
  class ClassTableInheritance
2
- VERSION = "1.4.0"
2
+ VERSION = "1.5.0"
3
3
  end
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: class-table-inheritance
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-24 00:00:00.000000000 Z
11
+ date: 2021-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '4'
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '6'
19
+ version: '6.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '4'
30
- - - "<"
24
+ - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '6'
26
+ version: '6.0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: minitest-reporters
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -109,28 +103,20 @@ require_paths:
109
103
  - lib
110
104
  required_ruby_version: !ruby/object:Gem::Requirement
111
105
  requirements:
112
- - - "~>"
106
+ - - ">="
113
107
  - !ruby/object:Gem::Version
114
- version: '2.2'
108
+ version: '2.5'
109
+ - - "<"
110
+ - !ruby/object:Gem::Version
111
+ version: '4'
115
112
  required_rubygems_version: !ruby/object:Gem::Requirement
116
113
  requirements:
117
114
  - - ">="
118
115
  - !ruby/object:Gem::Version
119
116
  version: '0'
120
117
  requirements: []
121
- rubyforge_project: class-table-inheritance
122
- rubygems_version: 2.7.7
118
+ rubygems_version: 3.0.9
123
119
  signing_key:
124
120
  specification_version: 4
125
121
  summary: ActiveRecord plugin designed to allow simple multiple table (class) inheritance.
126
- test_files:
127
- - test/class_table_inheritance_test.rb
128
- - test/database.yml
129
- - test/models/book.rb
130
- - test/models/manager.rb
131
- - test/models/mod.rb
132
- - test/models/mod/user.rb
133
- - test/models/mod/video.rb
134
- - test/models/product.rb
135
- - test/schema.rb
136
- - test/test_helper.rb
122
+ test_files: []