turbo-rails 2.0.6 → 2.0.10

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbo-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Stephenson
@@ -10,22 +10,8 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-07-19 00:00:00.000000000 Z
13
+ date: 2024-09-22 00:00:00.000000000 Z
14
14
  dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: activejob
17
- requirement: !ruby/object:Gem::Requirement
18
- requirements:
19
- - - ">="
20
- - !ruby/object:Gem::Version
21
- version: 6.0.0
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- version: 6.0.0
29
15
  - !ruby/object:Gem::Dependency
30
16
  name: actionpack
31
17
  requirement: !ruby/object:Gem::Requirement
@@ -93,7 +79,6 @@ files:
93
79
  - app/models/turbo/thread_debouncer.rb
94
80
  - app/views/layouts/turbo_rails/frame.html.erb
95
81
  - config/routes.rb
96
- - lib/install/turbo_needs_redis.rb
97
82
  - lib/install/turbo_with_bun.rb
98
83
  - lib/install/turbo_with_importmap.rb
99
84
  - lib/install/turbo_with_node.rb
@@ -101,6 +86,7 @@ files:
101
86
  - lib/turbo-rails.rb
102
87
  - lib/turbo/broadcastable/test_helper.rb
103
88
  - lib/turbo/engine.rb
89
+ - lib/turbo/system_test_helper.rb
104
90
  - lib/turbo/test_assertions.rb
105
91
  - lib/turbo/test_assertions/integration_test_assertions.rb
106
92
  - lib/turbo/version.rb
@@ -124,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
110
  - !ruby/object:Gem::Version
125
111
  version: '0'
126
112
  requirements: []
127
- rubygems_version: 3.5.11
113
+ rubygems_version: 3.5.16
128
114
  signing_key:
129
115
  specification_version: 4
130
116
  summary: The speed of a single-page web application without having to write any JavaScript.
@@ -1,20 +0,0 @@
1
- if (cable_config_path = Rails.root.join("config/cable.yml")).exist?
2
- say "Enable redis in bundle"
3
-
4
- gemfile_content = File.read(Rails.root.join("Gemfile"))
5
- pattern = /gem ['"]redis['"]/
6
-
7
- if gemfile_content.match?(pattern)
8
- uncomment_lines "Gemfile", pattern
9
- else
10
- append_file "Gemfile", "\n# Use Redis for Action Cable"
11
- gem 'redis', '~> 4.0'
12
- end
13
-
14
- run_bundle
15
-
16
- say "Switch development cable to use redis"
17
- gsub_file cable_config_path.to_s, /development:\n\s+adapter: async/, "development:\n adapter: redis\n url: redis://localhost:6379/1"
18
- else
19
- say 'ActionCable config file (config/cable.yml) is missing. Uncomment "gem \'redis\'" in your Gemfile and create config/cable.yml to use the Turbo Streams broadcast feature.'
20
- end