turbo-rails 0.5.3 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -1
  3. data/app/assets/javascripts/turbo.js +243 -129
  4. data/app/helpers/turbo/includes_helper.rb +2 -0
  5. data/app/helpers/turbo/streams_helper.rb +2 -2
  6. data/app/models/concerns/turbo/broadcastable.rb +8 -3
  7. data/lib/install/turbo_with_asset_pipeline.rb +19 -3
  8. data/lib/install/turbo_with_webpacker.rb +1 -2
  9. data/lib/turbo/engine.rb +1 -1
  10. data/lib/turbo/version.rb +1 -1
  11. metadata +7 -173
  12. data/.github/workflows/ci.yml +0 -30
  13. data/.gitignore +0 -2
  14. data/Gemfile +0 -6
  15. data/Gemfile.lock +0 -147
  16. data/package.json +0 -47
  17. data/rollup.config.js +0 -23
  18. data/test/drive/drive_helper_test.rb +0 -8
  19. data/test/dummy/.babelrc +0 -18
  20. data/test/dummy/.gitignore +0 -3
  21. data/test/dummy/.postcssrc.yml +0 -3
  22. data/test/dummy/Rakefile +0 -6
  23. data/test/dummy/app/assets/config/manifest.js +0 -2
  24. data/test/dummy/app/assets/images/.keep +0 -0
  25. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  26. data/test/dummy/app/assets/stylesheets/scaffold.css +0 -80
  27. data/test/dummy/app/channels/application_cable/channel.rb +0 -4
  28. data/test/dummy/app/channels/application_cable/connection.rb +0 -4
  29. data/test/dummy/app/controllers/application_controller.rb +0 -2
  30. data/test/dummy/app/controllers/concerns/.keep +0 -0
  31. data/test/dummy/app/controllers/messages_controller.rb +0 -12
  32. data/test/dummy/app/controllers/trays_controller.rb +0 -17
  33. data/test/dummy/app/helpers/application_helper.rb +0 -2
  34. data/test/dummy/app/javascript/packs/application.js +0 -0
  35. data/test/dummy/app/jobs/application_job.rb +0 -2
  36. data/test/dummy/app/mailboxes/application_mailbox.rb +0 -2
  37. data/test/dummy/app/mailboxes/messages_mailbox.rb +0 -4
  38. data/test/dummy/app/mailers/application_mailer.rb +0 -4
  39. data/test/dummy/app/models/application_record.rb +0 -3
  40. data/test/dummy/app/models/concerns/.keep +0 -0
  41. data/test/dummy/app/models/message.rb +0 -29
  42. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  43. data/test/dummy/app/views/layouts/mailer.html.erb +0 -13
  44. data/test/dummy/app/views/layouts/mailer.text.erb +0 -1
  45. data/test/dummy/app/views/messages/_message.html.erb +0 -1
  46. data/test/dummy/app/views/messages/_message.turbo_stream.erb +0 -1
  47. data/test/dummy/app/views/messages/show.turbo_stream.erb +0 -9
  48. data/test/dummy/app/views/trays/index.html.erb +0 -3
  49. data/test/dummy/app/views/trays/show.html.erb +0 -3
  50. data/test/dummy/bin/bundle +0 -3
  51. data/test/dummy/bin/rails +0 -4
  52. data/test/dummy/bin/rake +0 -4
  53. data/test/dummy/bin/setup +0 -36
  54. data/test/dummy/bin/update +0 -31
  55. data/test/dummy/bin/yarn +0 -11
  56. data/test/dummy/config.ru +0 -5
  57. data/test/dummy/config/application.rb +0 -22
  58. data/test/dummy/config/boot.rb +0 -5
  59. data/test/dummy/config/cable.yml +0 -10
  60. data/test/dummy/config/environment.rb +0 -5
  61. data/test/dummy/config/environments/development.rb +0 -34
  62. data/test/dummy/config/environments/production.rb +0 -96
  63. data/test/dummy/config/environments/test.rb +0 -38
  64. data/test/dummy/config/initializers/application_controller_renderer.rb +0 -8
  65. data/test/dummy/config/initializers/assets.rb +0 -14
  66. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  67. data/test/dummy/config/initializers/content_security_policy.rb +0 -22
  68. data/test/dummy/config/initializers/cookies_serializer.rb +0 -5
  69. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  70. data/test/dummy/config/initializers/inflections.rb +0 -16
  71. data/test/dummy/config/initializers/mime_types.rb +0 -4
  72. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  73. data/test/dummy/config/locales/en.yml +0 -33
  74. data/test/dummy/config/puma.rb +0 -34
  75. data/test/dummy/config/routes.rb +0 -4
  76. data/test/dummy/config/spring.rb +0 -6
  77. data/test/dummy/config/webpack/development.js +0 -3
  78. data/test/dummy/config/webpack/environment.js +0 -3
  79. data/test/dummy/config/webpack/production.js +0 -3
  80. data/test/dummy/config/webpack/test.js +0 -3
  81. data/test/dummy/config/webpacker.yml +0 -65
  82. data/test/dummy/lib/assets/.keep +0 -0
  83. data/test/dummy/log/.keep +0 -0
  84. data/test/dummy/public/404.html +0 -67
  85. data/test/dummy/public/422.html +0 -67
  86. data/test/dummy/public/500.html +0 -66
  87. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  88. data/test/dummy/public/apple-touch-icon.png +0 -0
  89. data/test/dummy/public/favicon.ico +0 -0
  90. data/test/frames/frame_request_controller_test.rb +0 -21
  91. data/test/frames/frames_helper_test.rb +0 -21
  92. data/test/native/navigation_controller_test.rb +0 -42
  93. data/test/streams/broadcastable_test.rb +0 -80
  94. data/test/streams/streams_channel_test.rb +0 -111
  95. data/test/streams/streams_controller_test.rb +0 -29
  96. data/test/turbo_test.rb +0 -10
  97. data/turbo-rails.gemspec +0 -17
  98. data/yarn.lock +0 -283
