rbexy 2.0.0.rc4 → 2.0.0.rc5

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: b3da8ac01ae3a56e74a7544bd0f2ddcbeb0e5f644536e680d23d45d97c5684e5
4
- data.tar.gz: 5fba4e0a212271ef2addca3627e5c813634ef10d50d79f6033f920f8627b917b
3
+ metadata.gz: f3e307f06d063d443b8855957782b0a50d784b668cff6416f8f62104806c311d
4
+ data.tar.gz: 58b42a19cc1f1feebb6377f4373fe5a41b90e582ee655dcc56714fbbf9b66a43
5
5
  SHA512:
6
- metadata.gz: adfc2045a5026740efa9698a5860e136e144737842e8684358989998cc3986a45be6c2d8364b1b4ea9651fe68861ac5c3d060e5b4f9fed5579802f3a5c892092
7
- data.tar.gz: f7bdc57ad69ba14b679ff8b0a7fbbe175a3cf99b076203496f930c068b0254f62e7c66e09976923cca01184ed8616ac39886698a7e3a7418ad80e9a0d56bdde7
6
+ metadata.gz: 48ccb0e6d85c8c30b9c57f5ed95669c1569cb97c364a1504758bfe4b5f0a6be2793d63810746a68ed05c380bd4b64f5daa5f495c1ee280518c46a0700c1f9ecb
7
+ data.tar.gz: '09c95507b417c6725f177abda4a1927b838baf50e6534401daeee8e937cb1c7f4d7d5115a17fecc454c05571197097293d1bea2540587192ba6e31d03a51f04c'
@@ -6,8 +6,8 @@ jobs:
6
6
  fail-fast: false
7
7
  matrix:
8
8
  gemfile: [rails_6_1, rails_7_0, rails_7_1, 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]
9
+ # quote version numbers, they are not "numbers"
10
+ ruby: ['3.1', '3.2', '3.3']
11
11
  runs-on: ubuntu-latest
12
12
  env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
13
13
  BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
data/.travis.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.7
4
- - 3.0
3
+ - 3.1
4
+ - 3.2
5
+ - 3.3
5
6
  script: bin/test
data/Appraisals CHANGED
@@ -11,6 +11,10 @@ appraise "rails-7-1" do
11
11
  gem "rails", "~> 7.1.0"
12
12
  end
13
13
 
14
+ appraise "rails-7-2" do
15
+ gem "rails", "~> 7.2.0"
16
+ end
17
+
14
18
  appraise "rails-master" do
15
19
  gem "rails", git: "https://github.com/rails/rails.git", branch: :main
16
20
  end
data/Dockerfile CHANGED
@@ -1,8 +1,8 @@
1
- FROM ruby:3.1.1
1
+ FROM ruby:3.3.0
2
2
  RUN apt-get update -qq
3
3
 
4
4
  WORKDIR /app
5
5
 
6
6
  COPY . .
7
7
  RUN bundle
8
- RUN bundle exec appraisal bundle
8
+ RUN bundle exec appraisal bundle
data/Gemfile.lock CHANGED
@@ -1,103 +1,99 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rbexy (2.0.0.rc4)
5
- actionview (>= 6, < 7.2)
6
- activesupport (>= 6, < 7.2)
4
+ rbexy (2.0.0.rc5)
5
+ actionview (>= 6, < 7.3)
6
+ activesupport (>= 6, < 7.3)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (7.1.1)
12
- actionpack (= 7.1.1)
13
- activesupport (= 7.1.1)
11
+ actioncable (7.2.0)
12
+ actionpack (= 7.2.0)
13
+ activesupport (= 7.2.0)
14
14
  nio4r (~> 2.0)
15
15
  websocket-driver (>= 0.6.1)
16
16
  zeitwerk (~> 2.6)
17
- actionmailbox (7.1.1)
18
- actionpack (= 7.1.1)
19
- activejob (= 7.1.1)
20
- activerecord (= 7.1.1)
21
- activestorage (= 7.1.1)
22
- activesupport (= 7.1.1)
23
- mail (>= 2.7.1)
24
- net-imap
25
- net-pop
26
- net-smtp
27
- actionmailer (7.1.1)
28
- actionpack (= 7.1.1)
29
- actionview (= 7.1.1)
30
- activejob (= 7.1.1)
31
- activesupport (= 7.1.1)
32
- mail (~> 2.5, >= 2.5.4)
33
- net-imap
34
- net-pop
35
- net-smtp
17
+ actionmailbox (7.2.0)
18
+ actionpack (= 7.2.0)
19
+ activejob (= 7.2.0)
20
+ activerecord (= 7.2.0)
21
+ activestorage (= 7.2.0)
22
+ activesupport (= 7.2.0)
23
+ mail (>= 2.8.0)
24
+ actionmailer (7.2.0)
25
+ actionpack (= 7.2.0)
26
+ actionview (= 7.2.0)
27
+ activejob (= 7.2.0)
28
+ activesupport (= 7.2.0)
29
+ mail (>= 2.8.0)
36
30
  rails-dom-testing (~> 2.2)
