temporal_tables 3.0.1 → 3.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 263d71547d60d6a668202ad900b21ee8d683615dd4afc096e37a9d9a53489b33
4
- data.tar.gz: acc012e82bd6deae7872b22fb80ee8d6dbea27cf53f73dd9b87fb303015540ce
3
+ metadata.gz: 03524c2558f3262dfa0011d48fbc9c07cf0891dd5689e0ad96fa9c6ebfdc2dd3
4
+ data.tar.gz: e89c2eebb52a4d56e74d336a0886f869a25360d0d47db43289f133334cf4c2db
5
5
  SHA512:
6
- metadata.gz: f4543bec2427c87c59f2c0df7edea2fbaa6072ae583584c8bbcf54ea60e8de2e03ec290c0375ba91608a0cd32aec00ac11106ae0391b8632b03f60170dcffdd5
7
- data.tar.gz: 0dc70cd60fc891be32c8f22f440bf3ed6ede26c5c1e6b5f028d3930166c1fcb92df528930364d0e8983bb9dd9128596ea2b64f5d48efd5c3af1373d1f2505e4a
6
+ metadata.gz: a1975ca2912c3098b4c94501bed2b68ab5c803656f010da8deea2396e3a02a676edd947e80f50fe3865fb9dac6607e40773eec831bf0061b0413e48da5130b2b
7
+ data.tar.gz: d0b80aa344ef16d67ccf4a154a83121529087ca0a030c0e6f69a5abb11790bb1e5df56b061b45edfc0ad44742295698ff1651d5827398f053d1c888987a56f2c
@@ -3,7 +3,7 @@ name: Continuous Integration
3
3
  on:
4
4
  push:
5
5
  branches:
6
- - '**'
6
+ - "**"
7
7
  tags:
8
8
  - "v*.*.*"
9
9
  pull_request:
@@ -11,16 +11,40 @@ on:
11
11
  - master
12
12
 
13
13
  jobs:
14
+ rubocop:
15
+ runs-on: ubuntu-latest
16
+
17
+ strategy:
18
+ fail-fast: false
19
+ matrix:
20
+ ruby: ["3.3"]
21
+ gemfile:
22
+ - "gemfiles/Gemfile.7.1.pg"
23
+ env:
24
+ BUNDLE_GEMFILE: ${{github.workspace}}/${{matrix.gemfile }}
25
+ steps:
26
+ - uses: actions/checkout@v4
27
+ - uses: ruby/setup-ruby@v1
28
+ with:
29
+ ruby-version: "${{ matrix.ruby }}"
30
+ - name: Bundle
31
+ run: bundle install
32
+
33
+ - name: Run Rubocop
34
+ run: bundle exec rubocop
35
+
14
36
  tests:
15
37
  runs-on: ubuntu-latest
16
38
 
17
39
  services:
18
40
  postgres:
19
- image: postgres:11.5
41
+ image: ${{ endsWith(matrix.gemfile, '.pg') && 'postgres:16' || '' }}
42
+ env:
43
+ POSTGRES_HOST_AUTH_METHOD: trust
20
44
  ports: ["5432:5432"]
21
45
  options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
22
46
  mysql:
23
- image: mysql:8.0
47
+ image: ${{ endsWith(matrix.gemfile, '.mysql') && 'mysql:8' || '' }}
24
48
  env:
25
49
  MYSQL_ROOT_PASSWORD: password
26
50
  ports: ["3306:3306"]
@@ -29,37 +53,52 @@ jobs:
29
53
  strategy:
30
54
  fail-fast: false
31
55
  matrix:
32
- ruby: ["3.0.6", "3.1.4", "3.2.2"]
33
- gemfile:
56
+ ruby: ["3.0", "3.1", "3.2", "3.3"]
57
+ gemfile:
34
58
  - "gemfiles/Gemfile.6.1.mysql"
35
59
  - "gemfiles/Gemfile.6.1.pg"
