rbexy 2.0.0.beta9 → 2.0.0.rc1

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: df2f31c9d3f08e035f5c3d2a7cb7673f29abdb69d17805073df4f615d2000c81
4
- data.tar.gz: cd5c8a28d438f1ce73b0aeb50434cf308dedd17d8e9604e67354686d064f699a
3
+ metadata.gz: d3aebd8398ee8d11c90711ca7dff4e000e8e84a108481f38cc0bc2ea47e4c80b
4
+ data.tar.gz: 74f5f7786f6d181d31e887e15d61854a5076cf7813757c5e008d55652299934f
5
5
  SHA512:
6
- metadata.gz: d4b9919d6e47c54a587bcc3be0c8f763b064f84544ac76c2e3b88b16870fe85100bbb597edeb11465aaa70b03ee92189fb7b8222865b0546455693d73b671bfb
7
- data.tar.gz: 2f540c4199674536e55c9dce96cb03812c73251b349e1d222952c6eb12ce4d544a0c5e69e1f32fcedb770fa03aa50bce86f9848003d7da522d9f890e184a6dc2
6
+ metadata.gz: 4668cfb5d7575db8459eff22b328582b2758ec2cf89aa32b815679d62627fffb4c2d4f0566bf970e7802cda31d5ba0b9bc7c563ee29980a884a5f0abf64659f0
7
+ data.tar.gz: b9bc3ca3709432f52551124051e2d75d67ca294bda75b3675df5cd67b9bb6049a0b802a97fc4d4ad43ce6e2240393961e8d3edb1491e0bee624def15ae62140b
@@ -0,0 +1,20 @@
1
+ name: Build and test
2
+ on: [push, pull_request]
3
+ jobs:
4
+ test:
5
+ strategy:
6
+ fail-fast: false
7
+ matrix:
8
+ gemfile: [rails_6_1, rails_7_0, rails_master]
9
+ # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
10
+ ruby: [2.7, '3.0', 3.1]
11
+ runs-on: ubuntu-latest
12
+ env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
13
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - uses: ruby/setup-ruby@v1
17
+ with:
18
+ ruby-version: ${{ matrix.ruby }}
19
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
20
+ - run: bin/test
data/.gitignore CHANGED
@@ -2,3 +2,4 @@ spec/dummy/log/*
2
2
  pkg/
3
3
  spec/dummy/tmp/*
4
4
  spec/dummy/db/*
5
+ .bundle
data/Appraisals ADDED
@@ -0,0 +1,12 @@
1
+ appraise 'rails-6-1' do
2
+ gem 'rails', '~> 6.1.4'
3
+ gem 'net-smtp', require: false
4
+ end
5
+
6
+ appraise 'rails-7-0' do
7
+ gem 'rails', '~> 7.0.0'
8
+ end
9
+
10
+ appraise 'rails-master' do
11
+ gem 'rails', git: 'https://github.com/rails/rails.git', branch: :main
12
+ end
data/Dockerfile CHANGED
@@ -1,7 +1,8 @@
1
- FROM ruby:3.0.0
1
+ FROM ruby:3.1.1
2
2
  RUN apt-get update -qq
3
3
 
4
4
  WORKDIR /app
5
5
 
6
6
  COPY . .
7
- RUN bundle install
7
+ RUN bundle
8
+ RUN bundle exec appraisal bundle
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rbexy (2.0.0.beta9)
5
- actionview (>= 6.0, < 7.0)
6
- activesupport (>= 6.0, < 7.0)
4
+ rbexy (2.0.0.rc1)
5
+ actionview (>= 6, < 7.1)
6
+ activesupport (>= 6, < 7.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -67,6 +67,10 @@ GEM
67
67
  minitest (>= 5.1)
68
68
  tzinfo (~> 2.0)
69
69
  zeitwerk (~> 2.3)
70
+ appraisal (2.4.1)
71
+ bundler
72
+ rake
73
+ thor (>= 0.14.0)
70
74
  builder (3.2.4)
71
75
  byebug (11.1.3)
72
76
  coderay (1.1.3)
@@ -107,14 +111,16 @@ GEM
107
111
  mimemagic (~> 0.3.2)
108
112
  memory_profiler (0.9.14)
109
113
  method_source (1.0.0)
110
- mimemagic (0.3.5)
114
+ mimemagic (0.3.10)
115
+ nokogiri (~> 1)
116
+ rake
111
117
  mini_mime (1.0.2)
112
- mini_portile2 (2.5.0)
118
+ mini_portile2 (2.8.0)
113
119
  minitest (5.14.4)
114
120
  nenv (0.3.0)
115
121
  nio4r (2.5.7)
116
- nokogiri (1.11.1)
117
- mini_portile2 (~> 2.5.0)
122
+ nokogiri (1.13.3)
123
+ mini_portile2 (~> 2.8.0)
118
124
  racc (~> 1.4)
119
125
  notiffany (0.1.3)
120
126
  nenv (~> 0.1)
@@ -125,7 +131,7 @@ GEM
125
131
  pry-byebug (3.9.0)
126
132
  byebug (~> 11.0)
127
133
  pry (~> 0.13.0)
128
- racc (1.5.2)
134
+ racc (1.6.0)
129
135
  rack (2.2.3)
130
136
  rack-test (1.1.0)
131
137
  rack (>= 1.0, < 3)
@@ -204,15 +210,17 @@ PLATFORMS
204
210
  ruby
205
211
 
206
212
  DEPENDENCIES
213
+ appraisal (~> 2.2)
207
214
  guard-rspec (~> 4.7, >= 4.7.3)
208
215
  memory_profiler (~> 0.9.14)
209
216
  pry-byebug
210
- rails (>= 6.0, < 7.0)
217
+ rails (>= 6, < 7.1)
211
218
  rake
212
219
  rbexy!
213
220
  rspec (~> 3.9)
214
221
  rspec-html-matchers (~> 0.9.3)
215
222
  rspec-rails (~> 4.0, >= 4.0.1)
223
+ sprockets-rails (>= 2, < 4)
216
224
  sqlite3
217
225
 
218
226
  BUNDLED WITH
data/README.md CHANGED
@@ -404,6 +404,26 @@ Or auto-run tests with guard if you prefer:
404
404
  docker-compose run rbexy guard
405
405
  ```
406
406
 
407
+ If you want to run against the supported versions of Rails, use
408
+ Appraisal:
409
+
410
+ ```
411
+ docker-compose run rbexy appraisal bin/test
412
+ ```
413
+
414
+ ## Debugging TemplatePath methods being called
415
+ When a new version of Rails is released, we need to check what methods are being
416
+ called on `Rbexy::Component::TemplatePath` to make sure we always return
417
+ a TemplatePath, not a string due to how we handle `TemplatePath`s
418
+ internally.
419
+
420
+ To list all methods being called, enable `RBEXY_TEMPLATE_PATH_DEBUG` and
421
+ run tests:
422
+
423
+ ```
424
+ docker-compose run -e RBEXY_TEMPLATE_PATH_DEBUG=1 rbexy appraisal bin/test
425
+ ```
426
+
407
427
  ## Contributing
408
428
 
409
429
  Bug reports and pull requests are welcome on GitHub at https://github.com/patbenatar/rbexy. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/patbenatar/rbexy/blob/master/CODE_OF_CONDUCT.md).
data/docker-compose.yml CHANGED
@@ -2,7 +2,6 @@ version: '3'
2
2
 
3
3
  volumes:
4
4
  bundle:
5
- bundle_ruby2:
6
5
 
7
6
  services:
8
7
  rbexy:
@@ -15,14 +14,6 @@ services:
15
14
  - $HOME/.gitconfig:/root/.gitconfig:ro
16
15
  - $HOME/.gem/credentials:/root/.gem/credentials
17
16
  working_dir: /app
18
- rbexy_ruby2:
19
- build:
20
- context: .
21
- dockerfile: Dockerfile-ruby2
22
- volumes:
23
- - .:/app
24
- - bundle_ruby2:/usr/local/bundle
25
- working_dir: /app
26
17
  dummy:
27
18
  image: rbexy
28
19
  volumes:
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 6.1.4"
6
+ gem "net-smtp", require: false
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,232 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ rbexy (2.0.0.beta9)
5
+ actionview (>= 6, < 7.1)
6
+ activesupport (>= 6, < 7.1)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (6.1.4.6)
12
+ actionpack (= 6.1.4.6)
13
+ activesupport (= 6.1.4.6)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ actionmailbox (6.1.4.6)
17
+ actionpack (= 6.1.4.6)
18
+ activejob (= 6.1.4.6)
19
+ activerecord (= 6.1.4.6)
20
+ activestorage (= 6.1.4.6)
21
+ activesupport (= 6.1.4.6)
22
+ mail (>= 2.7.1)
23
+ actionmailer (6.1.4.6)
24
+ actionpack (= 6.1.4.6)
25
+ actionview (= 6.1.4.6)
26
+ activejob (= 6.1.4.6)
27
+ activesupport (= 6.1.4.6)
28
+ mail (~> 2.5, >= 2.5.4)
29
+ rails-dom-testing (~> 2.0)
30
+ actionpack (6.1.4.6)
31
+ actionview (= 6.1.4.6)
32
+ activesupport (= 6.1.4.6)
33
+ rack (~> 2.0, >= 2.0.9)
34
+ rack-test (>= 0.6.3)
35
+ rails-dom-testing (~> 2.0)
36
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
+ actiontext (6.1.4.6)
38
+ actionpack (= 6.1.4.6)
39
+ activerecord (= 6.1.4.6)
40
+ activestorage (= 6.1.4.6)
41
+ activesupport (= 6.1.4.6)
42
+ nokogiri (>= 1.8.5)
43
+ actionview (6.1.4.6)
44
+ activesupport (= 6.1.4.6)
45
+ builder (~> 3.1)
46
+ erubi (~> 1.4)
47
+ rails-dom-testing (~> 2.0)
48
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
+ activejob (6.1.4.6)
50
+ activesupport (= 6.1.4.6)
51
+ globalid (>= 0.3.6)
52
+ activemodel (6.1.4.6)
53
+ activesupport (= 6.1.4.6)
54
+ activerecord (6.1.4.6)
55
+ activemodel (= 6.1.4.6)
56
+ activesupport (= 6.1.4.6)
57
+ activestorage (6.1.4.6)
58
+ actionpack (= 6.1.4.6)
59
+ activejob (= 6.1.4.6)
60
+ activerecord (= 6.1.4.6)
61
+ activesupport (= 6.1.4.6)
62
+ marcel (~> 1.0.0)
63
+ mini_mime (>= 1.1.0)
64
+ activesupport (6.1.4.6)
65
+ concurrent-ruby (~> 1.0, >= 1.0.2)
66
+ i18n (>= 1.6, < 2)
67
+ minitest (>= 5.1)
68
+ tzinfo (~> 2.0)
69
+ zeitwerk (~> 2.3)
70
+ appraisal (2.4.1)
71
+ bundler
72
+ rake
73
+ thor (>= 0.14.0)
74
+ builder (3.2.4)
75
+ byebug (11.1.3)
76
+ coderay (1.1.3)
77
+ concurrent-ruby (1.1.9)
78
+ crass (1.0.6)
79
+ diff-lcs (1.5.0)
80
+ digest (3.1.0)
81
+ erubi (1.10.0)
82
+ ffi (1.15.5)
83
+ formatador (1.1.0)
84
+ globalid (1.0.0)
85
+ activesupport (>= 5.0)
86
+ guard (2.18.0)
87
+ formatador (>= 0.2.4)
88
+ listen (>= 2.7, < 4.0)
89
+ lumberjack (>= 1.0.12, < 2.0)
90
+ nenv (~> 0.1)
91
+ notiffany (~> 0.0)
92
+ pry (>= 0.13.0)
93
+ shellany (~> 0.0)
94
+ thor (>= 0.18.1)
95
+ guard-compat (1.2.1)
96
+ guard-rspec (4.7.3)
97
+ guard (~> 2.1)
98
+ guard-compat (~> 1.1)
99
+ rspec (>= 2.99.0, < 4.0)
100
+ i18n (1.10.0)
101
+ concurrent-ruby (~> 1.0)
102
+ io-wait (0.2.1)
103
+ listen (3.7.1)
104
+ rb-fsevent (~> 0.10, >= 0.10.3)
105
+ rb-inotify (~> 0.9, >= 0.9.10)
106
+ loofah (2.14.0)
107
+ crass (~> 1.0.2)
108
+ nokogiri (>= 1.5.9)
109
+ lumberjack (1.2.8)
110
+ mail (2.7.1)
111
+ mini_mime (>= 0.1.1)
112
+ marcel (1.0.2)
113
+ memory_profiler (0.9.14)
114
+ method_source (1.0.0)
115
+ mini_mime (1.1.2)
116
+ minitest (5.15.0)
117
+ nenv (0.3.0)
118
+ net-protocol (0.1.2)
119
+ io-wait
120
+ timeout
121
+ net-smtp (0.3.1)
122
+ digest
123
+ net-protocol
124
+ timeout
125
+ nio4r (2.5.8)
126
+ nokogiri (1.13.3-x86_64-linux)
127
+ racc (~> 1.4)
128
+ notiffany (0.1.3)
129
+ nenv (~> 0.1)
130
+ shellany (~> 0.0)
131
+ pry (0.13.1)
132
+ coderay (~> 1.1)
133
+ method_source (~> 1.0)
134
+ pry-byebug (3.9.0)
135
+ byebug (~> 11.0)
136
+ pry (~> 0.13.0)
137
+ racc (1.6.0)
138
+ rack (2.2.3)
139
+ rack-test (1.1.0)
140
+ rack (>= 1.0, < 3)
141
+ rails (6.1.4.6)
142
+ actioncable (= 6.1.4.6)
143
+ actionmailbox (= 6.1.4.6)
144
+ actionmailer (= 6.1.4.6)
145
+ actionpack (= 6.1.4.6)
146
+ actiontext (= 6.1.4.6)
147
+ actionview (= 6.1.4.6)
148
+ activejob (= 6.1.4.6)
149
+ activemodel (= 6.1.4.6)
150
+ activerecord (= 6.1.4.6)
151
+ activestorage (= 6.1.4.6)
152
+ activesupport (= 6.1.4.6)
153
+ bundler (>= 1.15.0)
154
+ railties (= 6.1.4.6)
155
+ sprockets-rails (>= 2.0.0)
156
+ rails-dom-testing (2.0.3)
157
+ activesupport (>= 4.2.0)
158
+ nokogiri (>= 1.6)
159
+ rails-html-sanitizer (1.4.2)
160
+ loofah (~> 2.3)
161
+ railties (6.1.4.6)
162
+ actionpack (= 6.1.4.6)
163
+ activesupport (= 6.1.4.6)
164
+ method_source
165
+ rake (>= 0.13)
166
+ thor (~> 1.0)
167
+ rake (13.0.6)
168
+ rb-fsevent (0.11.1)
169
+ rb-inotify (0.10.1)
170
+ ffi (~> 1.0)
171
+ rspec (3.11.0)
172
+ rspec-core (~> 3.11.0)
173
+ rspec-expectations (~> 3.11.0)
174
+ rspec-mocks (~> 3.11.0)
175
+ rspec-core (3.11.0)
176
+ rspec-support (~> 3.11.0)
177
+ rspec-expectations (3.11.0)
178
+ diff-lcs (>= 1.2.0, < 2.0)
179
+ rspec-support (~> 3.11.0)
180
+ rspec-html-matchers (0.9.4)
181
+ nokogiri (~> 1)
182
+ rspec (>= 3.0.0.a, < 4)
183
+ rspec-mocks (3.11.0)
184
+ diff-lcs (>= 1.2.0, < 2.0)
185
+ rspec-support (~> 3.11.0)
186
+ rspec-rails (4.1.2)
187
+ actionpack (>= 4.2)
188
+ activesupport (>= 4.2)
189
+ railties (>= 4.2)
190
+ rspec-core (~> 3.10)
191
+ rspec-expectations (~> 3.10)
192
+ rspec-mocks (~> 3.10)
193
+ rspec-support (~> 3.10)
194
+ rspec-support (3.11.0)
195
+ shellany (0.0.1)
196
+ sprockets (4.0.3)
197
+ concurrent-ruby (~> 1.0)
198
+ rack (> 1, < 3)
199
+ sprockets-rails (3.4.2)
200
+ actionpack (>= 5.2)
201
+ activesupport (>= 5.2)
202
+ sprockets (>= 3.0.0)
203
+ sqlite3 (1.4.2)
204
+ thor (1.2.1)
205
+ timeout (0.2.0)
206
+ tzinfo (2.0.4)
207
+ concurrent-ruby (~> 1.0)
208
+ websocket-driver (0.7.5)
209
+ websocket-extensions (>= 0.1.0)
210
+ websocket-extensions (0.1.5)
211
+ zeitwerk (2.5.4)
212
+
213
+ PLATFORMS
214
+ x86_64-linux
215
+
216
+ DEPENDENCIES
217
+ appraisal (~> 2.2)
218
+ guard-rspec (~> 4.7, >= 4.7.3)
219
+ memory_profiler (~> 0.9.14)
220
+ net-smtp
221
+ pry-byebug
222
+ rails (~> 6.1.4)
223
+ rake
224
+ rbexy!
225
+ rspec (~> 3.9)
226
+ rspec-html-matchers (~> 0.9.3)
227
+ rspec-rails (~> 4.0, >= 4.0.1)
228
+ sprockets-rails (>= 2, < 4)
229
+ sqlite3
230
+
231
+ BUNDLED WITH
232
+ 2.2.3
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 7.0.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,246 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ rbexy (2.0.0.beta9)
5
+ actionview (>= 6, < 7.1)
6
+ activesupport (>= 6, < 7.1)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (7.0.2.2)
12
+ actionpack (= 7.0.2.2)
13
+ activesupport (= 7.0.2.2)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ actionmailbox (7.0.2.2)
17
+ actionpack (= 7.0.2.2)
18
+ activejob (= 7.0.2.2)
19
+ activerecord (= 7.0.2.2)
20
+ activestorage (= 7.0.2.2)
21
+ activesupport (= 7.0.2.2)
22
+ mail (>= 2.7.1)
23
+ net-imap
24
+ net-pop
25
+ net-smtp
26
+ actionmailer (7.0.2.2)
27
+ actionpack (= 7.0.2.2)
28
+ actionview (= 7.0.2.2)
29
+ activejob (= 7.0.2.2)
30
+ activesupport (= 7.0.2.2)
31
+ mail (~> 2.5, >= 2.5.4)
32
+ net-imap
33
+ net-pop
34
+ net-smtp
35
+ rails-dom-testing (~> 2.0)
36
+ actionpack (7.0.2.2)
37
+ actionview (= 7.0.2.2)
38
+ activesupport (= 7.0.2.2)
39
+ rack (~> 2.0, >= 2.2.0)
40
+ rack-test (>= 0.6.3)
41
+ rails-dom-testing (~> 2.0)
42
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
+ actiontext (7.0.2.2)
44
+ actionpack (= 7.0.2.2)
45
+ activerecord (= 7.0.2.2)
46
+ activestorage (= 7.0.2.2)
47
+ activesupport (= 7.0.2.2)
48
+ globalid (>= 0.6.0)
49
+ nokogiri (>= 1.8.5)
50
+ actionview (7.0.2.2)
51
+ activesupport (= 7.0.2.2)
52
+ builder (~> 3.1)
53
+ erubi (~> 1.4)
54
+ rails-dom-testing (~> 2.0)
55
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
56
+ activejob (7.0.2.2)
57
+ activesupport (= 7.0.2.2)
58
+ globalid (>= 0.3.6)
59
+ activemodel (7.0.2.2)
60
+ activesupport (= 7.0.2.2)
61
+ activerecord (7.0.2.2)
62
+ activemodel (= 7.0.2.2)
63
+ activesupport (= 7.0.2.2)
64
+ activestorage (7.0.2.2)
65
+ actionpack (= 7.0.2.2)
66
+ activejob (= 7.0.2.2)
67
+ activerecord (= 7.0.2.2)
68
+ activesupport (= 7.0.2.2)
69
+ marcel (~> 1.0)
70
+ mini_mime (>= 1.1.0)
71
+ activesupport (7.0.2.2)
72
+ concurrent-ruby (~> 1.0, >= 1.0.2)
73
+ i18n (>= 1.6, < 2)
74
+ minitest (>= 5.1)
75
+ tzinfo (~> 2.0)
76
+ appraisal (2.4.1)
77
+ bundler
78
+ rake
79
+ thor (>= 0.14.0)
80
+ builder (3.2.4)
81
+ byebug (11.1.3)
82
+ coderay (1.1.3)
83
+ concurrent-ruby (1.1.9)
84
+ crass (1.0.6)
85
+ diff-lcs (1.5.0)
86
+ digest (3.1.0)
87
+ erubi (1.10.0)
88
+ ffi (1.15.5)
89
+ formatador (1.1.0)
90
+ globalid (1.0.0)
91
+ activesupport (>= 5.0)
92
+ guard (2.18.0)
93
+ formatador (>= 0.2.4)
94
+ listen (>= 2.7, < 4.0)
95
+ lumberjack (>= 1.0.12, < 2.0)
96
+ nenv (~> 0.1)
97
+ notiffany (~> 0.0)
98
+ pry (>= 0.13.0)
99
+ shellany (~> 0.0)
100
+ thor (>= 0.18.1)
101
+ guard-compat (1.2.1)
102
+ guard-rspec (4.7.3)
103
+ guard (~> 2.1)
104
+ guard-compat (~> 1.1)
105
+ rspec (>= 2.99.0, < 4.0)
106
+ i18n (1.10.0)
107
+ concurrent-ruby (~> 1.0)
108
+ io-wait (0.2.1)
109
+ listen (3.7.1)
110
+ rb-fsevent (~> 0.10, >= 0.10.3)
111
+ rb-inotify (~> 0.9, >= 0.9.10)
112
+ loofah (2.14.0)
113
+ crass (~> 1.0.2)
114
+ nokogiri (>= 1.5.9)
115
+ lumberjack (1.2.8)
116
+ mail (2.7.1)
117
+ mini_mime (>= 0.1.1)
118
+ marcel (1.0.2)
119
+ memory_profiler (0.9.14)
120
+ method_source (1.0.0)
121
+ mini_mime (1.1.2)
122
+ minitest (5.15.0)
123
+ nenv (0.3.0)
124
+ net-imap (0.2.3)
125
+ digest
126
+ net-protocol
127
+ strscan
128
+ net-pop (0.1.1)
129
+ digest
130
+ net-protocol
131
+ timeout
132
+ net-protocol (0.1.2)
133
+ io-wait
134
+ timeout
135
+ net-smtp (0.3.1)
136
+ digest
137
+ net-protocol
138
+ timeout
139
+ nio4r (2.5.8)
140
+ nokogiri (1.13.3-x86_64-linux)
141
+ racc (~> 1.4)
142
+ notiffany (0.1.3)
143
+ nenv (~> 0.1)
144
+ shellany (~> 0.0)
145
+ pry (0.13.1)
146
+ coderay (~> 1.1)
147
+ method_source (~> 1.0)
148
+ pry-byebug (3.9.0)
149
+ byebug (~> 11.0)
150
+ pry (~> 0.13.0)
151
+ racc (1.6.0)
152
+ rack (2.2.3)
153
+ rack-test (1.1.0)
154
+ rack (>= 1.0, < 3)
155
+ rails (7.0.2.2)
156
+ actioncable (= 7.0.2.2)
157
+ actionmailbox (= 7.0.2.2)
158
+ actionmailer (= 7.0.2.2)
159
+ actionpack (= 7.0.2.2)
160
+ actiontext (= 7.0.2.2)
161
+ actionview (= 7.0.2.2)
162
+ activejob (= 7.0.2.2)
163
+ activemodel (= 7.0.2.2)
164
+ activerecord (= 7.0.2.2)
165
+ activestorage (= 7.0.2.2)
166
+ activesupport (= 7.0.2.2)
167
+ bundler (>= 1.15.0)
168
+ railties (= 7.0.2.2)
169
+ rails-dom-testing (2.0.3)
170
+ activesupport (>= 4.2.0)
171
+ nokogiri (>= 1.6)
172
+ rails-html-sanitizer (1.4.2)
173
+ loofah (~> 2.3)
174
+ railties (7.0.2.2)
175
+ actionpack (= 7.0.2.2)
176
+ activesupport (= 7.0.2.2)
177
+ method_source
178
+ rake (>= 12.2)
179
+ thor (~> 1.0)
180
+ zeitwerk (~> 2.5)
181
+ rake (13.0.6)
182
+ rb-fsevent (0.11.1)
183
+ rb-inotify (0.10.1)
184
+ ffi (~> 1.0)
185
+ rspec (3.11.0)
186
+ rspec-core (~> 3.11.0)
187
+ rspec-expectations (~> 3.11.0)
188
+ rspec-mocks (~> 3.11.0)
189
+ rspec-core (3.11.0)
190
+ rspec-support (~> 3.11.0)
191
+ rspec-expectations (3.11.0)
192
+ diff-lcs (>= 1.2.0, < 2.0)
193
+ rspec-support (~> 3.11.0)
194
+ rspec-html-matchers (0.9.4)
195
+ nokogiri (~> 1)
196
+ rspec (>= 3.0.0.a, < 4)
197
+ rspec-mocks (3.11.0)
198
+ diff-lcs (>= 1.2.0, < 2.0)
199
+ rspec-support (~> 3.11.0)
200
+ rspec-rails (4.1.2)
201
+ actionpack (>= 4.2)
202
+ activesupport (>= 4.2)
203
+ railties (>= 4.2)
204
+ rspec-core (~> 3.10)
205
+ rspec-expectations (~> 3.10)
206
+ rspec-mocks (~> 3.10)
207
+ rspec-support (~> 3.10)
208
+ rspec-support (3.11.0)
209
+ shellany (0.0.1)
210
+ sprockets (4.0.3)
211
+ concurrent-ruby (~> 1.0)
212
+ rack (> 1, < 3)
213
+ sprockets-rails (3.4.2)
214
+ actionpack (>= 5.2)
215
+ activesupport (>= 5.2)
216
+ sprockets (>= 3.0.0)
217
+ sqlite3 (1.4.2)
218
+ strscan (3.0.1)
219
+ thor (1.2.1)
220
+ timeout (0.2.0)
221
+ tzinfo (2.0.4)
222
+ concurrent-ruby (~> 1.0)
223
+ websocket-driver (0.7.5)
224
+ websocket-extensions (>= 0.1.0)
225
+ websocket-extensions (0.1.5)
226
+ zeitwerk (2.5.4)
227
+
228
+ PLATFORMS
229
+ x86_64-linux
230
+
231
+ DEPENDENCIES
232
+ appraisal (~> 2.2)
233
+ guard-rspec (~> 4.7, >= 4.7.3)
234
+ memory_profiler (~> 0.9.14)
235
+ pry-byebug
236
+ rails (~> 7.0.0)
237
+ rake
238
+ rbexy!
239
+ rspec (~> 3.9)
240
+ rspec-html-matchers (~> 0.9.3)
241
+ rspec-rails (~> 4.0, >= 4.0.1)
242
+ sprockets-rails (>= 2, < 4)
243
+ sqlite3
244
+
245
+ BUNDLED WITH
246
+ 2.2.3
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", git: "https://github.com/rails/rails.git", branch: :main
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,252 @@
1
+ GIT
2
+ remote: https://github.com/rails/rails.git
3
+ revision: 54c73577690e1ec81a79472ba98e28bb3e18703f
4
+ branch: main
5
+ specs:
6
+ actioncable (7.1.0.alpha)
7
+ actionpack (= 7.1.0.alpha)
8
+ activesupport (= 7.1.0.alpha)
9
+ nio4r (~> 2.0)
10
+ websocket-driver (>= 0.6.1)
11
+ actionmailbox (7.1.0.alpha)
12
+ actionpack (= 7.1.0.alpha)
13
+ activejob (= 7.1.0.alpha)
14
+ activerecord (= 7.1.0.alpha)
15
+ activestorage (= 7.1.0.alpha)
16
+ activesupport (= 7.1.0.alpha)
17
+ mail (>= 2.7.1)
18
+ net-imap
19
+ net-pop
20
+ net-smtp
21
+ actionmailer (7.1.0.alpha)
22
+ actionpack (= 7.1.0.alpha)
23
+ actionview (= 7.1.0.alpha)
24
+ activejob (= 7.1.0.alpha)
25
+ activesupport (= 7.1.0.alpha)
26
+ mail (~> 2.5, >= 2.5.4)
27
+ net-imap
28
+ net-pop
29
+ net-smtp
30
+ rails-dom-testing (~> 2.0)
31
+ actionpack (7.1.0.alpha)
32
+ actionview (= 7.1.0.alpha)
33
+ activesupport (= 7.1.0.alpha)
34
+ rack (~> 2.0, >= 2.2.0)
35
+ rack-test (>= 0.6.3)
36
+ rails-dom-testing (~> 2.0)
37
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
38
+ actiontext (7.1.0.alpha)
39
+ actionpack (= 7.1.0.alpha)
40
+ activerecord (= 7.1.0.alpha)
41
+ activestorage (= 7.1.0.alpha)
42
+ activesupport (= 7.1.0.alpha)
43
+ globalid (>= 0.6.0)
44
+ nokogiri (>= 1.8.5)
45
+ actionview (7.1.0.alpha)
46
+ activesupport (= 7.1.0.alpha)
47
+ builder (~> 3.1)
48
+ erubi (~> 1.4)
49
+ rails-dom-testing (~> 2.0)
50
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
51
+ activejob (7.1.0.alpha)
52
+ activesupport (= 7.1.0.alpha)
53
+ globalid (>= 0.3.6)
54
+ activemodel (7.1.0.alpha)
55
+ activesupport (= 7.1.0.alpha)
56
+ activerecord (7.1.0.alpha)
57
+ activemodel (= 7.1.0.alpha)
58
+ activesupport (= 7.1.0.alpha)
59
+ activestorage (7.1.0.alpha)
60
+ actionpack (= 7.1.0.alpha)
61
+ activejob (= 7.1.0.alpha)
62
+ activerecord (= 7.1.0.alpha)
63
+ activesupport (= 7.1.0.alpha)
64
+ marcel (~> 1.0)
65
+ mini_mime (>= 1.1.0)
66
+ activesupport (7.1.0.alpha)
67
+ concurrent-ruby (~> 1.0, >= 1.0.2)
68
+ i18n (>= 1.6, < 2)
69
+ minitest (>= 5.1)
70
+ tzinfo (~> 2.0)
71
+ rails (7.1.0.alpha)
72
+ actioncable (= 7.1.0.alpha)
73
+ actionmailbox (= 7.1.0.alpha)
74
+ actionmailer (= 7.1.0.alpha)
75
+ actionpack (= 7.1.0.alpha)
76
+ actiontext (= 7.1.0.alpha)
77
+ actionview (= 7.1.0.alpha)
78
+ activejob (= 7.1.0.alpha)
79
+ activemodel (= 7.1.0.alpha)
80
+ activerecord (= 7.1.0.alpha)
81
+ activestorage (= 7.1.0.alpha)
82
+ activesupport (= 7.1.0.alpha)
83
+ bundler (>= 1.15.0)
84
+ railties (= 7.1.0.alpha)
85
+ railties (7.1.0.alpha)
86
+ actionpack (= 7.1.0.alpha)
87
+ activesupport (= 7.1.0.alpha)
88
+ method_source
89
+ rake (>= 12.2)
90
+ thor (~> 1.0)
91
+ zeitwerk (~> 2.5)
92
+
93
+ PATH
94
+ remote: ..
95
+ specs:
96
+ rbexy (2.0.0.beta9)
97
+ actionview (>= 6, < 7.1)
98
+ activesupport (>= 6, < 7.1)
99
+
100
+ GEM
101
+ remote: https://rubygems.org/
102
+ specs:
103
+ appraisal (2.4.1)
104
+ bundler
105
+ rake
106
+ thor (>= 0.14.0)
107
+ builder (3.2.4)
108
+ byebug (11.1.3)
109
+ coderay (1.1.3)
110
+ concurrent-ruby (1.1.9)
111
+ crass (1.0.6)
112
+ diff-lcs (1.5.0)
113
+ digest (3.1.0)
114
+ erubi (1.10.0)
115
+ ffi (1.15.5)
116
+ formatador (1.1.0)
117
+ globalid (1.0.0)
118
+ activesupport (>= 5.0)
119
+ guard (2.18.0)
120
+ formatador (>= 0.2.4)
121
+ listen (>= 2.7, < 4.0)
122
+ lumberjack (>= 1.0.12, < 2.0)
123
+ nenv (~> 0.1)
124
+ notiffany (~> 0.0)
125
+ pry (>= 0.13.0)
126
+ shellany (~> 0.0)
127
+ thor (>= 0.18.1)
128
+ guard-compat (1.2.1)
129
+ guard-rspec (4.7.3)
130
+ guard (~> 2.1)
131
+ guard-compat (~> 1.1)
132
+ rspec (>= 2.99.0, < 4.0)
133
+ i18n (1.10.0)
134
+ concurrent-ruby (~> 1.0)
135
+ io-wait (0.2.1)
136
+ listen (3.7.1)
137
+ rb-fsevent (~> 0.10, >= 0.10.3)
138
+ rb-inotify (~> 0.9, >= 0.9.10)
139
+ loofah (2.14.0)
140
+ crass (~> 1.0.2)
141
+ nokogiri (>= 1.5.9)
142
+ lumberjack (1.2.8)
143
+ mail (2.7.1)
144
+ mini_mime (>= 0.1.1)
145
+ marcel (1.0.2)
146
+ memory_profiler (0.9.14)
147
+ method_source (1.0.0)
148
+ mini_mime (1.1.2)
149
+ minitest (5.15.0)
150
+ nenv (0.3.0)
151
+ net-imap (0.2.3)
152
+ digest
153
+ net-protocol
154
+ strscan
155
+ net-pop (0.1.1)
156
+ digest
157
+ net-protocol
158
+ timeout
159
+ net-protocol (0.1.2)
160
+ io-wait
161
+ timeout
162
+ net-smtp (0.3.1)
163
+ digest
164
+ net-protocol
165
+ timeout
166
+ nio4r (2.5.8)
167
+ nokogiri (1.13.3-x86_64-linux)
168
+ racc (~> 1.4)
169
+ notiffany (0.1.3)
170
+ nenv (~> 0.1)
171
+ shellany (~> 0.0)
172
+ pry (0.13.1)
173
+ coderay (~> 1.1)
174
+ method_source (~> 1.0)
175
+ pry-byebug (3.9.0)
176
+ byebug (~> 11.0)
177
+ pry (~> 0.13.0)
178
+ racc (1.6.0)
179
+ rack (2.2.3)
180
+ rack-test (1.1.0)
181
+ rack (>= 1.0, < 3)
182
+ rails-dom-testing (2.0.3)
183
+ activesupport (>= 4.2.0)
184
+ nokogiri (>= 1.6)
185
+ rails-html-sanitizer (1.4.2)
186
+ loofah (~> 2.3)
187
+ rake (13.0.6)
188
+ rb-fsevent (0.11.1)
189
+ rb-inotify (0.10.1)
190
+ ffi (~> 1.0)
191
+ rspec (3.11.0)
192
+ rspec-core (~> 3.11.0)
193
+ rspec-expectations (~> 3.11.0)
194
+ rspec-mocks (~> 3.11.0)
195
+ rspec-core (3.11.0)
196
+ rspec-support (~> 3.11.0)
197
+ rspec-expectations (3.11.0)
198
+ diff-lcs (>= 1.2.0, < 2.0)
199
+ rspec-support (~> 3.11.0)
200
+ rspec-html-matchers (0.9.4)
201
+ nokogiri (~> 1)
202
+ rspec (>= 3.0.0.a, < 4)
203
+ rspec-mocks (3.11.0)
204
+ diff-lcs (>= 1.2.0, < 2.0)
205
+ rspec-support (~> 3.11.0)
206
+ rspec-rails (4.1.2)
207
+ actionpack (>= 4.2)
208
+ activesupport (>= 4.2)
209
+ railties (>= 4.2)
210
+ rspec-core (~> 3.10)
211
+ rspec-expectations (~> 3.10)
212
+ rspec-mocks (~> 3.10)
213
+ rspec-support (~> 3.10)
214
+ rspec-support (3.11.0)
215
+ shellany (0.0.1)
216
+ sprockets (4.0.3)
217
+ concurrent-ruby (~> 1.0)
218
+ rack (> 1, < 3)
219
+ sprockets-rails (3.4.2)
220
+ actionpack (>= 5.2)
221
+ activesupport (>= 5.2)
222
+ sprockets (>= 3.0.0)
223
+ sqlite3 (1.4.2)
224
+ strscan (3.0.1)
225
+ thor (1.2.1)
226
+ timeout (0.2.0)
227
+ tzinfo (2.0.4)
228
+ concurrent-ruby (~> 1.0)
229
+ websocket-driver (0.7.5)
230
+ websocket-extensions (>= 0.1.0)
231
+ websocket-extensions (0.1.5)
232
+ zeitwerk (2.5.4)
233
+
234
+ PLATFORMS
235
+ x86_64-linux
236
+
237
+ DEPENDENCIES
238
+ appraisal (~> 2.2)
239
+ guard-rspec (~> 4.7, >= 4.7.3)
240
+ memory_profiler (~> 0.9.14)
241
+ pry-byebug
242
+ rails!
243
+ rake
244
+ rbexy!
245
+ rspec (~> 3.9)
246
+ rspec-html-matchers (~> 0.9.3)
247
+ rspec-rails (~> 4.0, >= 4.0.1)
248
+ sprockets-rails (>= 2, < 4)
249
+ sqlite3
250
+
251
+ BUNDLED WITH
252
+ 2.2.3
@@ -17,6 +17,10 @@ module Rbexy
17
17
  def gsub(*args)
18
18
  super.tap { |s| break TemplatePath.new(s) }
19
19
  end
20
+
21
+ def from(*args)
22
+ super.tap { |s| break TemplatePath.new(s) }
23
+ end
20
24
  end
21
25
 
22
26
  class_attribute :component_file_location
@@ -1,7 +1,11 @@
1
1
  module Rbexy
2
2
  module Nodes
3
3
  class HTMLElement < AbstractElement
4
- KNOWN_VOID_ELEMENTS = ActionView::Helpers::TagHelper::TagBuilder::VOID_ELEMENTS.map(&:to_s).to_set
4
+ if ActionView.version >= Gem::Version.new("7.0.0")
5
+ KNOWN_VOID_ELEMENTS = ActionView::Helpers::TagHelper::TagBuilder::HTML_VOID_ELEMENTS.map(&:to_s).to_set
6
+ else
7
+ KNOWN_VOID_ELEMENTS = ActionView::Helpers::TagHelper::TagBuilder::VOID_ELEMENTS.map(&:to_s).to_set
8
+ end
5
9
 
6
10
  def precompile
7
11
  nodes = []
@@ -2,7 +2,7 @@ module Rbexy
2
2
  module Nodes
3
3
  module Util
4
4
  def self.escape_string(str)
5
- str.gsub('"', '\\"').gsub("'", "\\'")
5
+ str.gsub('"', '\\"').gsub("'", "\\\\'")
6
6
  end
7
7
  end
8
8
  end
data/lib/rbexy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rbexy
2
- VERSION = "2.0.0.beta9"
2
+ VERSION = "2.0.0.rc1"
3
3
  end
data/rbexy.gemspec CHANGED
@@ -25,10 +25,12 @@ Gem::Specification.new do |spec|
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ["lib"]
27
27
 
28
- spec.add_dependency "activesupport", ">= 6.0", "< 7.0"
29
- spec.add_dependency "actionview", ">= 6.0", "< 7.0"
28
+ spec.add_dependency "activesupport", ">= 6", "< 7.1"
29
+ spec.add_dependency "actionview", ">= 6", "< 7.1"
30
30
 
31
- spec.add_development_dependency "rails", ">= 6.0", "< 7.0"
31
+ spec.add_development_dependency "appraisal", "~> 2.2"
32
+ spec.add_development_dependency "rails", ">= 6", "< 7.1"
33
+ spec.add_development_dependency "sprockets-rails", ">= 2", "< 4"
32
34
  spec.add_development_dependency "rspec", "~> 3.9"
33
35
  spec.add_development_dependency "guard-rspec", "~> 4.7", ">= 4.7.3"
34
36
  spec.add_development_dependency "rspec-rails", "~> 4.0", ">= 4.0.1"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbexy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta9
4
+ version: 2.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Giancola
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2022-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,60 +16,94 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '6.0'
19
+ version: '6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.0'
22
+ version: '7.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '6.0'
29
+ version: '6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.0'
32
+ version: '7.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: actionview
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '6.0'
39
+ version: '6'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '7.0'
42
+ version: '7.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: '6.0'
49
+ version: '6'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '7.0'
52
+ version: '7.1'
53
+ - !ruby/object:Gem::Dependency
54
+ name: appraisal
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '2.2'
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '2.2'
53
67
  - !ruby/object:Gem::Dependency
54
68
  name: rails
55
69
  requirement: !ruby/object:Gem::Requirement
56
70
  requirements:
57
71
  - - ">="
58
72
  - !ruby/object:Gem::Version
59
- version: '6.0'
73
+ version: '6'
74
+ - - "<"
75
+ - !ruby/object:Gem::Version
76
+ version: '7.1'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '6'
84
+ - - "<"
85
+ - !ruby/object:Gem::Version
86
+ version: '7.1'
87
+ - !ruby/object:Gem::Dependency
88
+ name: sprockets-rails
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '2'
60
94
  - - "<"
61
95
  - !ruby/object:Gem::Version
62
- version: '7.0'
96
+ version: '4'
63
97
  type: :development
64
98
  prerelease: false
65
99
  version_requirements: !ruby/object:Gem::Requirement
66
100
  requirements:
67
101
  - - ">="
68
102
  - !ruby/object:Gem::Version
69
- version: '6.0'
103
+ version: '2'
70
104
  - - "<"
71
105
  - !ruby/object:Gem::Version
72
- version: '7.0'
106
+ version: '4'
73
107
  - !ruby/object:Gem::Dependency
74
108
  name: rspec
75
109
  requirement: !ruby/object:Gem::Requirement
@@ -201,12 +235,13 @@ executables: []
201
235
  extensions: []
202
236
  extra_rdoc_files: []
203
237
  files:
238
+ - ".github/workflows/main.yml"
204
239
  - ".gitignore"
205
240
  - ".rspec"
206
241
  - ".travis.yml"
242
+ - Appraisals
207
243
  - CODE_OF_CONDUCT.md
208
244
  - Dockerfile
209
- - Dockerfile-ruby2
210
245
  - Gemfile
211
246
  - Gemfile.lock
212
247
  - Guardfile
@@ -217,6 +252,13 @@ files:
217
252
  - bin/setup
218
253
  - bin/test
219
254
  - docker-compose.yml
255
+ - gemfiles/.bundle/config
256
+ - gemfiles/rails_6_1.gemfile
257
+ - gemfiles/rails_6_1.gemfile.lock
258
+ - gemfiles/rails_7_0.gemfile
259
+ - gemfiles/rails_7_0.gemfile.lock
260
+ - gemfiles/rails_master.gemfile
261
+ - gemfiles/rails_master.gemfile.lock
220
262
  - lib/rbexy.rb
221
263
  - lib/rbexy/ast_transformer.rb
222
264
  - lib/rbexy/cache_component.rb
@@ -279,7 +321,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
279
321
  - !ruby/object:Gem::Version
280
322
  version: 1.3.1
281
323
  requirements: []
282
- rubygems_version: 3.2.3
324
+ rubygems_version: 3.3.7
283
325
  signing_key:
284
326
  specification_version: 4
285
327
  summary: A Ruby template language inspired by JSX
data/Dockerfile-ruby2 DELETED
@@ -1,7 +0,0 @@
1
- FROM ruby:2.7.2
2
- RUN apt-get update -qq
3
-
4
- WORKDIR /app
5
-
6
- COPY . .
7
- RUN bundle install