attr_json-associations 0.1.1 → 0.1.2

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: 7c9ed78328ad8d9c599cd03f8b6d3a88a04362e42918ea11af2c552234a4648e
4
- data.tar.gz: db73a39737814c4844ed77ee9b6f5d731728f7c78533a6fa5bb823d9739cfbd4
3
+ metadata.gz: e61f07de1ec25bef3ea2eace45308e04e8d69a020f47cb2fa109f6e644ea0152
4
+ data.tar.gz: 843e0103208a27818b7a5c66787a7957b92384744b914ab8dcfbc7adf83afa09
5
5
  SHA512:
6
- metadata.gz: f6b753b96dda8fec832f0652906aa53e6d0ed543fb58a1b1e20d90392e7b8ecf4d8b044444be1b29c0b27348719cc14e59612e43ee291f3991f945fd8deea91f
7
- data.tar.gz: 4a673c6aacc866bfacd660f0367158a1fd3dfa72ad30930ddfffee11b093d7472fdd58907b97689357bd0316611467ff26cdfd43ed9857a7947076b71d2e8a59
6
+ metadata.gz: a1282efc741996be66fc28616ec6da92035302238eee2dd4e6098d2355a4abaca47041aaa8471089d7b01646cacbe0bdea257bd2c8058e5cb7461c19e4619290
7
+ data.tar.gz: aa54d05cc2e46b52126e5d196738049d0879ed0b19e9b05264b25aa386ccee42e3a3b261c877e5ce8e7cf29de47f19065c482280cf4210ebd9043461420fd225
@@ -4,10 +4,10 @@ on: [push, pull_request]
4
4
 
5
5
  jobs:
6
6
  test:
7
- runs-on: ubuntu-20.04
7
+ runs-on: ubuntu-22.04
8
8
  services:
9
9
  postgres:
10
- image: postgres:9.5
10
+ image: postgres:15
11
11
  env:
12
12
  POSTGRES_USER: postgres
13
13
  POSTGRES_PASSWORD: postgres
@@ -17,11 +17,24 @@ jobs:
17
17
  strategy:
18
18
  fail-fast: false
19
19
  matrix:
20
- ruby: [2.7, 3.0]
21
- attr_json: [1.3]
22
- gemfile: ['rails60', 'rails61']
20
+ ruby: [2.7, '3.0', 3.1, 3.2, 3.3]
21
+ gemfile: ['rails60', 'rails61', 'rails70', 'rails71']
22
+ attr_json: [1.3, 1.4, 1.5, '2.0', 2.1, 2.2]
23
+ exclude:
24
+ - attr_json: 1.3
25
+ gemfile: rails70
26
+ - attr_json: 1.3
27
+ gemfile: rails71
28
+ - attr_json: 1.4
29
+ gemfile: rails71
30
+ - attr_json: 1.5
31
+ gemfile: rails71
32
+ - attr_json: 2.0
33
+ gemfile: rails71
34
+ - attr_json: 2.1
35
+ gemfile: rails71
23
36
 
24
- name: ruby ${{ matrix.ruby }}, attr_json ${{ matrix.attr_json }}, ${{ matrix.gemfile }}
37
+ name: ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}, attr_json ${{ matrix.attr_json }}
25
38
 
26
39
  env:
27
40
  POSTGRES_USER: postgres
@@ -30,7 +43,7 @@ jobs:
30
43
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
31
44
 
32
45
  steps:
33
- - uses: actions/checkout@v2
46
+ - uses: actions/checkout@v4
34
47
  - uses: ruby/setup-ruby@v1
35
48
  with:
36
49
  ruby-version: ${{ matrix.ruby }}
data/.gitignore CHANGED
@@ -12,3 +12,4 @@ spec/dummy/db/schema*.rb
12
12
  spec/dummy/db/*.sqlite3
13
13
  spec/dummy/log/*.log
14
14
  spec/dummy/tmp/*
15
+ tmp/
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.2
4
+
5
+ * Add `frozen_string_literal: true`.
6
+
3
7
  ## 0.1.1
4
8
 
5
9
  * Fix initialization for record.
@@ -2,5 +2,6 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem "rails", "~> 6.0.0"
4
4
  gem "attr_json", "~> #{ENV['ATTR_JSON_VERSION']}"
5
+ gem "psych", "~> 3.3.0"
5
6
 
6
7
  gemspec path: "../"
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem "rails", "~> 7.0.1"
4
+ gem "attr_json", "~> #{ENV['ATTR_JSON_VERSION']}"
5
+
6
+ gemspec path: "../"
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem "rails", "~> 7.1.0"
4
+ gem "attr_json", "~> #{ENV['ATTR_JSON_VERSION']}"
5
+
6
+ gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module AttrJson
4
4
  module Associations
5
- VERSION = '0.1.1'
5
+ VERSION = '0.1.2'
6
6
  end
7
7
  end
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative 'attr_json/associations'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attr_json-associations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshikazu Kaneta
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-26 00:00:00.000000000 Z
11
+ date: 2024-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: attr_json
@@ -126,6 +126,8 @@ files:
126
126
  - attr_json-associations.gemspec
127
127
  - gemfiles/rails60.gemfile
128
128
  - gemfiles/rails61.gemfile
129
+ - gemfiles/rails70.gemfile
130
+ - gemfiles/rails71.gemfile
129
131
  - lib/attr_json-associations.rb
130
132
  - lib/attr_json/associations.rb
131
133
  - lib/attr_json/associations/association/base.rb
@@ -146,7 +148,7 @@ files:
146
148
  homepage: https://github.com/kanety/attr_json-associations
147
149
  licenses: []
148
150
  metadata: {}
149
- post_install_message:
151
+ post_install_message:
150
152
  rdoc_options: []
151
153
  require_paths:
152
154
  - lib
@@ -161,8 +163,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
163
  - !ruby/object:Gem::Version
162
164
  version: '0'
163
165
  requirements: []
164
- rubygems_version: 3.1.2
165
- signing_key:
166
+ rubygems_version: 3.3.3
167
+ signing_key:
166
168
  specification_version: 4
167
169
  summary: An association extension for attr_json
168
170
  test_files: []