rails_edge_test 1.1.0 → 1.2.3

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: ac12a3070215271a224ce425b6b5c511129d97061278fa746b48c35749eb2a7c
4
- data.tar.gz: 46f534f9126cca47737b57d20fdaf652c751133ebe4cbabb030c193ad2a06b10
3
+ metadata.gz: f724d645347da1b6623cbcbaa1bde08a327a09a221f6a370cb36b6a341037548
4
+ data.tar.gz: ea61a37b531ae07e16c5ff2bff39adc9983c5f7bcf3e61f83dbc6e9bce0491ed
5
5
  SHA512:
6
- metadata.gz: d6f56c7ff6a8c9e853323cf03a80322806c256ef1eb9b6004ac4906c36cc673a7f075e4f41e151f97e28f135159754260e5ba3e188e4906946ae3d25bab002d9
7
- data.tar.gz: dc730db1da71efa63bda8255747cccc7c4bbbee9271826fe1b568f9d154fac8e8861d9d68bf50f28763bd0aafdd9cb8adaedf42b77944177086e06c1361a89d0
6
+ metadata.gz: 41e33c4efb134d8eaabfd7296f15bdc5bceb9423a47ce668b36d0a46134883d80350ab702f697201edddae31ae10076fe4aaac17a3ef6aba467ca40a707c7fcc
7
+ data.tar.gz: 5034b4e1e2c9d25f61be7c6dfcd4abfac12e50df4fa84153184eba85c88433fb0557d416f93fddb264cfb8e6dc343bae3d20eb7ef335fd72132bbc2a3d92f474
data/.envrc ADDED
@@ -0,0 +1,2 @@
1
+ use nix
2
+ watch_file nix/gemset.nix
data/.gitignore CHANGED
@@ -1,4 +1,4 @@
1
- /.bundle/
1
+ .bundle/
2
2
  /.yardoc
3
3
  /Gemfile.lock
4
4
  /_yardoc/
@@ -15,3 +15,6 @@
15
15
 
16
16
  # RubyMine
17
17
  /.idea
18
+
19
+ # nixified bundle
20
+ /nix/vendor
@@ -1,8 +1,11 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.3.4
4
- - 2.4.3
5
- - 2.5.0
3
+ - 2.6.6
4
+ - 2.7.2
6
5
  before_install:
7
6
  - gem update --system
8
7
  - gem install bundler
8
+ cache: bundler
9
+ gemfile:
10
+ - gemfiles/rails_5.2.gemfile
11
+ - gemfiles/rails_6.0.gemfile
@@ -0,0 +1,7 @@
1
+ appraise 'rails-5.2' do
2
+ gem 'rails', '~> 5.2.0'
3
+ end
4
+
5
+ appraise 'rails-6.0' do
6
+ gem 'rails', '~> 6.0.0'
7
+ end
@@ -1,6 +1,24 @@
1
1
  # The Changelog
2
2
 