37
- actionpack (7.1.1)
38
- actionview (= 7.1.1)
39
- activesupport (= 7.1.1)
31
+ actionpack (7.2.0)
32
+ actionview (= 7.2.0)
33
+ activesupport (= 7.2.0)
40
34
  nokogiri (>= 1.8.5)
41
- rack (>= 2.2.4)
35
+ racc
36
+ rack (>= 2.2.4, < 3.2)
42
37
  rack-session (>= 1.0.1)
43
38
  rack-test (>= 0.6.3)
44
39
  rails-dom-testing (~> 2.2)
45
40
  rails-html-sanitizer (~> 1.6)
46
- actiontext (7.1.1)
47
- actionpack (= 7.1.1)
48
- activerecord (= 7.1.1)
49
- activestorage (= 7.1.1)
50
- activesupport (= 7.1.1)
41
+ useragent (~> 0.16)
42
+ actiontext (7.2.0)
43
+ actionpack (= 7.2.0)
44
+ activerecord (= 7.2.0)
45
+ activestorage (= 7.2.0)
46
+ activesupport (= 7.2.0)
51
47
  globalid (>= 0.6.0)
52
48
  nokogiri (>= 1.8.5)
53
- actionview (7.1.1)
54
- activesupport (= 7.1.1)
49
+ actionview (7.2.0)
50
+ activesupport (= 7.2.0)
55
51
  builder (~> 3.1)
56
52
  erubi (~> 1.11)
57
53
  rails-dom-testing (~> 2.2)
58
54
  rails-html-sanitizer (~> 1.6)
59
- activejob (7.1.1)
60
- activesupport (= 7.1.1)
55
+ activejob (7.2.0)
56
+ activesupport (= 7.2.0)
61
57
  globalid (>= 0.3.6)
62
- activemodel (7.1.1)
63
- activesupport (= 7.1.1)
64
- activerecord (7.1.1)
65
- activemodel (= 7.1.1)
66
- activesupport (= 7.1.1)
58
+ activemodel (7.2.0)
59
+ activesupport (= 7.2.0)
60
+ activerecord (7.2.0)
61
+ activemodel (= 7.2.0)
62
+ activesupport (= 7.2.0)
67
63
  timeout (>= 0.4.0)
68
- activestorage (7.1.1)
69
- actionpack (= 7.1.1)
70
- activejob (= 7.1.1)
71
- activerecord (= 7.1.1)
72
- activesupport (= 7.1.1)
64
+ activestorage (7.2.0)
65
+ actionpack (= 7.2.0)
66
+ activejob (= 7.2.0)
67
+ activerecord (= 7.2.0)
68
+ activesupport (= 7.2.0)
73
69
  marcel (~> 1.0)
74
- activesupport (7.1.1)
70
+ activesupport (7.2.0)
75
71
  base64
76
72
  bigdecimal
77
- concurrent-ruby (~> 1.0, >= 1.0.2)
73
+ concurrent-ruby (~> 1.0, >= 1.3.1)
78
74
  connection_pool (>= 2.2.5)
79
75
  drb
80
76
  i18n (>= 1.6, < 2)
77
+ logger (>= 1.4.2)
81
78
  minitest (>= 5.1)
82
- mutex_m
83
- tzinfo (~> 2.0)
79
+ securerandom (>= 0.3)
80
+ tzinfo (~> 2.0, >= 2.0.5)
84
81
  appraisal (2.4.1)
85
82
  bundler
86
83
  rake
87
84
  thor (>= 0.14.0)
88
- base64 (0.1.1)
89
- bigdecimal (3.1.4)
90
- builder (3.2.4)
85
+ base64 (0.2.0)
86
+ bigdecimal (3.1.8)
87
+ builder (3.3.0)
91
88
  byebug (11.1.3)
92
89
  coderay (1.1.3)
93
- concurrent-ruby (1.2.2)
90
+ concurrent-ruby (1.3.4)
94
91
  connection_pool (2.4.1)
95
92
  crass (1.0.6)
96
- date (3.3.3)
93
+ date (3.3.4)
97
94
  diff-lcs (1.5.0)
98
- drb (2.1.1)
99
- ruby2_keywords
100
- erubi (1.12.0)
95
+ drb (2.2.1)
96
+ erubi (1.13.0)
101
97
  ffi (1.15.0)
102
98
  formatador (0.2.5)
