react_on_rails_pro 16.2.0.beta.16 → 16.2.0.beta.19

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: 3ebc6173ce60ead470a454c30308e09f0341130ed0af5a2e06e2c403005cffb6
4
- data.tar.gz: 8482e11aaeb534457939143614cc969a52bb96fe7ac1db7ed435847bbdc6f716
3
+ metadata.gz: '0948b2364bf24887f838e2f27fc5ed8b1d8b79bc353501d9d13b05bc1678ad24'
4
+ data.tar.gz: f15f10243f24c7f66211d9cf281428be7657aab395b862110e4ce4b303eaecfd
5
5
  SHA512:
6
- metadata.gz: 5c1c2519d7d340ce8bb74619d8e11c4df8d546c58c5b8e9787ad77cb3a4ea80c0ff7c02f476427f72fbf1ea4f6d09d5fb7524ff55aae1621be7d6272c40386fd
7
- data.tar.gz: 68c652b7250fb5a298c3bfaa8f258ab8bc88e9f71f1393311abedc17b1513714a14e02c4249d6176a9f2a25c49dd153c9f6a25913eea8d577ba471fe6aee3039
6
+ metadata.gz: 15850fdf3f3d8b756f213e864ab0d245c7d941fa18d6eae9005cc4f49b8007e73e409a2a748d0e422ddcea504a741cc9d6191dc5d17652736b4ce91b15f5f1dd
7
+ data.tar.gz: 250fb9336012cd4ece659212cd076503d30d7959f148581d16fa26ed32eb09e584dab20272614d44b27afbcd15c489656dbd5289fea969045c4197e66d488aa9
data/.prettierignore CHANGED
@@ -9,3 +9,6 @@ spec/dummy/.yalc/
9
9
 
10
10
  # File Generated by ROR FS-based Registry
11
11
  **/generated
12
+
13
+ # Prettier doesn't understand ERB in RuboCop config
14
+ .rubocop.yml
data/.rubocop.yml CHANGED
@@ -1,111 +1,31 @@
1
- # This is the configuration used to check the rubocop source code.
2
- # Check out: https://github.com/bbatsov/rubocop
3
- require:
4
- - rubocop-performance
5
- - rubocop-rspec
1
+ # Inherits from root config
2
+ inherit_from: ../.rubocop.yml
6
3
 
7
- AllCops:
8
- NewCops: enable
9
- DisplayCopNames: true
10
- TargetRubyVersion: 3.0
11
-
12
- Include:
13
- - '**/Rakefile'
14
- - '**/config.ru'
15
- - 'Gemfile'
16
- - '**/*.rb'
17
- - '**/*.rake'
4
+ # Merge Exclude arrays with parent instead of replacing them
5
+ inherit_mode:
6
+ merge:
7
+ - Exclude
18
8
 
9
+ AllCops:
19
10
  Exclude:
20
11
  <% `git status --ignored --porcelain`.lines.grep(/^!! /).each do |path| %>
21
12
  - <%= path.sub(/^!! /, '') %>
22
13
  <% end %>
23
- - '**/node_modules/**/*'
24
14
  - 'db/schema.rb'
25
15
  - 'db/seeds.rb'
26
- - 'spec/fixtures/**/*'
27
16
  - 'spec/dummy/db/schema.rb'
28
17
  - 'spec/dummy/bin/**/*'
29
- - 'node_modules/**/*'
30
- - 'coverage/**/*'
31
18
  - 'bin/**/*'