36
60
  - "gemfiles/Gemfile.7.0.mysql"
37
61
  - "gemfiles/Gemfile.7.0.pg"
38
62
  - "gemfiles/Gemfile.7.1.mysql"
39
63
  - "gemfiles/Gemfile.7.1.pg"
64
+ - "gemfiles/Gemfile.7.2.mysql"
65
+ - "gemfiles/Gemfile.7.2.pg"
66
+ - "gemfiles/Gemfile.8.0.mysql"
67
+ - "gemfiles/Gemfile.8.0.pg"
68
+ exclude:
69
+ - ruby: "3.0"
70
+ gemfile: "gemfiles/Gemfile.7.2.mysql"
71
+ - ruby: "3.0"
72
+ gemfile: "gemfiles/Gemfile.7.2.pg"
73
+ - ruby: "3.0"
74
+ gemfile: "gemfiles/Gemfile.8.0.mysql"
75
+ - ruby: "3.0"
76
+ gemfile: "gemfiles/Gemfile.8.0.pg"
77
+ - ruby: "3.1"
78
+ gemfile: "gemfiles/Gemfile.8.0.mysql"
79
+ - ruby: "3.1"
80
+ gemfile: "gemfiles/Gemfile.8.0.pg"
81
+
40
82
  env:
41
83
  BUNDLE_GEMFILE: ${{github.workspace}}/${{matrix.gemfile }}
42
84
  steps:
43
- - uses: actions/checkout@v2
44
- - uses: ruby/setup-ruby@v1
45
- with:
46
- ruby-version: "${{ matrix.ruby }}"
47
- - name: Bundle
48
- run: |
49
- gem install bundler:2.4.10
50
- bundle install
51
-
52
- - name: Run Rubocop
53
- run: bundle exec rubocop
85
+ - uses: actions/checkout@v4
86
+ - uses: ruby/setup-ruby@v1
87
+ with:
88
+ ruby-version: "${{ matrix.ruby }}"
89
+ - name: Bundle
90
+ run: bundle install
54
91
 
55
- - name: Run Tests
56
- env:
57
- PGHOST: localhost
58
- PGUSER: postgres
59
- run: bundle exec rspec
92
+ - name: Run Tests
93
+ env:
94
+ PGHOST: localhost
95
+ PGUSER: postgres
96
+ run: bundle exec rspec
60
97
 
61
98
  publish:
62
- needs: [tests]
99
+ needs:
100
+ - rubocop
101
+ - tests
63
102
  runs-on: ubuntu-latest
64
103
  if: startsWith(github.ref, 'refs/tags/v')
65
104
 
@@ -68,9 +107,9 @@ jobs:
68
107
  id-token: write
69
108
 
70
109
  steps:
71
- - uses: actions/checkout@v2
110
+ - uses: actions/checkout@v4
72
111
  - uses: ruby/setup-ruby@v1
73
112
  with:
74
- ruby-version: "3.2.2"
113
+ ruby-version: "3.3"
75
114
  bundler-cache: true