@@ -1,4 +1,6 @@
1
1
  module Turbo::IncludesHelper
2
+ # DEPRECATED: Just use <tt>javascript_include_tag "turbo", type: "module"</tt> directly if using Turbo alone, or
3
+ # javascript_include_tag "turbo", type: "module-shim" if together with Stimulus and importmaps.
2
4
  def turbo_include_tags
3
5
  javascript_include_tag("turbo", type: "module")
4
6
  end
@@ -4,7 +4,7 @@ module Turbo::StreamsHelper
4
4
  #
5
5
  # When responding to HTTP requests, controllers can declare `turbo_stream` format response templates in that same
6
6
  # style as `html` and `json` response formats. For example, consider a `MessagesController` that responds to both
7
- # `text/html` and `text/html; turbo-stream=*; charset=utf-8` requests along with a `.turbo_stream.erb` action template:
7
+ # `text/html` and `text/vnd.turbo-stream.html` requests along with a `.turbo_stream.erb` action template:
8
8
  #
9
9
  # def create
10
10
  # @message = Message.create!(params.require(:message).permit(:content))
@@ -22,7 +22,7 @@ module Turbo::StreamsHelper
22
22
  # <% end %>
23
23
  #
24
24
  # When a `app/views/messages/create.turbo_stream.erb` template exists, the
25
- # `MessagesController#create` will respond to `text/html; turbo-stream`
25
+ # `MessagesController#create` will respond to `text/vnd.turbo-stream.html`
26
26
  # requests by rendering the `messages/create.turbo_stream.erb` view template and transmitting the response
27
27
  def turbo_stream
28
28
  Turbo::Streams::TagBuilder.new(self)
@@ -51,18 +51,23 @@ module Turbo::Broadcastable
51
51
  # belongs_to :board
52
52
  # broadcasts_to ->(message) { [ message.board, :messages ] }, inserts_by: :prepend, target: "board_messages"
53
53
  # end
54
- def broadcasts_to(stream, inserts_by: :append, target: model_name.plural)
54
+ def broadcasts_to(stream, inserts_by: :append, target: broadcast_target_default)
55
55
  after_create_commit -> { broadcast_action_later_to stream.try(:call, self) || send(stream), action: inserts_by, target: target }