32
- - 'vendor/**/*'
33
-
34
- Naming/FileName:
35
- Exclude:
36
- - '**/Gemfile'
37
- - '**/Rakefile'
38
-
39
- Layout/LineLength:
40
- Max: 120
41
-
42
- Style/StringLiterals:
43
- EnforcedStyle: double_quotes
44
-
45
- Style/Documentation:
46
- Enabled: false
47
-
48
- Style/HashEachMethods:
49
- Enabled: true
50
-
51
- Style/HashTransformKeys:
52
- Enabled: true
53
-
54
- Style/HashTransformValues:
55
- Enabled: true
56
-
57
- Metrics/AbcSize:
58
- Max: 28
59
-
60
- Metrics/CyclomaticComplexity:
61
- Max: 8
62
-
63
- Metrics/PerceivedComplexity:
64
- Max: 10
65
-
66
- Metrics/ClassLength:
67
- Max: 140
68
-
69
- Metrics/ParameterLists:
70
- Max: 5
71
- CountKeywordArgs: false
72
-
73
- Metrics/MethodLength:
74
- Max: 41
75
-
76
- Metrics/ModuleLength:
77
- Max: 180
78
-
79
- RSpec/DescribeClass:
80
- Enabled: false
81
-
82
- RSpec/ExampleLength:
83
- Enabled: false
84
-
85
- RSpec/MessageSpies:
86
- Enabled: false
87
-
88
- RSpec/NestedGroups:
89
- Max: 5
90
19
 
91
20
  RSpec/BeforeAfterAll:
92
21
  Exclude:
93
22
  - 'spec/react_on_rails/generators/dev_tests_generator_spec.rb'
94
23
  - 'spec/react_on_rails/generators/install_generator_spec.rb'
95
24
 
96
- RSpec/MessageChain:
97
- Enabled: false
98
-
99
- RSpec/MultipleExpectations:
100
- Enabled: false
101
-
102
25
  RSpec/MultipleDescribes:
103
26
  Exclude:
104
27
  - 'spec/dummy/spec/system/integration_spec.rb'
105
28
 
106
- RSpec/MultipleMemoizedHelpers:
107
- Max: 12
108
-
109
29
  RSpec:
110
30
  Language:
111
31
  Expectations:
@@ -115,6 +35,3 @@ RSpec:
115
35
  Style/GlobalVars:
116
36
  Exclude:
117
37
  - 'spec/dummy/config/environments/development.rb'
118
-
119
- Style/FrozenStringLiteralComment:
120
- EnforcedStyle: always
@@ -1,6 +1,9 @@
1
1
  # Keep in sync with https://github.com/shakacode/react_on_rails/blob/master/Gemfile.development_dependencies
2
2
  # frozen_string_literal: true
3
3
 
4
+ # Shared dev dependencies (rubocop, etc.)
5
+ eval_gemfile File.expand_path("../Gemfile.shared_dev_dependencies", __dir__)
6
+
4
7
  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
5
8
 
6
9
  ruby '3.3.7'
@@ -51,9 +54,6 @@ group :development, :test do
51
54
  gem 'pry-theme' # An easy way to customize Pry colors via theme files
52
55
 
53
56
  gem "rbs", require: false
54
- gem "rubocop", "1.36.0", require: false
55
- gem 'rubocop-performance', "1.15.0", require: false
56
- gem 'rubocop-rspec', "2.13.2", require: false
57
57
  gem "scss_lint", require: false
58
58
  gem 'fakefs', require: 'fakefs/safe'
59
59
  end
data/Gemfile.loader CHANGED
@@ -1,19 +1,20 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Load base dependencies
4
- base_deps = File.read(File.expand_path("./Gemfile.development_dependencies", __dir__))
4
+ base_deps_path = File.expand_path("./Gemfile.development_dependencies", __dir__)
5
+ base_deps = File.read(base_deps_path)
5
6
 
6
7
  # Determine which override file to use
7
- override_deps = if ENV["CI"] == "true" && File.exist?(File.expand_path("./Gemfile.ci", __dir__))
8
+ override_deps_path = if ENV["CI"] == "true" && File.exist?(File.expand_path("./Gemfile.ci", __dir__))
8
9
  # In CI environment, use CI dependencies