103
99
  globalid (1.2.1)
@@ -116,16 +112,17 @@ GEM
116
112
  guard (~> 2.1)
117
113
  guard-compat (~> 1.1)
118
114
  rspec (>= 2.99.0, < 4.0)
119
- i18n (1.14.1)
115
+ i18n (1.14.5)
120
116
  concurrent-ruby (~> 1.0)
121
- io-console (0.6.0)
122
- irb (1.8.3)
123
- rdoc
124
- reline (>= 0.3.8)
117
+ io-console (0.7.2)
118
+ irb (1.14.0)
119
+ rdoc (>= 4.0.0)
120
+ reline (>= 0.4.2)
125
121
  listen (3.4.1)
126
122
  rb-fsevent (~> 0.10, >= 0.10.3)
127
123
  rb-inotify (~> 0.9, >= 0.9.10)
128
- loofah (2.21.4)
124
+ logger (1.6.0)
125
+ loofah (2.22.0)
129
126
  crass (~> 1.0.2)
130
127
  nokogiri (>= 1.12.0)
131
128
  lumberjack (1.2.8)
@@ -134,42 +131,41 @@ GEM
134
131
  net-imap
135
132
  net-pop
136
133
  net-smtp
137
- marcel (1.0.2)
134
+ marcel (1.0.4)
138
135
  memory_profiler (0.9.14)
139
136
  method_source (1.0.0)
140
137
  mini_mime (1.1.5)
141
- mini_portile2 (2.8.4)
142
- minitest (5.20.0)
143
- mutex_m (0.1.2)
138
+ mini_portile2 (2.8.7)
139
+ minitest (5.25.1)
144
140
  nenv (0.3.0)
145
- net-imap (0.4.1)
141
+ net-imap (0.4.14)
146
142
  date
147
143
  net-protocol
148
144
  net-pop (0.1.2)
149
145
  net-protocol
150
- net-protocol (0.2.1)
146
+ net-protocol (0.2.2)
151
147
  timeout
152
- net-smtp (0.4.0)
148
+ net-smtp (0.5.0)
153
149
  net-protocol
154
- nio4r (2.5.9)
155
- nokogiri (1.15.4)
150
+ nio4r (2.7.3)
151
+ nokogiri (1.16.7)
156
152
  mini_portile2 (~> 2.8.2)
157
153
  racc (~> 1.4)
158
154
  notiffany (0.1.3)
159
155
  nenv (~> 0.1)
160
156
  shellany (~> 0.0)
161
- pry (0.13.1)
157
+ pry (0.14.2)
162
158
  coderay (~> 1.1)
163
159
  method_source (~> 1.0)
164
- pry-byebug (3.9.0)
160
+ pry-byebug (3.10.1)
165
161
  byebug (~> 11.0)
166
- pry (~> 0.13.0)
167
- psych (5.1.1.1)
162
+ pry (>= 0.13, < 0.15)
163
+ psych (5.1.2)
168
164
  stringio
169
- puma (5.6.2)
165
+ puma (5.6.8)
170
166
  nio4r (~> 2.0)
171
- racc (1.7.1)
172
- rack (3.0.8)
167
+ racc (1.8.1)
168
+ rack (3.1.7)
173
169
  rack-session (2.0.0)
174
170
  rack (>= 3.0.0)
175
171
  rack-test (2.1.0)
@@ -177,20 +173,20 @@ GEM
177
173
  rackup (2.1.0)
178
174
  rack (>= 3)
179
175
  webrick (~> 1.8)
180
- rails (7.1.1)
181
- actioncable (= 7.1.1)
182
- actionmailbox (= 7.1.1)
183
- actionmailer (= 7.1.1)
184
- actionpack (= 7.1.1)
185
- actiontext (= 7.1.1)
186
- actionview (= 7.1.1)
187
- activejob (= 7.1.1)
188
- activemodel (= 7.1.1)
189
- activerecord (= 7.1.1)
190
- activestorage (= 7.1.1)
191
- activesupport (= 7.1.1)
176
+ rails (7.2.0)
177
+ actioncable (= 7.2.0)
178
+ actionmailbox (= 7.2.0)
179
+ actionmailer (= 7.2.0)
180
+ actionpack (= 7.2.0)
181
+ actiontext (= 7.2.0)
182
+ actionview (= 7.2.0)
183
+ activejob (= 7.2.0)
184
+ activemodel (= 7.2.0)
185
+ activerecord (= 7.2.0)
186
+ activestorage (= 7.2.0)
187
+ activesupport (= 7.2.0)
192
188
  bundler (>= 1.15.0)
193
- railties (= 7.1.1)
189
+ railties (= 7.2.0)
194
190
  rails-dom-testing (2.2.0)
