activerecord-type-symbol 0.4.0 → 0.5.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: 240201a9f3e265bba10e5f1ead44ebea283dc3642c87a194d5423916422dfcda
4
- data.tar.gz: e8245ab21c20f04daae429e3f338dbb56959879feb3c9c8bb73d44e5f1911207
3
+ metadata.gz: 7ece97328b7a2888ffe35376af71b0707cec4bac7d8b9088f4a971166541370c
4
+ data.tar.gz: 42d1092a1c0e699c2dc9dbc99e04f244b1101765b074b9218fa2be4a926a60ae
5
5
  SHA512:
6
- metadata.gz: 4ae02770595f275cfad9cdc8faaf09a4d34fd7677ed170b1ebe3f996be8acfa16b93a7ecf197b35196a9c9de6c2a193699303082cafbf72aea167e748d6b2c69
7
- data.tar.gz: 93dcabcdd58d802ec3ab0e3817b5c1de864a66b83fca4f41e8a9c3fb455f21d25f76c5f1a184b9f64bd149d7c9601d8c4bf7127a7e31aa96d2dc287f114b6563
6
+ metadata.gz: c2189b34231e278bd3984c56ea481844bcad2bcf5e82b90ebecfb628e00637e4eb44f270f87eb8e3b3397b93471dd202464a9bd101d343c118f74dc54578b373
7
+ data.tar.gz: 133ab85cb9c3597b4fc52f5c3a67c50e7281839d0dd7e608e8b337e08a45018ef1fcbe00bf4d657affb3962b3ad240ca92ae7477baaa871328c70b3adb4c7a09
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.5
2
+ TargetRubyVersion: 2.7
3
3
 
4
4
  Style/WordArray:
5
5
  EnforcedStyle: brackets
data/.travis.yml CHANGED
@@ -1,15 +1,13 @@
1
1
  language: ruby
2
2
  sudo: false
3
3
  gemfile:
4
- - gemfiles/rails_5.0.gemfile
5
- - gemfiles/rails_5.1.gemfile
6
- - gemfiles/rails_5.2.gemfile
7
4
  - gemfiles/rails_6.0.gemfile
8
5
  - gemfiles/rails_6.1.gemfile
6
+ - gemfiles/rails_7.0.gemfile
9
7
  rvm:
10
- - 2.5.8
11
- - 2.6.6
12
- - 2.7.2
8
+ - 2.7.5
9
+ - 3.0.3
10
+ - 3.1.0
13
11
  script:
14
12
  - bundle exec rspec
15
13
  - bundle exec rubocop
data/Appraisals CHANGED
@@ -1,27 +1,16 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'rails-5.0' do
4
- gem 'sqlite3', '~> 1.3.6'
5
- gem 'activerecord', '5.0.7.2'
6
- gem 'activemodel', '5.0.7.2'
7
- end
8
-
9
- appraise 'rails-5.1' do
10
- gem 'activerecord', '5.1.7'
11
- gem 'activemodel', '5.1.7'
12
- end
13
-
14
- appraise 'rails-5.2' do
15
- gem 'activerecord', '5.2.4.4'
16
- gem 'activemodel', '5.2.4.4'
17
- end
18
-
19
3
  appraise 'rails-6.0' do
20
- gem 'activerecord', '6.0.3.3'
21
4
  gem 'activemodel', '6.0.3.3'
5
+ gem 'activerecord', '6.0.3.3'
22
6
  end
23
7
 
24
8
  appraise 'rails-6.1' do
25
- gem 'activerecord', '6.1.0'
26
9
  gem 'activemodel', '6.1.0'
10
+ gem 'activerecord', '6.1.0'
11
+ end
12
+
13
+ appraise 'rails-7.0' do
14
+ gem 'activemodel', '7.0.1'
15
+ gem 'activerecord', '7.0.1'
27
16
  end
data/CHANGELOG.md CHANGED
@@ -1,17 +1,22 @@
1
1
  # Changelog
2
2
 
3
- ### 0.4.0
3
+ ## 0.5.0
4
+ - Support rails 7.0 and ruby 3.1
5
+ - Drop support rails < 6.0
6
+ - Drop support ruby < 2.7
7
+
8
+ ## 0.4.0
4
9
  - Support rails 6.1
5
10
  - Drop support for ruby < 2.5
6
11
 
7
- ### 0.3.0
12
+ ## 0.3.0
8
13
  - Support rails 6.0
9
14
  - Added bundler back to development dependencies
10
15
  - Fix rubocop config
11
16
  - Use sqlite instead of PG for tests
12
17
 
13
- ### 0.2.0
18
+ ## 0.2.0
14
19
  - Remove bundler from dependencies
15
20
 
16
- ### 0.1.0
21
+ ## 0.1.0
17
22
  - Initial implementation
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'activerecord-type-symbol'
8
- spec.version = '0.4.0'
8
+ spec.version = '0.5.0'
9
9
  spec.authors = ['Will Leonard']
10
10
  spec.email = ['will.leonard89@gmail.com']
11
11
 
@@ -27,10 +27,10 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ['lib']
29
29
 