9
- File.read(File.expand_path("./Gemfile.ci", __dir__))
10
+ File.expand_path("./Gemfile.ci", __dir__)
10
11
  elsif File.exist?(File.expand_path("./Gemfile.local", __dir__))
11
12
  # In non-CI environment, use local dependencies if they exist
12
- File.read(File.expand_path("./Gemfile.local", __dir__))
13
- else
14
- ""
13
+ File.expand_path("./Gemfile.local", __dir__)
15
14
  end
16
15
 
16
+ override_deps = override_deps_path ? File.read(override_deps_path) : ""
17
+
17
18
  # Parse override gems
18
19
  override_gem_names = override_deps.scan(/^\s*gem\s+["']([^"']+)["']/).flatten
19
20
 
@@ -26,7 +27,9 @@ end
26
27
  base_deps.gsub!(/^\s*$\n/, '')
27
28
 
28
29
  # Evaluate the modified base dependencies
29
- eval(base_deps)
30
+ # Using instance_eval with filepath preserves __dir__ in evaluated content,
31
+ # allowing eval_gemfile calls to work correctly inside loaded files.
32
+ instance_eval(base_deps, base_deps_path)
30
33
 
31
34
  # Evaluate override dependencies if they exist
32
- eval(override_deps) unless override_deps.empty?
35
+ instance_eval(override_deps, override_deps_path) unless override_deps.empty?
data/Gemfile.lock CHANGED
@@ -9,7 +9,7 @@ GIT
9
9
  PATH
10
10
  remote: ..
11
11
  specs:
12
- react_on_rails (16.2.0.beta.16)
12
+ react_on_rails (16.2.0.beta.19)
13
13
  addressable
14
14
  connection_pool
15
15
  execjs (~> 2.5)
@@ -20,7 +20,7 @@ PATH
20
20
  PATH
21
21
  remote: .
22
22
  specs:
23
- react_on_rails_pro (16.2.0.beta.16)
23
+ react_on_rails_pro (16.2.0.beta.19)
24
24
  addressable
25
25
  async (>= 2.6)
26
26
  connection_pool
@@ -29,7 +29,7 @@ PATH
29
29
  httpx (~> 1.5)
30
30
  jwt (~> 2.7)
31
31
  rainbow
32
- react_on_rails (= 16.2.0.beta.16)
32
+ react_on_rails (= 16.2.0.beta.19)
33
33
 
34
34
  GEM
35
35
  remote: https://rubygems.org/
@@ -110,7 +110,7 @@ GEM
110
110
  addressable (2.8.8)
111
111
  public_suffix (>= 2.0.2, < 8.0)
112
112
  amazing_print (1.6.0)
113
- ast (2.4.2)
113
+ ast (2.4.3)
114
114
  async (2.35.0)
115
115
  console (~> 1.29)
116
116
  fiber-annotation
@@ -208,6 +208,7 @@ GEM
208
208
  json (2.17.1)
209
209
  jwt (2.10.2)
210
210
  base64
211
+ language_server-protocol (3.17.0.5)
211
212
  launchy (3.0.1)
212
213
  addressable (~> 2.8)
213
214
  childprocess (~> 5.0)
@@ -252,14 +253,15 @@ GEM
252
253
  nokogiri (1.18.10-x86_64-linux-gnu)
253
254
  racc (~> 1.4)
254
255
  package_json (0.2.0)
255
- parallel (1.25.1)
256
- parser (3.3.3.0)
256
+ parallel (1.27.0)
257
+ parser (3.3.10.0)
257
258
  ast (~> 2.4.1)
258
259
  racc
259
260
  pg (1.5.6)
260
261
  pp (0.6.3)
261
262
  prettyprint
262
263
  prettyprint (0.2.0)
264
+ prism (1.6.0)
263
265
  protocol (2.0.0)
264
266
  ruby_parser (~> 3.0)
265
267
  pry (0.14.2)
@@ -356,23 +358,34 @@ GEM
356
358
  rspec-support (3.13.1)
