relation_to_struct 1.9.1 → 1.10.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: 6ebd7741a088cfbc209a2013e1c6feac68233029bbdb72d8141ba3f711414c8b
4
- data.tar.gz: 668edbe5050f12f20dab89ea891e062a4f8ab7b2e11775dd57162d4a58f94b80
3
+ metadata.gz: 549ee5cb86cc57e6e4cb814297bedc09d3b3098ddb6c12d463bde197cebf5807
4
+ data.tar.gz: 210c9b4e734e438cd67fa4dce3c6385751439f014c159d1e4d1520065b7bb673
5
5
  SHA512:
6
- metadata.gz: d58bc5eab67aa7ea28efed4d48365216dcb50f5c48b40b97056dc664ed64da33643f2e5a057ac4ea4c54c4074f81980ef1fa244ae4c4e1ea4d03346da4481bbd
7
- data.tar.gz: 1fdaef138830916143a5731893e274aa0d9a3769821829b848074f39917d1d782804b5c78baf92e5570d396f89463c7e883ed737d6c3a466c2615fd0003b1735
6
+ metadata.gz: e7068c377384815b4bd582e66453f03b4f67145424ddba922311fb5b0596cb19976455f85e4685af2b360f6481ea5323c6fad8482a100ad312bd6db655c41aad
7
+ data.tar.gz: 0d031d351e2162a06674a7d8e09e45a7d3c2ad0a0d376827fa9c4809c927e12efe52c3f1fef3ff16d28fef97d397eb95937d213241e54392abcce92c13087099
@@ -5,20 +5,19 @@ jobs:
5
5
  strategy:
6
6
  matrix:
7
7
  pg:
8
- - 11
9
- - 12
10
8
  - 13
11
9
  - 14
12
10
  - 15
13
11
  - 16
12
+ - 17
14
13
  ruby:
15
- - "3.1"
16
14
  - "3.2"
15
+ - "3.3"
17
16
  gemfile:
18
- - rails_6_1
19
17
  - rails_7_0
20
18
  - rails_7_1
21
19
  - rails_7_2
20
+ - rails_8_0
22
21
  name: PostgreSQL ${{ matrix.pg }} - Ruby ${{ matrix.ruby }} - ${{ matrix.gemfile }}
23
22
  runs-on: ubuntu-latest
24
23
  env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
@@ -41,13 +40,13 @@ jobs:
41
40
  strategy:
42
41
  matrix:
43
42
  ruby:
44
- - "3.1"
45
43
  - "3.2"
44
+ - "3.3"
46
45
  gemfile:
47
- - rails_6_1
48
46
  - rails_7_0
49
47
  - rails_7_1
50
48
  - rails_7_2
49
+ - rails_8_0
51
50
  name: SQLite - Ruby ${{ matrix.ruby }} - ${{ matrix.gemfile }}
52
51
  runs-on: ubuntu-latest
53
52
  env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
data/Appraisals CHANGED
@@ -1,5 +1,6 @@
1
- %w(6.1 7.0 7.1 7.2).each do |version|
1
+ %w(7.0 7.1 7.2 8.0).each do |version|
2
2
  appraise "rails-#{version.gsub(/\./, "-")}" do
3
3
  gem "rails", "~> #{version}.0"
4
+ gem "sqlite3", "~> 1.4" if version == "7.0"
4
5
  end
5
6
  end
@@ -3,5 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 7.0.0"
6
+ gem "sqlite3", "~> 1.4"
6
7
 
7
8
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 6.1.0"
5
+ gem "rails", "~> 8.0.0"
6
6
 
7
7
  gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module RelationToStruct
2
- VERSION = "1.9.1"
2
+ VERSION = "1.10.0"
3
3
  end
@@ -21,11 +21,11 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency "appraisal", ">= 2.5"
22
22
  spec.add_development_dependency "bundler", ">= 1.7"
23
23
  spec.add_development_dependency "rake", ">= 10.0"
24
- spec.add_development_dependency "sqlite3", "~> 1.4"
24
+ spec.add_development_dependency "sqlite3", ">= 1.4"
25
25
  spec.add_development_dependency "rspec", ">= 3.2"
26
26
  spec.add_development_dependency "pry-byebug"
27
27
  spec.add_development_dependency "pg"
28
28
 
29
- spec.add_dependency "activerecord", ">= 6.1", "< 7.3"
30
- spec.add_dependency "activesupport", ">= 6.1", "< 7.3"
29
+ spec.add_dependency "activerecord", ">= 7.0", "< 8.1"
30
+ spec.add_dependency "activesupport", ">= 7.0", "< 8.1"
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relation_to_struct
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Coleman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-27 00:00:00.000000000 Z
11
+ date: 2024-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -56,14 +56,14 @@ dependencies:
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.4'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.4'
69
69
  - !ruby/object:Gem::Dependency
@@ -114,40 +114,40 @@ dependencies:
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: '6.1'
117
+ version: '7.0'
118
118
  - - "<"
119
119
  - !ruby/object:Gem::Version
120
- version: '7.3'
120
+ version: '8.1'
121
121
  type: :runtime
122
122
  prerelease: false
123
123
  version_requirements: !ruby/object:Gem::Requirement
124
124
  requirements:
125
125
  - - ">="
126
126
  - !ruby/object:Gem::Version
127
- version: '6.1'
127
+ version: '7.0'
128
128
  - - "<"
129
129
  - !ruby/object:Gem::Version
130
- version: '7.3'
130
+ version: '8.1'
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: activesupport
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - ">="
136
136
  - !ruby/object:Gem::Version
137
- version: '6.1'
137
+ version: '7.0'
138
138
  - - "<"
139
139
  - !ruby/object:Gem::Version
140
- version: '7.3'
140
+ version: '8.1'
141
141
  type: :runtime
142
142
  prerelease: false
143
143
  version_requirements: !ruby/object:Gem::Requirement
144
144
  requirements:
145
145
  - - ">="
146
146
  - !ruby/object:Gem::Version
147
- version: '6.1'
147
+ version: '7.0'
148
148
  - - "<"
149
149
  - !ruby/object:Gem::Version
150
- version: '7.3'
150
+ version: '8.1'
151
151
  description: ''
152
152
  email:
153
153
  - jtc331@gmail.com
@@ -168,10 +168,10 @@ files:
168
168
  - Rakefile
169
169
  - bin/setup
170
170
  - docker-compose.yml
171
- - gemfiles/rails_6_1.gemfile
172
171
  - gemfiles/rails_7_0.gemfile
173
172
  - gemfiles/rails_7_1.gemfile
174
173
  - gemfiles/rails_7_2.gemfile
174
+ - gemfiles/rails_8_0.gemfile
175
175
  - lib/relation_to_struct.rb
176
176
  - lib/relation_to_struct/active_record_base_extension.rb
177
177
  - lib/relation_to_struct/active_record_connection_adapter_extension.rb