activerecord_accessible_json 0.3.8 → 1.0.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 +4 -4
- data/README.md +7 -8
- data/Rakefile +9 -2
- data/lib/activerecord_accessible_json/version.rb +1 -1
- metadata +21 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c2abb99ee5eff40c3ff9cb41b29185fe83eabd2ef32caf418a3e2fd78cd9377c
|
|
4
|
+
data.tar.gz: ff9191f8509f7053f03c8bf7ef7c68bd561cfd62b52cf87a4c44a5190d870df9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
|
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/
|
|
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]
|
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.
|
|
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:
|
|
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:
|
|
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:
|
|
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.
|
|
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.
|
|
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.
|