activerecord-originator 0.2.1 → 0.2.2

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: 293717934922e2684e5351b8f2c1abe48bb72f13706a3c3453496e92b501dd18
4
- data.tar.gz: 0c445a63206b42a5742727875d51bb95385e48d086d637966b784397d9acc6ba
3
+ metadata.gz: 7824731d65843f11d6514b7d600dfc5732ad8adf8bd91b7330f8ff95d2347070
4
+ data.tar.gz: d352ceb565b52b2d2108d8a48b7d5c44e7553ff651cf507eadbe36603844a055
5
5
  SHA512:
6
- metadata.gz: 6aada6e56b8c43b7f0fe9c6520ffedbb6c9cb099e817815cbc48a67b7473903cbb8cf9cb0fe899354d7de1f5808ee81d315b8b7e5b976989270dc0e3b97ddbce
7
- data.tar.gz: 896311b48db01c18309b3d7d22c41b4dda6385c81cba5ff47fb3e568f6a569d82ff2d6fced94fe6a6996a688eef271a784008500e3ff183f020246b9783497c4
6
+ metadata.gz: 1c09b7fa08b19e0ec51057508e0a0da9e2ce0708757749aa7715625ed8fcc072921f350515b30a5a0e4c928c94825eac8d3a078c8477fcc5c561f7ad15de7f68
7
+ data.tar.gz: f5adfacbbba8ff05d832805c7ff22193f71de89feeccb8d5d519c3566711725623fb2a2fe84161136d5f148a4a3e70721b2051e7bde2ebfc4ea868f5b3be7e80
data/.rubocop.yml CHANGED
@@ -19,3 +19,6 @@ Layout/FirstHashElementIndentation:
19
19
 
20
20
  Lint/AssignmentInCondition:
21
21
  Enabled: false
22
+
23
+ Gemspec/DevelopmentDependencies:
24
+ Enabled: false
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v0.2.2 - 2024-08-14
4
+
5
+ * Support Rails 7.2 [#22](https://github.com/pocke/activerecord-originator/pull/22)
6
+
3
7
  ## v0.2.1 - 2024-03-20
4
8
 
5
9
  This release does not affect the behavior of the library. It changes only RBS files.
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'activerecord', '~> 6.1.0'
4
+ gem "sqlite3", "~> 1.4"
5
+
6
+ gemspec path: '../'
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'activerecord', '~> 7.0.0'
4
+ gem "sqlite3", "~> 1.4"
5
+
6
+ gemspec path: '../'
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'activerecord', '~> 7.1.0'
4
+ gem "sqlite3", "~> 1.4"
5
+
6
+ gemspec path: '../'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'activerecord', '~> 7.2.0'
4
+
5
+ gemspec path: '../'
@@ -32,6 +32,14 @@ module ActiveRecord
32
32
  def value
33
33
  @collector.value
34
34
  end
35
+
36
+ def retryable
37
+ @collector.retryable
38
+ end
39
+
40
+ def retryable=(v)
41
+ @collector.retryable = v
42
+ end
35
43
  end
36
44
  end
37
45
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecord
4
4
  module Originator
5
- VERSION = "0.2.1"
5
+ VERSION = "0.2.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-originator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masataka Pocke Kuwabara
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-03-20 00:00:00.000000000 Z
10
+ date: 2024-08-14 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activerecord
@@ -38,6 +37,90 @@ dependencies:
38
37
  - - ">="
39
38
  - !ruby/object:Gem::Version
40
39
  version: '6.0'
40
+ - !ruby/object:Gem::Dependency
41
+ name: benchmark-ips
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ - !ruby/object:Gem::Dependency
55
+ name: rake
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ type: :development
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ - !ruby/object:Gem::Dependency
69
+ name: rspec
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ type: :development
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ - !ruby/object:Gem::Dependency
83
+ name: rubocop
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ type: :development
90
+ prerelease: false
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ - !ruby/object:Gem::Dependency
97
+ name: sqlite3
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: steep
112
+ requirement: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ type: :development
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
41
124
  description: This gem adds comments to the SQL to indicate where the SQL parts are
42
125
  constructed.
43
126
  email:
@@ -53,6 +136,10 @@ files:
53
136
  - README.md
54
137
  - Rakefile
55
138
  - Steepfile
139
+ - gemfiles/activerecord_6_1.gemfile
140
+ - gemfiles/activerecord_7_0.gemfile
141
+ - gemfiles/activerecord_7_1.gemfile
142
+ - gemfiles/activerecord_7_2.gemfile
56
143
  - lib/activerecord/originator.rb
57
144
  - lib/activerecord/originator/arel_node_extension.rb
58
145
  - lib/activerecord/originator/arel_visitor_extension.rb
@@ -76,7 +163,6 @@ metadata:
76
163
  source_code_uri: https://github.com/pocke/activerecord-originator
77
164
  changelog_uri: https://github.com/pocke/activerecord-originator/blob/main/CHANGELOG.md
78
165
  rubygems_mfa_required: 'true'
79
- post_install_message:
80
166
  rdoc_options: []
81
167
  require_paths:
82
168
  - lib
@@ -92,7 +178,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
178
  version: '0'
93
179
  requirements: []
94
180
  rubygems_version: 3.6.0.dev
95
- signing_key:
96
181
  specification_version: 4
97
182
  summary: Add SQL comments to indicate the origin of the SQL.
98
183
  test_files: []