3
+ ## Version 1.2.3: December 0808080808080808, 2020
4
+ - Add rails 6 support (#39)
3
5
 
6
+ ## Version 1.2.2: April 20, 2020
7
+ - config.include allows module functions to be available within controller helper methods
8
+
9
+ ## Version 1.2.1: April 17, 2020
10
+
11
+ - fix delegate method not being defined
12
+
13
+ ## Version 1.2.0: April 17, 2020
14
+
15
+ - nix developer setup (#28, thanks @arkham!)
16
+ - support scoped defined methods (with `def`) (#29, thanks @arkham!)
17
+
18
+ ## Version 1.1.1: January 17, 2019
19
+
20
+ - test fixes (#25)
21
+ - more deterministic edge generation (#26)
4
22
 
5
23
  ## Version 1.1.0: April 2, 2019
6
24
 
@@ -22,17 +40,14 @@
22
40
 
23
41
  - Bug fixes for generated JSON is now formatted to aid in comparing versions of generated fixtures
24
42
 
25
-
26
43
  ## Version 0.5.0: Sep 4, 2018
27
44
 
28
45
  - Generated JSON is now formatted to aid in comparing versions of generated fixtures
29
46
 
30
-
31
47
  ## Version 0.4.0: Aug 16, 2018
32
48
 
33
49
  - `let` bindings can now be set at the controller level and overridden or used in child actions.
34
50
 
35
-
36
51
  ## Version 0.3.0: Mar 7, 2018
37
52
 
38
53
  - User can generate edges, one file at a time, by passing filename into new exe/generate_edges
@@ -43,7 +58,6 @@
43
58
 
44
59
  - Replaced rake task with RailsEdgeTest::Runner
45
60
 
46
-
47
61
  ## Version 0.2.2: Feb 20, 2018
48
62
 
49
63
  - Beginning of this changelog.
data/README.md CHANGED
@@ -128,6 +128,13 @@ To install this gem onto your local machine, run `bundle exec rake install`.
128
128
 
129
129
  To release a new version, follow the instructions in [PUBLISHING.md](PUBLISHING.md).
130
130
 
131
+ ### Nix support
132
+
133
+ In order to get Nix working you need to have [direnv](https://github.com/direnv/direnv) installed. You will have to `direnv allow` to load the current `.envrc`. You can then run from the top level folder:
134
+
135
+ ```
136
+ ./nix/update-gemset.sh
137
+ ```
131
138
 
132
139
  ## Contributing
133
140
 
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 5.2.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,149 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ rails_edge_test (1.2.3)
5
+ actionpack (>= 5.2.0, < 7.0.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.2.4.4)
11
+ actionpack (= 5.2.4.4)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailer (5.2.4.4)
15
+ actionpack (= 5.2.4.4)
16
+ actionview (= 5.2.4.4)
17
+ activejob (= 5.2.4.4)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.2.4.4)
21
+ actionview (= 5.2.4.4)
22
+ activesupport (= 5.2.4.4)
23
+ rack (~> 2.0, >= 2.0.8)
24
+ rack-test (>= 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.2.4.4)
28
+ activesupport (= 5.2.4.4)
29
+ builder (~> 3.1)
30
+ erubi (~> 1.4)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.2.4.4)
34
+ activesupport (= 5.2.4.4)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.2.4.4)
37
+ activesupport (= 5.2.4.4)
38
+ activerecord (5.2.4.4)
39
+ activemodel (= 5.2.4.4)
40
+ activesupport (= 5.2.4.4)
41
+ arel (>= 9.0)
42
+ activestorage (5.2.4.4)
43
+ actionpack (= 5.2.4.4)
44
+ activerecord (= 5.2.4.4)
45
+ marcel (~> 0.3.1)
46
+ activesupport (5.2.4.4)
47
+ concurrent-ruby (~> 1.0, >= 1.0.2)
48
+ i18n (>= 0.7, < 2)
49
+ minitest (~> 5.1)
50
+ tzinfo (~> 1.1)
51
+ appraisal (2.3.0)
52
+ bundler
53
+ rake
54
+ thor (>= 0.14.0)
55
+ arel (9.0.0)
56
+ builder (3.2.4)
57
+ concurrent-ruby (1.1.7)
58
+ crass (1.0.6)
59
+ diff-lcs (1.4.4)
60
+ erubi (1.10.0)
61
+ globalid (0.4.2)
62
+ activesupport (>= 4.2.0)
63
+ i18n (1.8.5)
64
+ concurrent-ruby (~> 1.0)
65
+ loofah (2.8.0)
66
+ crass (~> 1.0.2)
67
+ nokogiri (>= 1.5.9)
68
+ mail (2.7.1)
69
+ mini_mime (>= 0.1.1)
70
+ marcel (0.3.3)
71
+ mimemagic (~> 0.3.2)
72
+ method_source (1.0.0)
73
+ mimemagic (0.3.5)
74
+ mini_mime (1.0.2)
75
+ mini_portile2 (2.4.0)
76
+ minitest (5.14.2)
77
+ nio4r (2.5.4)
78
+ nokogiri (1.10.10)
79
+ mini_portile2 (~> 2.4.0)
80
+ rack (2.2.3)
81
+ rack-test (1.1.0)
82
+ rack (>= 1.0, < 3)
83
+ rails (5.2.4.4)
84
+ actioncable (= 5.2.4.4)
85
+ actionmailer (= 5.2.4.4)
86
+ actionpack (= 5.2.4.4)
87
+ actionview (= 5.2.4.4)
88
+ activejob (= 5.2.4.4)
89
+ activemodel (= 5.2.4.4)
90
+ activerecord (= 5.2.4.4)
91
+ activestorage (= 5.2.4.4)
92
+ activesupport (= 5.2.4.4)
93
+ bundler (>= 1.3.0)
94
+ railties (= 5.2.4.4)
95
+ sprockets-rails (>= 2.0.0)
96
+ rails-dom-testing (2.0.3)
97
+ activesupport (>= 4.2.0)
98
+ nokogiri (>= 1.6)
99
+ rails-html-sanitizer (1.3.0)
100
+ loofah (~> 2.3)
101
+ railties (5.2.4.4)
102
+ actionpack (= 5.2.4.4)
103
+ activesupport (= 5.2.4.4)
104
+ method_source
105
+ rake (>= 0.8.7)
106
+ thor (>= 0.19.0, < 2.0)
107
+ rake (13.0.1)
108
+ rspec (3.10.0)
109
+ rspec-core (~> 3.10.0)
110
+ rspec-expectations (~> 3.10.0)
111
+ rspec-mocks (~> 3.10.0)
112
+ rspec-core (3.10.0)
113
+ rspec-support (~> 3.10.0)
114
+ rspec-expectations (3.10.0)
115
+ diff-lcs (>= 1.2.0, < 2.0)
116
+ rspec-support (~> 3.10.0)
117
+ rspec-mocks (3.10.0)
118
+ diff-lcs (>= 1.2.0, < 2.0)
119
+ rspec-support (~> 3.10.0)
120
+ rspec-support (3.10.0)
121
+ sprockets (4.0.2)
122
+ concurrent-ruby (~> 1.0)
123
+ rack (> 1, < 3)
124
+ sprockets-rails (3.2.2)
125
+ actionpack (>= 4.0)
126
+ activesupport (>= 4.0)
127
+ sprockets (>= 3.0.0)
128
+ sqlite3 (1.4.2)
129
+ thor (1.0.1)
130
+ thread_safe (0.3.6)
131
+ tzinfo (1.2.8)
132
+ thread_safe (~> 0.1)
133
+ websocket-driver (0.7.3)
134
+ websocket-extensions (>= 0.1.0)
135
+ websocket-extensions (0.1.5)
136
+
137
+ PLATFORMS
138
+ ruby
139
+
140
+ DEPENDENCIES
141
+ appraisal (~> 2.3)
142
+ rails (~> 5.2.0)
143
+ rails_edge_test!
144
+ rake (~> 13.0)
145
+ rspec (~> 3.9)
146
+ sqlite3 (~> 1.4.0)
147
+
148
+ BUNDLED WITH
149
+ 2.1.4
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 6.0.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,165 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ rails_edge_test (1.2.3)
5
+ actionpack (>= 5.2.0, < 7.0.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (6.0.3.4)
11
+ actionpack (= 6.0.3.4)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailbox (6.0.3.4)
15
+ actionpack (= 6.0.3.4)
16
+ activejob (= 6.0.3.4)
17
+ activerecord (= 6.0.3.4)
18
+ activestorage (= 6.0.3.4)
19
+ activesupport (= 6.0.3.4)
20
+ mail (>= 2.7.1)
21
+ actionmailer (6.0.3.4)
22
+ actionpack (= 6.0.3.4)
23
+ actionview (= 6.0.3.4)
24
+ activejob (= 6.0.3.4)
25
+ mail (~> 2.5, >= 2.5.4)
26
+ rails-dom-testing (~> 2.0)
27
+ actionpack (6.0.3.4)
28
+ actionview (= 6.0.3.4)
29
+ activesupport (= 6.0.3.4)
30
+ rack (~> 2.0, >= 2.0.8)
31
+ rack-test (>= 0.6.3)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
34
+ actiontext (6.0.3.4)
35
+ actionpack (= 6.0.3.4)
36
+ activerecord (= 6.0.3.4)
37
+ activestorage (= 6.0.3.4)
38
+ activesupport (= 6.0.3.4)
39
+ nokogiri (>= 1.8.5)
40
+ actionview (6.0.3.4)
41
+ activesupport (= 6.0.3.4)
42
+ builder (~> 3.1)
43
+ erubi (~> 1.4)
44
+ rails-dom-testing (~> 2.0)
45
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
46
+ activejob (6.0.3.4)
47
+ activesupport (= 6.0.3.4)
48
+ globalid (>= 0.3.6)
49
+ activemodel (6.0.3.4)
50
+ activesupport (= 6.0.3.4)
51
+ activerecord (6.0.3.4)
52
+ activemodel (= 6.0.3.4)
53
+ activesupport (= 6.0.3.4)
54
+ activestorage (6.0.3.4)
55
+ actionpack (= 6.0.3.4)
56
+ activejob (= 6.0.3.4)
57
+ activerecord (= 6.0.3.4)
58
+ marcel (~> 0.3.1)
59
+ activesupport (6.0.3.4)
60
+ concurrent-ruby (~> 1.0, >= 1.0.2)
61
+ i18n (>= 0.7, < 2)
62
+ minitest (~> 5.1)
63
+ tzinfo (~> 1.1)
64
+ zeitwerk (~> 2.2, >= 2.2.2)
65
+ appraisal (2.3.0)
66
+ bundler
67
+ rake
68
+ thor (>= 0.14.0)
69
+ builder (3.2.4)
70
+ concurrent-ruby (1.1.7)
71
+ crass (1.0.6)
72
+ diff-lcs (1.4.4)
73
+ erubi (1.10.0)
74
+ globalid (0.4.2)
75
+ activesupport (>= 4.2.0)
76
+ i18n (1.8.5)
77
+ concurrent-ruby (~> 1.0)
78
+ loofah (2.8.0)
79
+ crass (~> 1.0.2)
80
+ nokogiri (>= 1.5.9)
81
+ mail (2.7.1)
82
+ mini_mime (>= 0.1.1)
83
+ marcel (0.3.3)
84
+ mimemagic (~> 0.3.2)
85
+ method_source (1.0.0)
86
+ mimemagic (0.3.5)
87
+ mini_mime (1.0.2)
88
+ mini_portile2 (2.4.0)
89
+ minitest (5.14.2)
90
+ nio4r (2.5.4)
91
+ nokogiri (1.10.10)
92
+ mini_portile2 (~> 2.4.0)
93
+ rack (2.2.3)
94
+ rack-test (1.1.0)
95
+ rack (>= 1.0, < 3)
96
+ rails (6.0.3.4)
97
+ actioncable (= 6.0.3.4)
98
+ actionmailbox (= 6.0.3.4)
99
+ actionmailer (= 6.0.3.4)
100
+ actionpack (= 6.0.3.4)
101
+ actiontext (= 6.0.3.4)
102
+ actionview (= 6.0.3.4)
103
+ activejob (= 6.0.3.4)
104
+ activemodel (= 6.0.3.4)
105
+ activerecord (= 6.0.3.4)
106
+ activestorage (= 6.0.3.4)
107
+ activesupport (= 6.0.3.4)
108
+ bundler (>= 1.3.0)
109
+ railties (= 6.0.3.4)
110
+ sprockets-rails (>= 2.0.0)
111
+ rails-dom-testing (2.0.3)
112
+ activesupport (>= 4.2.0)
113
+ nokogiri (>= 1.6)
114
+ rails-html-sanitizer (1.3.0)
115
+ loofah (~> 2.3)
116
+ railties (6.0.3.4)
117
+ actionpack (= 6.0.3.4)
118
+ activesupport (= 6.0.3.4)
119
+ method_source
120
+ rake (>= 0.8.7)
121
+ thor (>= 0.20.3, < 2.0)
122
+ rake (13.0.1)
123
+ rspec (3.10.0)
124
+ rspec-core (~> 3.10.0)
125
+ rspec-expectations (~> 3.10.0)
126
+ rspec-mocks (~> 3.10.0)
127
+ rspec-core (3.10.0)
128
+ rspec-support (~> 3.10.0)
129
+ rspec-expectations (3.10.0)
130
+ diff-lcs (>= 1.2.0, < 2.0)
131
+ rspec-support (~> 3.10.0)
132
+ rspec-mocks (3.10.0)
133
+ diff-lcs (>= 1.2.0, < 2.0)
134
+ rspec-support (~> 3.10.0)
135
+ rspec-support (3.10.0)
136
+ sprockets (4.0.2)
137
+ concurrent-ruby (~> 1.0)
138
+ rack (> 1, < 3)
139
+ sprockets-rails (3.2.2)
140
+ actionpack (>= 4.0)
141
+ activesupport (>= 4.0)
142
+ sprockets (>= 3.0.0)
143
+ sqlite3 (1.4.2)
144
+ thor (1.0.1)
145
+ thread_safe (0.3.6)
146
+ tzinfo (1.2.8)
147
+ thread_safe (~> 0.1)
148
+ websocket-driver (0.7.3)
149
+ websocket-extensions (>= 0.1.0)
150
+ websocket-extensions (0.1.5)
151
+ zeitwerk (2.4.2)
152
+
153
+ PLATFORMS
154
+ ruby
155
+
156
+ DEPENDENCIES
157
+ appraisal (~> 2.3)
158
+ rails (~> 6.0.0)
159
+ rails_edge_test!
160
+ rake (~> 13.0)
161
+ rspec (~> 3.9)
162
+ sqlite3 (~> 1.4.0)
163
+
164
+ BUNDLED WITH
165
+ 2.1.4