activerecord_accessible_json 0.3.8 → 1.0.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: 99b1873787cb539689944632140b7cbcd98df473461c2ab975b56e7607e02d2b
4
- data.tar.gz: '0885597bdb05a4a81e091bd18fa1133f13cf59533d57f08e7da336d60d584594'
3
+ metadata.gz: c2abb99ee5eff40c3ff9cb41b29185fe83eabd2ef32caf418a3e2fd78cd9377c
4
+ data.tar.gz: ff9191f8509f7053f03c8bf7ef7c68bd561cfd62b52cf87a4c44a5190d870df9
5
5
  SHA512:
6
- metadata.gz: 0dcfc7bfb3d5a202edd65650c21fc776c183d8d5da5019f287038fe511a23f56cc5a3be899bebf59448e64136fe1bc8f4d48eb4f6796d083d1284528155f6f6d
7
- data.tar.gz: b8bd86666bd4dc03056c85e2de67235799f3a731e706376413a2492bcc62664426c51017d5cc2da5bb1cdcfd4a600579a40ef21520ffdb4a7fde4ae21ca5b091
6
+ metadata.gz: 40be30d39a575d63567d5d0d0bfe3e6cc8f563bcab08387274c2f86d75150ddda38704a4cc37e7c372845b1b2a820fa943388b6b9139a7c50a2f2c419452ae6c
7
+ data.tar.gz: 20ccab9eb5fdf9b5fb1ebb3b780db7589fdd86272a783a43a819fa3223834041d6fffb7ab1f5a3bfa034c35758a5c4754edf547930993d6fdae1477f82d3e6fb
data/README.md CHANGED
@@ -27,13 +27,13 @@ post.tags.class #=> Array
27
27
 
28
28
  ## Version Compatibility
29
29
 
30
- | | Rails 5.2 | Rails 6.0 | Rails 6.1 | Rails head |
30
+ | | Rails 6.0 | Rails 6.1 | Rails 7.0 | Rails head |
31
31
  | :---: | :---: | :---: | :---: | :---: |
32
- | Ruby 2.5 | ✅ | ✅ | ✅ | ❌ |
33
- | Ruby 2.6 | ✅ | ✅ | ✅ | ❌ |
34
32
  | Ruby 2.7 | ✅ | ✅ | ✅ | ✅ |
35
- | Ruby 3.0 | | ✅ | ✅ | ✅ |
36
- | Ruby head | ❌ | | ✅ | ✅ |
33
+ | Ruby 3.0 | | ✅ | ✅ | ✅ |
34
+ | Ruby 3.1 | ❌ | | ✅ | ✅ |
35
+ | Ruby 3.2 | ❌ | ❌ | ✅ | ✅ |
36
+ | Ruby head | ❌ | ❌ | ✅ | ✅ |
37
37
 
38
38
  Version compatibility is checked everyday on [CI](https://github.com/yamat47/activerecord_accessible_json/actions).
39
39
 
@@ -60,13 +60,12 @@ $ gem install activerecord_accessible_json
60
60
  ## Release
61
61
 
62
62
  1. [Check if CI is passed on `main`.](https://github.com/yamat47/activerecord_accessible_json/actions)
63
- 1. Decide next versioning and update [version.rb](https://github.com/yamat47/activerecord_accessible_json/blob/v0.2.0/lib/activerecord_accessible_json/version.rb).
63
+ 1. Decide next versioning and update [version.rb](https://github.com/yamat47/activerecord_accessible_json/blob/main/lib/activerecord_accessible_json/version.rb).
64
64
  1. `bundle install`.
65
65
  1. Commit these changes with happy message (like "Release v0.2.0 🎉").
66
- 1. `ghch --format=markdown --next-version={{ NEXT_VERSION }}` to generate changelog.
67
- 1. [Create new release.](https://github.com/yamat47/activerecord_accessible_json/releases/new)
68
66
  1. `bundle exec rake build`.
69
67
  1. `bundle exec rake release`.
68
+ 1. [Create new release.](https://github.com/yamat47/activerecord_accessible_json/releases/new)
70
69
 
71
70
  ## License
72
71
 
data/Rakefile CHANGED
@@ -1,5 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'bundler/setup'
4
-
5
3
  require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require 'rubocop/rake_task'
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiverecordAccessibleJson
4
- VERSION = '0.3.8'
4
+ VERSION = '1.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_accessible_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yamaguchi Takuya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-29 00:00:00.000000000 Z
11
+ date: 2023-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.0
19
+ version: 6.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.2.0
26
+ version: 6.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  description: Using this gem, ActiveRecord's JSON attribute is deserialized into HashWithIndifferentAccess.
98
112
  email:
99
113
  - yamat47.thirddown@gmail.com
@@ -116,6 +130,7 @@ metadata:
116
130
  homepage_uri: https://github.com/yamat47/activerecord_accessible_json
117
131
  source_code_uri: https://github.com/yamat47/activerecord_accessible_json
118
132
  changelog_uri: https://github.com/yamat47/activerecord_accessible_json/blob/main/CHANGELOG.md
133
+ rubygems_mfa_required: 'true'
119
134
  post_install_message:
120
135
  rdoc_options: []
121
136
  require_paths:
@@ -124,14 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
139
  requirements:
125
140
  - - ">="
126
141
  - !ruby/object:Gem::Version
127
- version: 2.5.0
142
+ version: 2.7.0
128
143
  required_rubygems_version: !ruby/object:Gem::Requirement
129
144
  requirements:
130
145
  - - ">="
131
146
  - !ruby/object:Gem::Version
132
147
  version: '0'
133
148
  requirements: []
134
- rubygems_version: 3.2.15
149
+ rubygems_version: 3.3.26
135
150
  signing_key:
136
151
  specification_version: 4
137
152
  summary: Make ActiveRecord's JSON attribute more accessible.