76
115
  - uses: rubygems/release-gem@v1
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.2
1
+ 3.3
@@ -0,0 +1,19 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'rails', '~> 7.2.0'
5
+ gem 'mysql2'
6
+
7
+ # Development dependencies
8
+ gem 'rspec', '~> 3.4'
9
+ gem 'rake'
10
+ gem 'byebug'
11
+ gem 'database_cleaner'
12
+ gem 'combustion'
13
+ gem 'gemika'
14
+ gem 'rubocop'
15
+ gem 'rubocop-rails'
16
+ gem 'rubocop-rspec'
17
+
18
+ # Gem under test
19
+ gem 'temporal_tables', :path => '..'
@@ -0,0 +1,273 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ temporal_tables (3.0.1)
5
+ rails (>= 6.1, < 7.3)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (7.2.0)
11
+ actionpack (= 7.2.0)
12
+ activesupport (= 7.2.0)
13
+ nio4r (~> 2.0)
14
+ websocket-driver (>= 0.6.1)
15
+ zeitwerk (~> 2.6)
16
+ actionmailbox (7.2.0)
17
+ actionpack (= 7.2.0)
18
+ activejob (= 7.2.0)
19
+ activerecord (= 7.2.0)
20
+ activestorage (= 7.2.0)
21
+ activesupport (= 7.2.0)
22
+ mail (>= 2.8.0)
23
+ actionmailer (7.2.0)
24
+ actionpack (= 7.2.0)
25
+ actionview (= 7.2.0)
26
+ activejob (= 7.2.0)
27
+ activesupport (= 7.2.0)
28
+ mail (>= 2.8.0)
29
+ rails-dom-testing (~> 2.2)
30
+ actionpack (7.2.0)
31
+ actionview (= 7.2.0)
32
+ activesupport (= 7.2.0)
33
+ nokogiri (>= 1.8.5)
34
+ racc
35
+ rack (>= 2.2.4, < 3.2)
36
+ rack-session (>= 1.0.1)
37
+ rack-test (>= 0.6.3)
38
+ rails-dom-testing (~> 2.2)
39
+ rails-html-sanitizer (~> 1.6)
40
+ useragent (~> 0.16)
41
+ actiontext (7.2.0)
42
+ actionpack (= 7.2.0)
43
+ activerecord (= 7.2.0)
44
+ activestorage (= 7.2.0)
45
+ activesupport (= 7.2.0)
46
+ globalid (>= 0.6.0)
47
+ nokogiri (>= 1.8.5)
48
+ actionview (7.2.0)
49
+ activesupport (= 7.2.0)
50
+ builder (~> 3.1)
51
+ erubi (~> 1.11)
52
+ rails-dom-testing (~> 2.2)
53
+ rails-html-sanitizer (~> 1.6)
54
+ activejob (7.2.0)
55
+ activesupport (= 7.2.0)
56
+ globalid (>= 0.3.6)
57
+ activemodel (7.2.0)
58
+ activesupport (= 7.2.0)
59
+ activerecord (7.2.0)
60
+ activemodel (= 7.2.0)
61
+ activesupport (= 7.2.0)
62
+ timeout (>= 0.4.0)
63
+ activestorage (7.2.0)
64
+ actionpack (= 7.2.0)
65
+ activejob (= 7.2.0)
66
+ activerecord (= 7.2.0)
67
+ activesupport (= 7.2.0)
68
+ marcel (~> 1.0)
69
+ activesupport (7.2.0)
70
+ base64
71
+ bigdecimal
72
+ concurrent-ruby (~> 1.0, >= 1.3.1)
73
+ connection_pool (>= 2.2.5)
74
+ drb
75
+ i18n (>= 1.6, < 2)
76
+ logger (>= 1.4.2)
77
+ minitest (>= 5.1)
78
+ securerandom (>= 0.3)
79
+ tzinfo (~> 2.0, >= 2.0.5)
80
+ ast (2.4.2)
81
+ base64 (0.2.0)
82
+ bigdecimal (3.1.8)
83
+ builder (3.3.0)
84
+ byebug (11.1.3)
85
+ combustion (1.5.0)
86
+ activesupport (>= 3.0.0)
87
+ railties (>= 3.0.0)
88
+ thor (>= 0.14.6)
89
+ concurrent-ruby (1.3.4)
90
+ connection_pool (2.4.1)
91
+ crass (1.0.6)
92
+ database_cleaner (2.0.2)
93
+ database_cleaner-active_record (>= 2, < 3)
94
+ database_cleaner-active_record (2.2.0)
95
+ activerecord (>= 5.a)
96
+ database_cleaner-core (~> 2.0.0)
97
+ database_cleaner-core (2.0.1)
98
+ date (3.3.4)
99
+ diff-lcs (1.5.1)
100
+ drb (2.2.1)
101
+ erubi (1.13.0)
102
+ gemika (0.8.3)
103
+ globalid (1.2.1)
104
+ activesupport (>= 6.1)
105
+ i18n (1.14.5)
106
+ concurrent-ruby (~> 1.0)
107
+ io-console (0.7.2)
108
+ irb (1.14.0)
109
+ rdoc (>= 4.0.0)
110
+ reline (>= 0.4.2)
111
+ json (2.7.2)
112
+ language_server-protocol (3.17.0.3)
113
+ logger (1.6.0)
114
+ loofah (2.22.0)
115
+ crass (~> 1.0.2)
116
+ nokogiri (>= 1.12.0)
117
+ mail (2.8.1)
118
+ mini_mime (>= 0.1.1)
119
+ net-imap
120
+ net-pop
121
+ net-smtp
122
+ marcel (1.0.4)
123
+ mini_mime (1.1.5)
124
+ minitest (5.24.1)
125
+ mysql2 (0.5.6)
126
+ net-imap (0.4.14)
127
+ date
128
+ net-protocol
129
+ net-pop (0.1.2)
130
+ net-protocol
131
+ net-protocol (0.2.2)
132
+ timeout
133
+ net-smtp (0.5.0)
134
+ net-protocol
135
+ nio4r (2.7.3)
136
+ nokogiri (1.16.7-aarch64-linux)
137
+ racc (~> 1.4)
138
+ nokogiri (1.16.7-arm-linux)
139
+ racc (~> 1.4)
140
+ nokogiri (1.16.7-arm64-darwin)
141
+ racc (~> 1.4)
142
+ nokogiri (1.16.7-x86-linux)
143
+ racc (~> 1.4)
144
+ nokogiri (1.16.7-x86_64-darwin)
145
+ racc (~> 1.4)
146
+ nokogiri (1.16.7-x86_64-linux)
147
+ racc (~> 1.4)
148
+ parallel (1.26.2)
149
+ parser (3.3.4.2)
150
+ ast (~> 2.4.1)
151
+ racc
152
+ psych (5.1.2)
153
+ stringio
154
+ racc (1.8.1)
155
+ rack (3.1.7)
156
+ rack-session (2.0.0)
157
+ rack (>= 3.0.0)
158
+ rack-test (2.1.0)
159
+ rack (>= 1.3)
160
+ rackup (2.1.0)
161
+ rack (>= 3)
162
+ webrick (~> 1.8)
163
+ rails (7.2.0)
164
+ actioncable (= 7.2.0)
165
+ actionmailbox (= 7.2.0)
166
+ actionmailer (= 7.2.0)
167
+ actionpack (= 7.2.0)
168
+ actiontext (= 7.2.0)
169
+ actionview (= 7.2.0)
170
+ activejob (= 7.2.0)
171
+ activemodel (= 7.2.0)
172
+ activerecord (= 7.2.0)
173
+ activestorage (= 7.2.0)
174
+ activesupport (= 7.2.0)
175
+ bundler (>= 1.15.0)
176
+ railties (= 7.2.0)
177
+ rails-dom-testing (2.2.0)
178
+ activesupport (>= 5.0.0)
179
+ minitest
180
+ nokogiri (>= 1.6)
181
+ rails-html-sanitizer (1.6.0)
182
+ loofah (~> 2.21)
183
+ nokogiri (~> 1.14)
184
+ railties (7.2.0)
185
+ actionpack (= 7.2.0)
186
+ activesupport (= 7.2.0)
187
+ irb (~> 1.13)
188
+ rackup (>= 1.0.0)
189
+ rake (>= 12.2)
190
+ thor (~> 1.0, >= 1.2.2)
191
+ zeitwerk (~> 2.6)
192
+ rainbow (3.1.1)
193
+ rake (13.2.1)
194
+ rdoc (6.7.0)
195
+ psych (>= 4.0.0)
196
+ regexp_parser (2.9.2)
197
+ reline (0.5.9)
198
+ io-console (~> 0.5)
199
+ rexml (3.3.5)
200
+ strscan
201
+ rspec (3.13.0)
202
+ rspec-core (~> 3.13.0)
203
+ rspec-expectations (~> 3.13.0)
204
+ rspec-mocks (~> 3.13.0)
205
+ rspec-core (3.13.0)
206
+ rspec-support (~> 3.13.0)
207
+ rspec-expectations (3.13.1)
208
+ diff-lcs (>= 1.2.0, < 2.0)
209
+ rspec-support (~> 3.13.0)
210
+ rspec-mocks (3.13.1)
211
+ diff-lcs (>= 1.2.0, < 2.0)
212
+ rspec-support (~> 3.13.0)
213
+ rspec-support (3.13.1)
214
+ rubocop (1.65.1)
215
+ json (~> 2.3)
216
+ language_server-protocol (>= 3.17.0)
217
+ parallel (~> 1.10)
218
+ parser (>= 3.3.0.2)
219
+ rainbow (>= 2.2.2, < 4.0)
220
+ regexp_parser (>= 2.4, < 3.0)
221
+ rexml (>= 3.2.5, < 4.0)
222
+ rubocop-ast (>= 1.31.1, < 2.0)
223
+ ruby-progressbar (~> 1.7)
224
+ unicode-display_width (>= 2.4.0, < 3.0)
225
+ rubocop-ast (1.32.0)
226
+ parser (>= 3.3.1.0)
227
+ rubocop-rails (2.25.1)
228
+ activesupport (>= 4.2.0)
229
+ rack (>= 1.1)
230
+ rubocop (>= 1.33.0, < 2.0)
231
+ rubocop-ast (>= 1.31.1, < 2.0)
232
+ rubocop-rspec (3.0.4)
233
+ rubocop (~> 1.61)
234
+ ruby-progressbar (1.13.0)
235
+ securerandom (0.3.1)
236
+ stringio (3.1.1)
237
+ strscan (3.1.0)
238
+ thor (1.3.1)
239
+ timeout (0.4.1)
240
+ tzinfo (2.0.6)
241
+ concurrent-ruby (~> 1.0)
242
+ unicode-display_width (2.5.0)
243
+ useragent (0.16.10)
244
+ webrick (1.8.1)
245
+ websocket-driver (0.7.6)
246
+ websocket-extensions (>= 0.1.0)
247
+ websocket-extensions (0.1.5)
248
+ zeitwerk (2.6.17)
249
+
250
+ PLATFORMS
251
+ aarch64-linux
252
+ arm-linux
253
+ arm64-darwin
254
+ x86-linux
255
+ x86_64-darwin
256
+ x86_64-linux
257
+
258
+ DEPENDENCIES
259
+ byebug
260
+ combustion
261
+ database_cleaner
262
+ gemika
263
+ mysql2
264
+ rails (~> 7.2.0)
265
+ rake
266
+ rspec (~> 3.4)
267
+ rubocop
268
+ rubocop-rails
269
+ rubocop-rspec
270
+ temporal_tables!
271
+
272
+ BUNDLED WITH
273
+ 2.5.3
@@ -0,0 +1,19 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'rails', '~> 7.2.0'
5
+ gem 'pg', '>= 0.18', '< 2.0'
6
+
7
+ # Development dependencies
8
+ gem 'rspec', '~> 3.4'
9
+ gem 'rake'
10
+ gem 'byebug'
11
+ gem 'database_cleaner'
12
+ gem 'combustion'
13
+ gem 'gemika'
14
+ gem 'rubocop'
15
+ gem 'rubocop-rails'
16
+ gem 'rubocop-rspec'
17
+
18
+ # Gem under test
19
+ gem 'temporal_tables', :path => '..'