56
56
  after_update_commit -> { broadcast_replace_later_to stream.try(:call, self) || send(stream) }
57
57
  after_destroy_commit -> { broadcast_remove_to stream.try(:call, self) || send(stream) }
58
58
  end
59
59
 
60
60
  # Same as <tt>#broadcasts_to</tt>, but the designated stream is automatically set to the current model.
61
- def broadcasts(inserts_by: :append, target: model_name.plural)
61
+ def broadcasts(inserts_by: :append, target: broadcast_target_default)
62
62
  after_create_commit -> { broadcast_action_later action: inserts_by, target: target }
63
63
  after_update_commit -> { broadcast_replace_later }
64
64
  after_destroy_commit -> { broadcast_remove }
65
65
  end
66
+
67
+ # All default targets will use the return of this method. Overwrite if you want something else than <tt>model_name.plural</tt>.
68
+ def broadcast_target_default
69
+ model_name.plural
70
+ end
66
71
  end
67
72
 
68
73
  # Remove this broadcastable model from the dom for subscribers of the stream name identified by the passed streamables.
@@ -223,7 +228,7 @@ module Turbo::Broadcastable
223
228
 
224
229
  private
225
230
  def broadcast_target_default
226
- model_name.plural
231
+ self.class.broadcast_target_default
227
232
  end
228
233
 
229
234
  def broadcast_rendering_with_defaults(options)
@@ -1,14 +1,30 @@
1
1
  APPLICATION_LAYOUT_PATH = Rails.root.join("app/views/layouts/application.html.erb")
2
+ IMPORTMAP_PATH = Rails.root.join("app/assets/javascripts/importmap.json.erb")
2
3
 
3
4
  if APPLICATION_LAYOUT_PATH.exist?
4
5
  say "Yield head in application layout for cache helper"
5
6
  insert_into_file APPLICATION_LAYOUT_PATH.to_s, "\n <%= yield :head %>", before: /\s*<\/head>/
6
7
 