357
359
  rspec_junit_formatter (0.6.0)
358
360
  rspec-core (>= 2, < 4, != 2.12.0)
359
- rubocop (1.36.0)
361
+ rubocop (1.61.0)
360
362
  json (~> 2.3)
363
+ language_server-protocol (>= 3.17.0)
361
364
  parallel (~> 1.10)
362
- parser (>= 3.1.2.1)
365
+ parser (>= 3.3.0.2)
363
366
  rainbow (>= 2.2.2, < 4.0)
364
367
  regexp_parser (>= 1.8, < 3.0)
365
368
  rexml (>= 3.2.5, < 4.0)
366
- rubocop-ast (>= 1.20.1, < 2.0)
369
+ rubocop-ast (>= 1.30.0, < 2.0)
367
370
  ruby-progressbar (~> 1.7)
368
- unicode-display_width (>= 1.4.0, < 3.0)
369
- rubocop-ast (1.31.3)
370
- parser (>= 3.3.1.0)
371
- rubocop-performance (1.15.0)
372
- rubocop (>= 1.7.0, < 2.0)
373
- rubocop-ast (>= 0.4.0)
374
- rubocop-rspec (2.13.2)
375
- rubocop (~> 1.33)
371
+ unicode-display_width (>= 2.4.0, < 3.0)
372
+ rubocop-ast (1.48.0)
373
+ parser (>= 3.3.7.2)
374
+ prism (~> 1.4)
375
+ rubocop-capybara (2.21.0)
376
+ rubocop (~> 1.41)
377
+ rubocop-factory_bot (2.26.1)
378
+ rubocop (~> 1.61)
379
+ rubocop-performance (1.20.2)
380
+ rubocop (>= 1.48.1, < 2.0)
381
+ rubocop-ast (>= 1.30.0, < 2.0)
382
+ rubocop-rspec (2.31.0)
383
+ rubocop (~> 1.40)
384
+ rubocop-capybara (~> 2.17)
385
+ rubocop-factory_bot (~> 2.22)
386
+ rubocop-rspec_rails (~> 2.28)
387
+ rubocop-rspec_rails (2.29.1)
388
+ rubocop (~> 1.61)
376
389
  ruby-progressbar (1.13.0)
377
390
  ruby_parser (3.21.0)
378
391
  racc (~> 1.5)
@@ -447,7 +460,7 @@ GEM
447
460
  concurrent-ruby (~> 1.0)
448
461
  uglifier (4.2.0)
449
462
  execjs (>= 0.3.0, < 3)
450
- unicode-display_width (2.5.0)
463
+ unicode-display_width (2.6.0)
451
464
  uri (1.0.3)
452
465
  useragent (0.16.11)
453
466
  web-console (4.2.1)
@@ -513,9 +526,9 @@ DEPENDENCIES
513
526
  rspec-rails
514
527
  rspec-retry
515
528
  rspec_junit_formatter
516
- rubocop (= 1.36.0)
517
- rubocop-performance (= 1.15.0)
518
- rubocop-rspec (= 2.13.2)
529
+ rubocop (= 1.61.0)
530
+ rubocop-performance (~> 1.20.0)
531
+ rubocop-rspec (~> 2.26)
519
532
  sass-rails
520
533
  scss_lint
521
534
  selenium-webdriver (= 4.9.0)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRailsPro
4
- VERSION = "16.2.0.beta.16"
4
+ VERSION = "16.2.0.beta.19"
5
5
  PROTOCOL_VERSION = "2.0.0"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_on_rails_pro
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.2.0.beta.16
4
+ version: 16.2.0.beta.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-12-10 00:00:00.000000000 Z
11
+ date: 2025-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 16.2.0.beta.16
131
+ version: 16.2.0.beta.19
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 16.2.0.beta.16
138
+ version: 16.2.0.beta.19
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: bundler
141
141
  requirement: !ruby/object:Gem::Requirement