stator 0.3.3 → 0.9.0.beta

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: c4db54f443ba466ae3fc6f79857816b8719e0cbacf0615f8c014ae0c71c32e81
4
- data.tar.gz: 53d72d27aafa1a340c02d2d5459235488bf5e12df9198312ffe1d5121fc24912
3
+ metadata.gz: 11dfad97bef44bb60c060b086dce2f327f2fca47d309510337533f31f62e105f
4
+ data.tar.gz: 578888569b569b4e35c7c180ed3ddfe96ea4547f296394c2c81fbc44bee72105
5
5
  SHA512:
6
- metadata.gz: a2e76eb8e8bbe0e1dab6d8fbdbb6516f12cff56c26c3d10d974d4aadce08fbcabdcd49dbba710d0f904a1a04ea4c489125b18475a119de5e625a9cbb6e9406a4
7
- data.tar.gz: 0fef985f07d95f3d8801f4e3534f478feb516fea223532e1e562cc85bebdc54c09222ee0087517d4c3f396f4d094ad80a9404f7e0cb69829ffa6c5ddc40bb297
6
+ metadata.gz: 959635a8a2eebce12473a7f79844e25de1038fe3a1e692fa97e5d1edc430778a3148a4a7b6ca2e488f248c318a19d74fb69c489c28928ff44731c0e3e8319823
7
+ data.tar.gz: a13fa8a216bc2fd590d1abea7be2eab258a5e29b58c0017314a083938b5c6f6f0acebf3179b5c4cf7b122dbc2a62ba1342bdc0937fed82365ad2b23d49ce3201
@@ -0,0 +1,28 @@
1
+ name: build
2
+ on:
3
+ pull_request:
4
+ push:
5
+ branches:
6
+ - master
7
+ jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ continue-on-error: ${{ matrix.experimental }}
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ ruby-version: [2.7.5, 2.7.6]
15
+ experimental: [false]
16
+ include:
17
+ - ruby-version: 3.0
18
+ experimental: true
19
+ - ruby-version: 3.1
20
+ experimental: true
21
+ steps:
22
+ - uses: actions/checkout@v2
23
+ - uses: ruby/setup-ruby@v1
24
+ with:
25
+ ruby-version: ${{ matrix.ruby-version }}
26
+ bundler-cache: true # runs `bundle install` and caches installed gems automatically
27
+ - run: bundle exec appraisal install
28
+ - run: bundle exec appraisal rspec
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .envrc
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.1
1
+ 2.7.5
data/Appraisals ADDED
@@ -0,0 +1,23 @@
1
+ appraise "activerecord-5" do
2
+ gem "activerecord", "~> 5.0.0"
3
+ end
4
+
5
+ appraise "activerecord-5.1" do
6
+ gem "activerecord", "~> 5.1.0"
7
+ end
8
+
9
+ appraise "activerecord-5.2" do
10
+ gem "activerecord", "~> 5.2.0"
11
+ end
12
+
13
+ appraise "activerecord-6.0" do
14
+ gem "activerecord", "~> 6.0.0"
15
+ end
16
+
17
+ appraise "activerecord-6.1" do
18
+ gem "activerecord", "~> 6.1.0"
19
+ end
20
+
21
+ appraise "activerecord-7.0" do
22
+ gem "activerecord", "~> 7.0.0"
23
+ end
data/Gemfile CHANGED
@@ -1,10 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in stator.gemspec
4
- gem 'activerecord', '5.2.3'
3
+ gem 'activerecord', '~> 5.2.8'
5
4
 
6
5
  gemspec
7
6
 
8
- gem 'activerecord-nulldb-adapter', '~> 0.4.0', require: false
7
+ gem 'appraisal'
8
+ gem 'debug'
9
+ gem 'activerecord-nulldb-adapter'
9
10
  gem 'rake'