7
- say "Add Turbo include tags in application layout"
8
- insert_into_file APPLICATION_LAYOUT_PATH.to_s, "\n <%= turbo_include_tags %>", before: /\s*<\/head>/
8
+ if APPLICATION_LAYOUT_PATH.read =~ /stimulus/
9
+ say "Add Turbo include tags in application layout"
10
+ insert_into_file APPLICATION_LAYOUT_PATH.to_s, %(\n <%= javascript_include_tag "turbo", type: "module-shim" %>), after: /<%= stimulus_include_tags %>/
11
+
12
+ if IMPORTMAP_PATH.exist?
13
+ say "Add Turbo to importmap"
14
+ insert_into_file IMPORTMAP_PATH, %( "turbo": "<%= asset_path "turbo" %>",\n), after: / "imports": {\s*\n/
15
+ end
16
+ else
17
+ say "Add Turbo include tags in application layout"
18
+ insert_into_file APPLICATION_LAYOUT_PATH.to_s, %(\n <%= javascript_include_tag "turbo", type: "module" %>), before: /\s*<\/head>/
19
+ end
9
20
  else
10
21
  say "Default application.html.erb is missing!", :red
11
- say " Add <%= turbo_include_tags %> and <%= yield :head %> within the <head> tag in your custom layout."
22
+
23
+ if APPLICATION_LAYOUT_PATH.read =~ /stimulus/
24
+ say %( Add <%= javascript_include_tag("turbo", type: "module-shim") %> and <%= yield :head %> within the <head> tag after Stimulus includes in your custom layout.)
25
+ else
26
+ say %( Add <%= javascript_include_tag("turbo", type: "module") %> and <%= yield :head %> within the <head> tag in your custom layout.)
27
+ end
12
28
  end
13
29
 
14
30
  say "Enable redis in bundle"
@@ -5,8 +5,7 @@ abort "❌ Webpacker not found. Exiting." unless defined?(Webpacker::Engine)
5
5
 
6
6
  say "Install Turbo"
7
7
  run "yarn add @hotwired/turbo-rails"
8
- insert_into_file "#{Webpacker.config.source_entry_path}/application.js",
9
- "import \"@hotwired/turbo-rails\"\n", before: TURBOLINKS_REGEX
8
+ insert_into_file "#{Webpacker.config.source_entry_path}/application.js", "import \"@hotwired/turbo-rails\"\n", before: /import.*ActiveStorage/
10
9
 
11
10
  say "Remove Turbolinks"
12
11
  gsub_file 'Gemfile', /gem 'turbolinks'.*/, ''
@@ -36,7 +36,7 @@ module Turbo
36
36
  end
37
37
 
38
38
  initializer "turbo.mimetype" do
39
- Mime::Type.register "text/html; turbo-stream", :turbo_stream
39
+ Mime::Type.register "text/vnd.turbo-stream.html", :turbo_stream
40
40
  end
41
41
 
42
42
  initializer "turbo.renderer" do
@@ -1,3 +1,3 @@
1
1
  module Turbo
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.7"
3
3
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turbo-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Stephenson
8
8
  - Javan Mahkmali
9
9
  - David Heinemeier Hansson
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-01-05 00:00:00.000000000 Z
13
+ date: 2021-01-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -26,16 +26,12 @@ dependencies:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  version: 6.0.0
29
- description:
29
+ description:
30
30
  email: david@loudthinking.com
31
31
  executables: []
32
32
  extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
- - ".github/workflows/ci.yml"
36
- - ".gitignore"
37
- - Gemfile
38
- - Gemfile.lock
39
35
  - MIT-LICENSE
40
36
  - README.md
41
37
  - Rakefile
@@ -67,94 +63,11 @@ files:
67
63
  - lib/turbo/engine.rb
68
64
  - lib/turbo/test_assertions.rb
69
65
  - lib/turbo/version.rb
70
- - package.json
71
- - rollup.config.js
72
- - test/drive/drive_helper_test.rb
73
- - test/dummy/.babelrc
74
- - test/dummy/.gitignore
75
- - test/dummy/.postcssrc.yml
76
- - test/dummy/Rakefile
77
- - test/dummy/app/assets/config/manifest.js
78
- - test/dummy/app/assets/images/.keep
79
- - test/dummy/app/assets/stylesheets/application.css
80
- - test/dummy/app/assets/stylesheets/scaffold.css
81
- - test/dummy/app/channels/application_cable/channel.rb
82
- - test/dummy/app/channels/application_cable/connection.rb
83
- - test/dummy/app/controllers/application_controller.rb
84
- - test/dummy/app/controllers/concerns/.keep
85
- - test/dummy/app/controllers/messages_controller.rb
86
- - test/dummy/app/controllers/trays_controller.rb
87
- - test/dummy/app/helpers/application_helper.rb
88
- - test/dummy/app/javascript/packs/application.js
89
- - test/dummy/app/jobs/application_job.rb
90
- - test/dummy/app/mailboxes/application_mailbox.rb
91
- - test/dummy/app/mailboxes/messages_mailbox.rb
92
- - test/dummy/app/mailers/application_mailer.rb
93
- - test/dummy/app/models/application_record.rb
94
- - test/dummy/app/models/concerns/.keep
95
- - test/dummy/app/models/message.rb
96
- - test/dummy/app/views/layouts/application.html.erb
97
- - test/dummy/app/views/layouts/mailer.html.erb
98
- - test/dummy/app/views/layouts/mailer.text.erb
99
- - test/dummy/app/views/messages/_message.html.erb
100
- - test/dummy/app/views/messages/_message.turbo_stream.erb
101
- - test/dummy/app/views/messages/show.turbo_stream.erb
102
- - test/dummy/app/views/trays/index.html.erb
103
- - test/dummy/app/views/trays/show.html.erb
104
- - test/dummy/bin/bundle
105
- - test/dummy/bin/rails
106
- - test/dummy/bin/rake
107
- - test/dummy/bin/setup
108
- - test/dummy/bin/update
109
- - test/dummy/bin/yarn
110
- - test/dummy/config.ru
111
- - test/dummy/config/application.rb
112
- - test/dummy/config/boot.rb
113
- - test/dummy/config/cable.yml
114
- - test/dummy/config/environment.rb
115
- - test/dummy/config/environments/development.rb
116
- - test/dummy/config/environments/production.rb
117
- - test/dummy/config/environments/test.rb
118
- - test/dummy/config/initializers/application_controller_renderer.rb
119
- - test/dummy/config/initializers/assets.rb
120
- - test/dummy/config/initializers/backtrace_silencers.rb
121
- - test/dummy/config/initializers/content_security_policy.rb
122
- - test/dummy/config/initializers/cookies_serializer.rb
123
- - test/dummy/config/initializers/filter_parameter_logging.rb
124
- - test/dummy/config/initializers/inflections.rb
125
- - test/dummy/config/initializers/mime_types.rb
126
- - test/dummy/config/initializers/wrap_parameters.rb
127
- - test/dummy/config/locales/en.yml
128
- - test/dummy/config/puma.rb
129
- - test/dummy/config/routes.rb
130
- - test/dummy/config/spring.rb
131
- - test/dummy/config/webpack/development.js
132
- - test/dummy/config/webpack/environment.js
133
- - test/dummy/config/webpack/production.js
134
- - test/dummy/config/webpack/test.js
135
- - test/dummy/config/webpacker.yml
136
- - test/dummy/lib/assets/.keep
137
- - test/dummy/log/.keep
138
- - test/dummy/public/404.html
139
- - test/dummy/public/422.html
140
- - test/dummy/public/500.html
141
- - test/dummy/public/apple-touch-icon-precomposed.png
142
- - test/dummy/public/apple-touch-icon.png
143
- - test/dummy/public/favicon.ico
144
- - test/frames/frame_request_controller_test.rb
145
- - test/frames/frames_helper_test.rb
146
- - test/native/navigation_controller_test.rb
147
- - test/streams/broadcastable_test.rb
148
- - test/streams/streams_channel_test.rb
149
- - test/streams/streams_controller_test.rb
150
- - test/turbo_test.rb
151
- - turbo-rails.gemspec
152
- - yarn.lock
153
66
  homepage: https://github.com/hotwired/turbo-rails
154
67
  licenses:
155
68
  - MIT
156
69
  metadata: {}
157
- post_install_message:
70
+ post_install_message:
158
71
  rdoc_options: []
159
72
  require_paths:
160
73
  - lib
@@ -170,86 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
83
  version: '0'
171
84
  requirements: []
172
85
  rubygems_version: 3.1.2
173
- signing_key:
86
+ signing_key:
174
87
  specification_version: 4
175
88
  summary: The speed of a single-page web application without having to write any JavaScript.
176
- test_files:
177
- - test/drive/drive_helper_test.rb
178
- - test/dummy/.babelrc
179
- - test/dummy/.gitignore
180
- - test/dummy/.postcssrc.yml
181
- - test/dummy/Rakefile
182
- - test/dummy/app/assets/config/manifest.js
183
- - test/dummy/app/assets/images/.keep
184
- - test/dummy/app/assets/stylesheets/application.css
185
- - test/dummy/app/assets/stylesheets/scaffold.css
186
- - test/dummy/app/channels/application_cable/channel.rb
187
- - test/dummy/app/channels/application_cable/connection.rb
188
- - test/dummy/app/controllers/application_controller.rb
189
- - test/dummy/app/controllers/concerns/.keep
190
- - test/dummy/app/controllers/messages_controller.rb
191
- - test/dummy/app/controllers/trays_controller.rb
192
- - test/dummy/app/helpers/application_helper.rb
193
- - test/dummy/app/javascript/packs/application.js
194
- - test/dummy/app/jobs/application_job.rb
195
- - test/dummy/app/mailboxes/application_mailbox.rb
196
- - test/dummy/app/mailboxes/messages_mailbox.rb
197
- - test/dummy/app/mailers/application_mailer.rb
198
- - test/dummy/app/models/application_record.rb
199
- - test/dummy/app/models/concerns/.keep
200
- - test/dummy/app/models/message.rb
201
- - test/dummy/app/views/layouts/application.html.erb
202
- - test/dummy/app/views/layouts/mailer.html.erb
203
- - test/dummy/app/views/layouts/mailer.text.erb
204
- - test/dummy/app/views/messages/_message.html.erb
205
- - test/dummy/app/views/messages/_message.turbo_stream.erb
206
- - test/dummy/app/views/messages/show.turbo_stream.erb
207
- - test/dummy/app/views/trays/index.html.erb
208
- - test/dummy/app/views/trays/show.html.erb
209
- - test/dummy/bin/bundle
210
- - test/dummy/bin/rails
211
- - test/dummy/bin/rake
212
- - test/dummy/bin/setup
213
- - test/dummy/bin/update
214
- - test/dummy/bin/yarn
215
- - test/dummy/config.ru
216
- - test/dummy/config/application.rb
217
- - test/dummy/config/boot.rb
218
- - test/dummy/config/cable.yml
219
- - test/dummy/config/environment.rb
220
- - test/dummy/config/environments/development.rb
221
- - test/dummy/config/environments/production.rb
222
- - test/dummy/config/environments/test.rb
223
- - test/dummy/config/initializers/application_controller_renderer.rb
224
- - test/dummy/config/initializers/assets.rb
225
- - test/dummy/config/initializers/backtrace_silencers.rb
226
- - test/dummy/config/initializers/content_security_policy.rb
227
- - test/dummy/config/initializers/cookies_serializer.rb
228
- - test/dummy/config/initializers/filter_parameter_logging.rb
229
- - test/dummy/config/initializers/inflections.rb
230
- - test/dummy/config/initializers/mime_types.rb
231
- - test/dummy/config/initializers/wrap_parameters.rb
232
- - test/dummy/config/locales/en.yml
233
- - test/dummy/config/puma.rb
234
- - test/dummy/config/routes.rb
235
- - test/dummy/config/spring.rb
236
- - test/dummy/config/webpack/development.js
237
- - test/dummy/config/webpack/environment.js
238
- - test/dummy/config/webpack/production.js
239
- - test/dummy/config/webpack/test.js
240
- - test/dummy/config/webpacker.yml
241
- - test/dummy/lib/assets/.keep
242
- - test/dummy/log/.keep
243
- - test/dummy/public/404.html
244
- - test/dummy/public/422.html
245
- - test/dummy/public/500.html
246
- - test/dummy/public/apple-touch-icon-precomposed.png
247
- - test/dummy/public/apple-touch-icon.png
248
- - test/dummy/public/favicon.ico
249
- - test/frames/frame_request_controller_test.rb
250
- - test/frames/frames_helper_test.rb
251
- - test/native/navigation_controller_test.rb
252
- - test/streams/broadcastable_test.rb
253
- - test/streams/streams_channel_test.rb
254
- - test/streams/streams_controller_test.rb
255
- - test/turbo_test.rb
89
+ test_files: []
@@ -1,30 +0,0 @@
1
- name: CI
2
- on: [push, pull_request]
3
- jobs:
4
- tests:
5
- strategy:
6
- matrix:
7
- ruby-version:
8
- - "2.7"
9
- - "3.0"
10
- continue-on-error: [ false ]
11
-
12
- include:
13
- - ruby-version: head
14
- continue-on-error: true
15
-
16
- name: ${{ format('Tests (Ruby {0})', matrix.ruby-version) }}
17
- runs-on: ubuntu-latest
18
- continue-on-error: ${{ matrix.continue-on-error }}
19
-
20
- steps:
21
- - uses: actions/checkout@v1
22
-
23
- - name: Install Ruby
24
- uses: ruby/setup-ruby@v1
25
- with:
26
- ruby-version: ${{ matrix.ruby-version }}
27
- bundler-cache: true
28
-
29
- - name: Run tests
30
- run: bundle exec rake
data/.gitignore DELETED
@@ -1,2 +0,0 @@
1
- *.gem
2
- /node_modules
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- gem 'rake'
6
- gem 'byebug'
@@ -1,147 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- turbo-rails (0.5.2)
5
- rails (>= 6.0.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actioncable (6.1.0)
11
- actionpack (= 6.1.0)
12
- activesupport (= 6.1.0)
13
- nio4r (~> 2.0)
14
- websocket-driver (>= 0.6.1)
15
- actionmailbox (6.1.0)
16
- actionpack (= 6.1.0)
17
- activejob (= 6.1.0)
18
- activerecord (= 6.1.0)
19
- activestorage (= 6.1.0)
20
- activesupport (= 6.1.0)
21
- mail (>= 2.7.1)
22
- actionmailer (6.1.0)
23
- actionpack (= 6.1.0)
24
- actionview (= 6.1.0)
25
- activejob (= 6.1.0)
26
- activesupport (= 6.1.0)
27
- mail (~> 2.5, >= 2.5.4)
28
- rails-dom-testing (~> 2.0)
29
- actionpack (6.1.0)
30
- actionview (= 6.1.0)
31
- activesupport (= 6.1.0)
32
- rack (~> 2.0, >= 2.0.9)
33
- rack-test (>= 0.6.3)
34
- rails-dom-testing (~> 2.0)
35
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
36
- actiontext (6.1.0)
37
- actionpack (= 6.1.0)
38
- activerecord (= 6.1.0)
39
- activestorage (= 6.1.0)
40
- activesupport (= 6.1.0)
41
- nokogiri (>= 1.8.5)
42
- actionview (6.1.0)
43
- activesupport (= 6.1.0)
44
- builder (~> 3.1)
45
- erubi (~> 1.4)
46
- rails-dom-testing (~> 2.0)
47
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
48
- activejob (6.1.0)
49
- activesupport (= 6.1.0)
50
- globalid (>= 0.3.6)
51
- activemodel (6.1.0)
52
- activesupport (= 6.1.0)
53
- activerecord (6.1.0)
54
- activemodel (= 6.1.0)
55
- activesupport (= 6.1.0)
56
- activestorage (6.1.0)
57
- actionpack (= 6.1.0)
58
- activejob (= 6.1.0)
59
- activerecord (= 6.1.0)
60
- activesupport (= 6.1.0)
61
- marcel (~> 0.3.1)
62
- mimemagic (~> 0.3.2)
63
- activesupport (6.1.0)
64
- concurrent-ruby (~> 1.0, >= 1.0.2)
65
- i18n (>= 1.6, < 2)
66
- minitest (>= 5.1)
67
- tzinfo (~> 2.0)
68
- zeitwerk (~> 2.3)
69
- builder (3.2.4)
70
- byebug (11.0.1)
71
- concurrent-ruby (1.1.7)
72
- crass (1.0.6)
73
- erubi (1.10.0)
74
- globalid (0.4.2)
75
- activesupport (>= 4.2.0)
76
- i18n (1.8.6)
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.1.0)
97
- actioncable (= 6.1.0)
98
- actionmailbox (= 6.1.0)
99
- actionmailer (= 6.1.0)
100
- actionpack (= 6.1.0)
101
- actiontext (= 6.1.0)
102
- actionview (= 6.1.0)
103
- activejob (= 6.1.0)
104
- activemodel (= 6.1.0)
105
- activerecord (= 6.1.0)
106
- activestorage (= 6.1.0)
107
- activesupport (= 6.1.0)
108
- bundler (>= 1.15.0)
109
- railties (= 6.1.0)
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.1.0)
117
- actionpack (= 6.1.0)
118
- activesupport (= 6.1.0)
119
- method_source
120
- rake (>= 0.8.7)
121
- thor (~> 1.0)
122
- rake (13.0.0)
123
- sprockets (4.0.2)
124
- concurrent-ruby (~> 1.0)
125
- rack (> 1, < 3)
126
- sprockets-rails (3.2.2)
127
- actionpack (>= 4.0)
128
- activesupport (>= 4.0)
129
- sprockets (>= 3.0.0)
130
- thor (1.0.1)
131
- tzinfo (2.0.4)
132
- concurrent-ruby (~> 1.0)
133
- websocket-driver (0.7.3)
134
- websocket-extensions (>= 0.1.0)
135
- websocket-extensions (0.1.5)
136
- zeitwerk (2.4.2)
137
-
138
- PLATFORMS
139
- ruby
140
-
141
- DEPENDENCIES
142
- byebug
143
- rake
144
- turbo-rails!
145
-
146
- BUNDLED WITH
147
- 2.2.3