30
- spec.required_ruby_version = '>= 2.5'
30
+ spec.required_ruby_version = '>= 2.7'
31
31
 
32
- spec.add_dependency 'activemodel', '>= 5.0', '< 6.2'
33
- spec.add_dependency 'activerecord', '>= 5.0', '< 6.2'
32
+ spec.add_dependency 'activemodel', '>= 5.0', '< 7.1'
33
+ spec.add_dependency 'activerecord', '>= 5.0', '< 7.1'
34
34
 
35
35
  spec.add_development_dependency 'appraisal'
36
36
  spec.add_development_dependency 'bundler', '>= 1.3.0'
@@ -1,6 +1,7 @@
1
- # This file was generated by Appraisal
2
1
  # frozen_string_literal: true
3
2
 
3
+ # This file was generated by Appraisal
4
+
4
5
  source 'https://rubygems.org'
5
6
 
6
7
  gem 'activemodel', '6.0.3.3'
@@ -1,6 +1,7 @@
1
- # This file was generated by Appraisal
2
1
  # frozen_string_literal: true
3
2
 
3
+ # This file was generated by Appraisal
4
+
4
5
  source 'https://rubygems.org'
5
6
 
6
7
  gem 'activemodel', '6.1.0'
@@ -1,9 +1,10 @@
1
- # This file was generated by Appraisal
2
1
  # frozen_string_literal: true
3
2
 
3
+ # This file was generated by Appraisal
4
+
4
5
  source 'https://rubygems.org'
5
6
 
6
- gem 'activemodel', '5.1.7'
7
- gem 'activerecord', '5.1.7'
7
+ gem 'activemodel', '7.0.1'
8
+ gem 'activerecord', '7.0.1'
8
9
 
9
10
  gemspec path: '../'
@@ -3,7 +3,7 @@
3
3
  module ActiveRecord
4
4
  module Type
5
5
  class Symbol < ActiveModel::Type::Value
6
- VERSION = '0.4.0'
6
+ VERSION = '0.5.0'
7
7
 
8
8
  def type
9
9
  :symbol
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-type-symbol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Leonard
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-12 00:00:00.000000000 Z
11
+ date: 2022-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5.0'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.2'
22
+ version: '7.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5.0'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.2'
32
+ version: '7.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activerecord
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '5.0'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '6.2'
42
+ version: '7.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '5.0'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '6.2'
52
+ version: '7.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: appraisal
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -162,7 +162,7 @@ dependencies:
162
162
  - - ">="
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
- description:
165
+ description:
166
166
  email:
167
167
  - will.leonard89@gmail.com
168
168
  executables: []
@@ -183,11 +183,9 @@ files:
183
183
  - activerecord-type-symbol.gemspec
184
184
  - bin/console
185
185
  - bin/setup
186
- - gemfiles/rails_5.0.gemfile
187
- - gemfiles/rails_5.1.gemfile
188
- - gemfiles/rails_5.2.gemfile
189
186
  - gemfiles/rails_6.0.gemfile
190
187
  - gemfiles/rails_6.1.gemfile
188
+ - gemfiles/rails_7.0.gemfile
191
189
  - lib/active_record-type-symbol.rb
192
190
  - lib/active_record/type/symbol.rb
193
191
  homepage: https://github.com/will89/activerecord-type-symbol
@@ -198,7 +196,7 @@ metadata:
198
196
  changelog_uri: https://github.com/will89/activerecord-type-symbol/blob/master/CHANGELOG.md
199
197
  source_code_uri: https://github.com/will89/activerecord-type-symbol/
200
198
  bug_tracker_uri: https://github.com/will89/activerecord-type-symbol/issues
201
- post_install_message:
199
+ post_install_message:
202
200
  rdoc_options: []
203
201
  require_paths:
204
202
  - lib
@@ -206,15 +204,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
206
204
  requirements:
207
205
  - - ">="
208
206
  - !ruby/object:Gem::Version
209
- version: '2.5'
207
+ version: '2.7'
210
208
  required_rubygems_version: !ruby/object:Gem::Requirement
211
209
  requirements:
212
210
  - - ">="
213
211
  - !ruby/object:Gem::Version
214
212
  version: '0'
215
213
  requirements: []
216
- rubygems_version: 3.1.2
217
- signing_key:
214
+ rubygems_version: 3.3.3
215
+ signing_key:
218
216
  specification_version: 4
219
217
  summary: Adds a symbol attribute type to activerecord
220
218
  test_files: []
@@ -1,10 +0,0 @@
1
- # This file was generated by Appraisal
2
- # frozen_string_literal: true
3
-
4
- source 'https://rubygems.org'
5
-
6
- gem 'activemodel', '5.0.7.2'
7
- gem 'activerecord', '5.0.7.2'
8
- gem 'sqlite3', '~> 1.3.6'
9
-
10
- gemspec path: '../'
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
- # frozen_string_literal: true
3
-
4
- source 'https://rubygems.org'
5
-
6
- gem 'activemodel', '5.2.4.4'
7
- gem 'activerecord', '5.2.4.4'
8
-
9
- gemspec path: '../'