195
191
  activesupport (>= 5.0.0)
196
192
  minitest
@@ -198,21 +194,21 @@ GEM
198
194
  rails-html-sanitizer (1.6.0)
199
195
  loofah (~> 2.21)
200
196
  nokogiri (~> 1.14)
201
- railties (7.1.1)
202
- actionpack (= 7.1.1)
203
- activesupport (= 7.1.1)
204
- irb
197
+ railties (7.2.0)
198
+ actionpack (= 7.2.0)
199
+ activesupport (= 7.2.0)
200
+ irb (~> 1.13)
205
201
  rackup (>= 1.0.0)
206
202
  rake (>= 12.2)
207
203
  thor (~> 1.0, >= 1.2.2)
208
204
  zeitwerk (~> 2.6)
209
- rake (13.0.6)
205
+ rake (13.2.1)
210
206
  rb-fsevent (0.10.4)
211
207
  rb-inotify (0.10.1)
212
208
  ffi (~> 1.0)
213
- rdoc (6.5.0)
209
+ rdoc (6.7.0)
214
210
  psych (>= 4.0.0)
215
- reline (0.3.9)
211
+ reline (0.5.9)
216
212
  io-console (~> 0.5)
217
213
  rspec (3.12.0)
218
214
  rspec-core (~> 3.12.0)
@@ -238,7 +234,7 @@ GEM
238
234
  rspec-mocks (~> 3.12)
239
235
  rspec-support (~> 3.12)
240
236
  rspec-support (3.12.1)
241
- ruby2_keywords (0.0.5)
237
+ securerandom (0.3.1)
242
238
  shellany (0.0.1)
243
239
  sprockets (4.2.1)
244
240
  concurrent-ruby (~> 1.0)
@@ -248,16 +244,17 @@ GEM
248
244
  activesupport (>= 5.2)
249
245
  sprockets (>= 3.0.0)
250
246
  sqlite3 (1.4.2)
251
- stringio (3.0.8)
252
- thor (1.3.0)
253
- timeout (0.4.0)
247
+ stringio (3.1.1)
248
+ thor (1.3.1)
249
+ timeout (0.4.1)
254
250
  tzinfo (2.0.6)
255
251
  concurrent-ruby (~> 1.0)
252
+ useragent (0.16.10)
256
253
  webrick (1.8.1)
257
254
  websocket-driver (0.7.6)
258
255
  websocket-extensions (>= 0.1.0)
259
256
  websocket-extensions (0.1.5)
260
- zeitwerk (2.6.12)
257
+ zeitwerk (2.6.17)
261
258
 
262
259
  PLATFORMS
263
260
  ruby
@@ -268,7 +265,7 @@ DEPENDENCIES
268
265
  memory_profiler (~> 0.9.14)
269
266
  pry-byebug
270
267
  puma
271
- rails (>= 6, < 7.2)
268
+ rails (>= 6, < 7.3)
272
269
  rake
273
270
  rbexy!
274
271
  rspec (~> 3.12)
@@ -278,4 +275,4 @@ DEPENDENCIES
278
275
  sqlite3
279
276
 
280
277
  BUNDLED WITH
281
- 2.2.3
278
+ 2.5.6
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # A Ruby template language inspired by JSX
2
2
 
3
- [![Build Status](https://travis-ci.org/patbenatar/rbexy.svg?branch=master)](https://travis-ci.org/patbenatar/rbexy)
3
+ [![Build Status](https://github.com/patbenatar/rbexy/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/patbenatar/rbexy/actions?query=branch%3Amaster)
4
4
 
5
5
  * [Getting Started](#getting-started-with-rails)
6
6
  * [Template Syntax](#template-syntax)
@@ -63,12 +63,6 @@ gem "rbexy"
63
63
 
64
64
  _From 1.0 onward, we only support Rails 6. If you're using Rails 5, use the 0.x releases._
65
65
 
66
- In `config/application.rb`:
67
-
68
- ```ruby
69
- require "rbexy/rails/engine"
70
- ```
71
-
72
66
  _Not using Rails? See "Usage outside of Rails" below._
73
67
 
74
68
  Create your first component at `app/components/hello_world_component.rb`:
@@ -411,6 +405,12 @@ Appraisal:
411
405
  docker-compose run rbexy bundle exec appraisal bin/test
412
406
  ```
413
407
 
408
+ When updating dependency versions in gemspec, you also need to regenerate the appraisal gemspecs with:
409
+
410
+ ```
411
+ docker-compose run rbexy bundle exec appraisal install
412
+ ```
413
+
414
414
  ## Debugging TemplatePath methods being called
415
415
  When a new version of Rails is released, we need to check what methods are being
416
416
  called on `Rbexy::Component::TemplatePath` to make sure we always return