10
11
  gem 'rspec'
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 5.1.0"
6
+ gem "appraisal"
7
+ gem "debug"
8
+ gem "activerecord-nulldb-adapter"
9
+ gem "rake"
10
+ gem "rspec"
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,74 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ stator (0.9.0.beta)
5
+ activerecord
6
+ activesupport
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (5.1.7)
12
+ activesupport (= 5.1.7)
13
+ activerecord (5.1.7)
14
+ activemodel (= 5.1.7)
15
+ activesupport (= 5.1.7)
16
+ arel (~> 8.0)
17
+ activerecord-nulldb-adapter (0.4.0)
18
+ activerecord (>= 2.0.0)
19
+ activesupport (5.1.7)
20
+ concurrent-ruby (~> 1.0, >= 1.0.2)
21
+ i18n (>= 0.7, < 2)
22
+ minitest (~> 5.1)
23
+ tzinfo (~> 1.1)
24
+ appraisal (2.4.1)
25
+ bundler
26
+ rake
27
+ thor (>= 0.14.0)
28
+ arel (8.0.0)
29
+ concurrent-ruby (1.1.10)
30
+ debug (1.6.1)
31
+ irb (>= 1.3.6)
32
+ reline (>= 0.3.1)
33
+ diff-lcs (1.5.0)
34
+ i18n (1.12.0)
35
+ concurrent-ruby (~> 1.0)
36
+ io-console (0.5.11)
37
+ irb (1.4.1)
38
+ reline (>= 0.3.0)
39
+ minitest (5.16.2)
40
+ rake (13.0.6)
41
+ reline (0.3.1)
42
+ io-console (~> 0.5)
43
+ rspec (3.11.0)
44
+ rspec-core (~> 3.11.0)
45
+ rspec-expectations (~> 3.11.0)
46
+ rspec-mocks (~> 3.11.0)
47
+ rspec-core (3.11.0)
48
+ rspec-support (~> 3.11.0)
49
+ rspec-expectations (3.11.0)
50
+ diff-lcs (>= 1.2.0, < 2.0)
51
+ rspec-support (~> 3.11.0)
52
+ rspec-mocks (3.11.1)
53
+ diff-lcs (>= 1.2.0, < 2.0)
54
+ rspec-support (~> 3.11.0)
55
+ rspec-support (3.11.0)
56
+ thor (1.2.1)
57
+ thread_safe (0.3.6)
58
+ tzinfo (1.2.10)
59
+ thread_safe (~> 0.1)
60
+
61
+ PLATFORMS
62
+ ruby
63
+
64
+ DEPENDENCIES
65
+ activerecord (~> 5.1.0)
66
+ activerecord-nulldb-adapter
67
+ appraisal
68
+ debug
69
+ rake
70
+ rspec
71
+ stator!
72
+
73
+ BUNDLED WITH
74
+ 2.3.16
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 5.2.0"
6
+ gem "appraisal"
7
+ gem "debug"
8
+ gem "activerecord-nulldb-adapter"
9
+ gem "rake"
10
+ gem "rspec"
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,74 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ stator (0.9.0.beta)
5
+ activerecord
6
+ activesupport
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (5.2.8.1)
12
+ activesupport (= 5.2.8.1)
13
+ activerecord (5.2.8.1)
14
+ activemodel (= 5.2.8.1)
15
+ activesupport (= 5.2.8.1)
16
+ arel (>= 9.0)
17
+ activerecord-nulldb-adapter (0.8.0)
18
+ activerecord (>= 5.2.0, < 7.1)
19
+ activesupport (5.2.8.1)
20
+ concurrent-ruby (~> 1.0, >= 1.0.2)
21
+ i18n (>= 0.7, < 2)
22
+ minitest (~> 5.1)
23
+ tzinfo (~> 1.1)
24
+ appraisal (2.4.1)
25
+ bundler
26
+ rake
27
+ thor (>= 0.14.0)
28
+ arel (9.0.0)
29
+ concurrent-ruby (1.1.10)
30
+ debug (1.6.1)
31
+ irb (>= 1.3.6)
32
+ reline (>= 0.3.1)
33
+ diff-lcs (1.5.0)
34
+ i18n (1.12.0)
35
+ concurrent-ruby (~> 1.0)
36
+ io-console (0.5.11)
37
+ irb (1.4.1)
38
+ reline (>= 0.3.0)
39
+ minitest (5.16.2)
40
+ rake (13.0.6)
41
+ reline (0.3.1)
42
+ io-console (~> 0.5)
43
+ rspec (3.11.0)
44
+ rspec-core (~> 3.11.0)
45
+ rspec-expectations (~> 3.11.0)
46
+ rspec-mocks (~> 3.11.0)
47
+ rspec-core (3.11.0)
48
+ rspec-support (~> 3.11.0)
49
+ rspec-expectations (3.11.0)
50
+ diff-lcs (>= 1.2.0, < 2.0)
51
+ rspec-support (~> 3.11.0)
52
+ rspec-mocks (3.11.1)
53
+ diff-lcs (>= 1.2.0, < 2.0)
54
+ rspec-support (~> 3.11.0)
55
+ rspec-support (3.11.0)
56
+ thor (1.2.1)
57
+ thread_safe (0.3.6)
58
+ tzinfo (1.2.10)
59
+ thread_safe (~> 0.1)
60
+
61
+ PLATFORMS
62
+ ruby
63
+
64
+ DEPENDENCIES
65
+ activerecord (~> 5.2.0)
66
+ activerecord-nulldb-adapter
67
+ appraisal
68
+ debug
69
+ rake
70
+ rspec
71
+ stator!
72
+
73
+ BUNDLED WITH
74
+ 2.3.16
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 5.0.0"
6
+ gem "appraisal"
7
+ gem "debug"
8
+ gem "activerecord-nulldb-adapter"
9
+ gem "rake"
10
+ gem "rspec"
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,74 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ stator (0.9.0.beta)
5
+ activerecord
6
+ activesupport
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (5.0.7.2)
12
+ activesupport (= 5.0.7.2)
13
+ activerecord (5.0.7.2)
14
+ activemodel (= 5.0.7.2)
15
+ activesupport (= 5.0.7.2)
16
+ arel (~> 7.0)
17
+ activerecord-nulldb-adapter (0.4.0)
18
+ activerecord (>= 2.0.0)
19
+ activesupport (5.0.7.2)
20
+ concurrent-ruby (~> 1.0, >= 1.0.2)
21
+ i18n (>= 0.7, < 2)
22
+ minitest (~> 5.1)
23
+ tzinfo (~> 1.1)
24
+ appraisal (2.4.1)
25
+ bundler
26
+ rake
27
+ thor (>= 0.14.0)
28
+ arel (7.1.4)
29
+ concurrent-ruby (1.1.10)
30
+ debug (1.6.1)
31
+ irb (>= 1.3.6)
32
+ reline (>= 0.3.1)
33
+ diff-lcs (1.5.0)
34
+ i18n (1.12.0)
35
+ concurrent-ruby (~> 1.0)
36
+ io-console (0.5.11)
37
+ irb (1.4.1)
38
+ reline (>= 0.3.0)
39
+ minitest (5.16.2)
40
+ rake (13.0.6)
41
+ reline (0.3.1)
42
+ io-console (~> 0.5)
43
+ rspec (3.11.0)
44
+ rspec-core (~> 3.11.0)
45
+ rspec-expectations (~> 3.11.0)
46
+ rspec-mocks (~> 3.11.0)
47
+ rspec-core (3.11.0)
48
+ rspec-support (~> 3.11.0)
49
+ rspec-expectations (3.11.0)
50
+ diff-lcs (>= 1.2.0, < 2.0)
51
+ rspec-support (~> 3.11.0)
52
+ rspec-mocks (3.11.1)
53
+ diff-lcs (>= 1.2.0, < 2.0)
54
+ rspec-support (~> 3.11.0)
55
+ rspec-support (3.11.0)
56
+ thor (1.2.1)
57
+ thread_safe (0.3.6)
58
+ tzinfo (1.2.10)
59
+ thread_safe (~> 0.1)
60
+
61
+ PLATFORMS
62
+ ruby
63
+
64
+ DEPENDENCIES
65
+ activerecord (~> 5.0.0)
66
+ activerecord-nulldb-adapter
67
+ appraisal
68
+ debug
69
+ rake
70
+ rspec
71
+ stator!
72
+
73
+ BUNDLED WITH
74
+ 2.3.16
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 6.0.0"
6
+ gem "appraisal"
7
+ gem "debug"
8
+ gem "activerecord-nulldb-adapter"
9
+ gem "rake"
10
+ gem "rspec"
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,74 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ stator (0.9.0.beta)
5
+ activerecord
6
+ activesupport
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (6.0.5.1)
12
+ activesupport (= 6.0.5.1)
13
+ activerecord (6.0.5.1)
14
+ activemodel (= 6.0.5.1)
15
+ activesupport (= 6.0.5.1)
16
+ activerecord-nulldb-adapter (0.8.0)
17
+ activerecord (>= 5.2.0, < 7.1)
18
+ activesupport (6.0.5.1)
19
+ concurrent-ruby (~> 1.0, >= 1.0.2)
20
+ i18n (>= 0.7, < 2)
21
+ minitest (~> 5.1)
22
+ tzinfo (~> 1.1)
23
+ zeitwerk (~> 2.2, >= 2.2.2)
24
+ appraisal (2.4.1)
25
+ bundler
26
+ rake
27
+ thor (>= 0.14.0)
28
+ concurrent-ruby (1.1.10)
29
+ debug (1.6.1)
30
+ irb (>= 1.3.6)
31
+ reline (>= 0.3.1)
32
+ diff-lcs (1.5.0)
33
+ i18n (1.12.0)
34
+ concurrent-ruby (~> 1.0)
35
+ io-console (0.5.11)
36
+ irb (1.4.1)
37
+ reline (>= 0.3.0)
38
+ minitest (5.16.2)
39
+ rake (13.0.6)
40
+ reline (0.3.1)
41
+ io-console (~> 0.5)
42
+ rspec (3.11.0)
43
+ rspec-core (~> 3.11.0)
44
+ rspec-expectations (~> 3.11.0)
45
+ rspec-mocks (~> 3.11.0)
46
+ rspec-core (3.11.0)
47
+ rspec-support (~> 3.11.0)
48
+ rspec-expectations (3.11.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.11.0)
51
+ rspec-mocks (3.11.1)
52
+ diff-lcs (>= 1.2.0, < 2.0)
53
+ rspec-support (~> 3.11.0)
54
+ rspec-support (3.11.0)
55
+ thor (1.2.1)
56
+ thread_safe (0.3.6)
57
+ tzinfo (1.2.10)
58
+ thread_safe (~> 0.1)
59
+ zeitwerk (2.6.0)
60
+
61
+ PLATFORMS
62
+ ruby
63
+
64
+ DEPENDENCIES
65
+ activerecord (~> 6.0.0)
66
+ activerecord-nulldb-adapter
67
+ appraisal
68
+ debug
69
+ rake
70
+ rspec
71
+ stator!
72
+
73
+ BUNDLED WITH
74
+ 2.3.16
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 6.1.0"
6
+ gem "appraisal"
7
+ gem "debug"
8
+ gem "activerecord-nulldb-adapter"
9
+ gem "rake"
10
+ gem "rspec"
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,73 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ stator (0.9.0.beta)
5
+ activerecord
6
+ activesupport
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (6.1.6.1)
12
+ activesupport (= 6.1.6.1)
13
+ activerecord (6.1.6.1)
14
+ activemodel (= 6.1.6.1)
15
+ activesupport (= 6.1.6.1)
16
+ activerecord-nulldb-adapter (0.8.0)
17
+ activerecord (>= 5.2.0, < 7.1)
18
+ activesupport (6.1.6.1)
19
+ concurrent-ruby (~> 1.0, >= 1.0.2)
20
+ i18n (>= 1.6, < 2)
21
+ minitest (>= 5.1)
22
+ tzinfo (~> 2.0)
23
+ zeitwerk (~> 2.3)
24
+ appraisal (2.4.1)
25
+ bundler
26
+ rake
27
+ thor (>= 0.14.0)
28
+ concurrent-ruby (1.1.10)
29
+ debug (1.6.1)
30
+ irb (>= 1.3.6)
31
+ reline (>= 0.3.1)
32
+ diff-lcs (1.5.0)
33
+ i18n (1.12.0)
34
+ concurrent-ruby (~> 1.0)
35
+ io-console (0.5.11)
36
+ irb (1.4.1)
37
+ reline (>= 0.3.0)
38
+ minitest (5.16.2)
39
+ rake (13.0.6)
40
+ reline (0.3.1)
41
+ io-console (~> 0.5)
42
+ rspec (3.11.0)
43
+ rspec-core (~> 3.11.0)
44
+ rspec-expectations (~> 3.11.0)
45
+ rspec-mocks (~> 3.11.0)
46
+ rspec-core (3.11.0)
47
+ rspec-support (~> 3.11.0)
48
+ rspec-expectations (3.11.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.11.0)
51
+ rspec-mocks (3.11.1)
52
+ diff-lcs (>= 1.2.0, < 2.0)
53
+ rspec-support (~> 3.11.0)
54
+ rspec-support (3.11.0)
55
+ thor (1.2.1)
56
+ tzinfo (2.0.5)
57
+ concurrent-ruby (~> 1.0)
58
+ zeitwerk (2.6.0)
59
+
60
+ PLATFORMS
61
+ ruby
62
+
63
+ DEPENDENCIES
64
+ activerecord (~> 6.1.0)
65
+ activerecord-nulldb-adapter
66
+ appraisal
67
+ debug
68
+ rake
69
+ rspec
70
+ stator!
71
+
72
+ BUNDLED WITH
73
+ 2.3.16
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 7.0.0"
6
+ gem "appraisal"
7
+ gem "debug"
8
+ gem "activerecord-nulldb-adapter"
9
+ gem "rake"
10
+ gem "rspec"
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,71 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ stator (0.9.0.beta)
5
+ activerecord
6
+ activesupport
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (7.0.3.1)
12
+ activesupport (= 7.0.3.1)
13
+ activerecord (7.0.3.1)
14
+ activemodel (= 7.0.3.1)
15
+ activesupport (= 7.0.3.1)
16
+ activerecord-nulldb-adapter (0.8.0)
17
+ activerecord (>= 5.2.0, < 7.1)
18
+ activesupport (7.0.3.1)
19
+ concurrent-ruby (~> 1.0, >= 1.0.2)
20
+ i18n (>= 1.6, < 2)
21
+ minitest (>= 5.1)
22
+ tzinfo (~> 2.0)
23
+ appraisal (2.4.1)
24
+ bundler
25
+ rake
26
+ thor (>= 0.14.0)
27
+ concurrent-ruby (1.1.10)
28
+ debug (1.6.1)
29
+ irb (>= 1.3.6)
30
+ reline (>= 0.3.1)
31
+ diff-lcs (1.5.0)
32
+ i18n (1.12.0)
33
+ concurrent-ruby (~> 1.0)
34
+ io-console (0.5.11)
35
+ irb (1.4.1)
36
+ reline (>= 0.3.0)
37
+ minitest (5.16.2)
38
+ rake (13.0.6)
39
+ reline (0.3.1)
40
+ io-console (~> 0.5)
41
+ rspec (3.11.0)
42
+ rspec-core (~> 3.11.0)
43
+ rspec-expectations (~> 3.11.0)
44
+ rspec-mocks (~> 3.11.0)
45
+ rspec-core (3.11.0)
46
+ rspec-support (~> 3.11.0)
47
+ rspec-expectations (3.11.0)
48
+ diff-lcs (>= 1.2.0, < 2.0)
49
+ rspec-support (~> 3.11.0)
50
+ rspec-mocks (3.11.1)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.11.0)
53
+ rspec-support (3.11.0)
54
+ thor (1.2.1)
55
+ tzinfo (2.0.5)
56
+ concurrent-ruby (~> 1.0)
57
+
58
+ PLATFORMS
59
+ ruby
60
+
61
+ DEPENDENCIES
62
+ activerecord (~> 7.0.0)
63
+ activerecord-nulldb-adapter
64
+ appraisal
65
+ debug
66
+ rake
67
+ rspec
68
+ stator!
69
+
70
+ BUNDLED WITH
71
+ 2.3.16