conversation_forms 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +7 -0
  3. data/Gemfile +13 -0
  4. data/Gemfile.lock +195 -0
  5. data/README.md +5 -0
  6. data/Rakefile +0 -3
  7. data/{app/assets → assets}/javascripts/conversation_forms/conversation_forms.coffee +0 -0
  8. data/assets/javascripts/index.js +4 -0
  9. data/{app/assets/stylesheets/conversation_forms → assets/stylesheets}/application.css +0 -0
  10. data/{app/assets → assets}/stylesheets/conversation_forms/conversation_forms.scss +0 -0
  11. data/bin/test +9 -0
  12. data/conversation_forms.gemspec +44 -0
  13. data/lib/conversation_forms/engine.rb +11 -2
  14. data/lib/conversation_forms/version.rb +1 -1
  15. data/lib/conversation_forms.rb +77 -3
  16. data/test/conversation_forms_test.rb +7 -0
  17. data/test/dummy/Rakefile +6 -0
  18. data/test/dummy/app/assets/config/manifest.js +4 -0
  19. data/test/dummy/app/assets/images/.keep +0 -0
  20. data/{app/assets/javascripts/conversation_forms → test/dummy/app/assets/javascripts}/application.js +0 -0
  21. data/test/dummy/app/assets/javascripts/cable.js +13 -0
  22. data/test/dummy/app/assets/javascripts/channels/.keep +0 -0
  23. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  24. data/test/dummy/app/channels/application_cable/channel.rb +4 -0
  25. data/test/dummy/app/channels/application_cable/connection.rb +4 -0
  26. data/test/dummy/app/controllers/application_controller.rb +3 -0
  27. data/test/dummy/app/controllers/concerns/.keep +0 -0
  28. data/test/dummy/app/helpers/application_helper.rb +2 -0
  29. data/test/dummy/app/jobs/application_job.rb +2 -0
  30. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  31. data/test/dummy/app/models/application_record.rb +3 -0
  32. data/test/dummy/app/models/concerns/.keep +0 -0
  33. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  34. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  35. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  36. data/test/dummy/bin/bundle +3 -0
  37. data/test/dummy/bin/rails +4 -0
  38. data/test/dummy/bin/rake +4 -0
  39. data/test/dummy/bin/setup +34 -0
  40. data/test/dummy/bin/update +29 -0
  41. data/test/dummy/config/application.rb +15 -0
  42. data/test/dummy/config/boot.rb +5 -0
  43. data/test/dummy/config/cable.yml +9 -0
  44. data/test/dummy/config/database.yml +25 -0
  45. data/test/dummy/config/environment.rb +5 -0
  46. data/test/dummy/config/environments/development.rb +54 -0
  47. data/test/dummy/config/environments/production.rb +86 -0
  48. data/test/dummy/config/environments/test.rb +42 -0
  49. data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
  50. data/test/dummy/config/initializers/assets.rb +11 -0
  51. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  52. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  53. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  54. data/test/dummy/config/initializers/inflections.rb +16 -0
  55. data/test/dummy/config/initializers/mime_types.rb +4 -0
  56. data/test/dummy/config/initializers/new_framework_defaults.rb +24 -0
  57. data/test/dummy/config/initializers/session_store.rb +3 -0
  58. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  59. data/test/dummy/config/locales/en.yml +23 -0
  60. data/test/dummy/config/puma.rb +47 -0
  61. data/test/dummy/config/routes.rb +3 -0
  62. data/test/dummy/config/secrets.yml +22 -0
  63. data/test/dummy/config/spring.rb +6 -0
  64. data/test/dummy/config.ru +5 -0
  65. data/test/dummy/lib/assets/.keep +0 -0
  66. data/test/dummy/log/.keep +0 -0
  67. data/test/dummy/public/404.html +67 -0
  68. data/test/dummy/public/422.html +67 -0
  69. data/test/dummy/public/500.html +66 -0
  70. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  71. data/test/dummy/public/apple-touch-icon.png +0 -0
  72. data/test/dummy/public/favicon.ico +0 -0
  73. data/test/test_helper.rb +20 -0
  74. metadata +296 -15
  75. data/app/assets/config/conversation_forms_manifest.js +0 -2
  76. data/app/controllers/conversation_forms/application_controller.rb +0 -5
  77. data/app/helpers/conversation_forms/application_helper.rb +0 -4
  78. data/app/jobs/conversation_forms/application_job.rb +0 -4
  79. data/app/mailers/conversation_forms/application_mailer.rb +0 -6
  80. data/app/models/conversation_forms/application_record.rb +0 -5
  81. data/app/views/layouts/conversation_forms/application.html.erb +0 -14
  82. data/config/routes.rb +0 -2
File without changes
@@ -0,0 +1,20 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
5
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
6
+ require "rails/test_help"
7
+
8
+ # Filter out Minitest backtrace while allowing backtrace from other libraries
9
+ # to be shown.
10
+ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
11
+
12
+ Rails::TestUnitReporter.executable = 'bin/test'
13
+
14
+ # Load fixtures from the engine
15
+ if ActiveSupport::TestCase.respond_to?(:fixture_path=)
16
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
17
+ ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
18
+ ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + "/files"
19
+ ActiveSupport::TestCase.fixtures :all
20
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conversation_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sampson Crowley
@@ -10,6 +10,34 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sass
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.3.4
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 3.3.4
27
+ - !ruby/object:Gem::Dependency
28
+ name: autoprefixer-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 5.2.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 5.2.1
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: railties
15
43
  requirement: !ruby/object:Gem::Requirement
@@ -45,7 +73,147 @@ dependencies:
45
73
  - !ruby/object:Gem::Version
46
74
  version: 5.0.0.1
47
75
  - !ruby/object:Gem::Dependency
48
- name: sqlite3
76
+ name: minitest
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '5.8'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '5.8'
89
+ - !ruby/object:Gem::Dependency
90
+ name: minitest-reporters
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '1.1'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '1.1'
103
+ - !ruby/object:Gem::Dependency
104
+ name: capybara
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: 2.5.0
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: 2.5.0
117
+ - !ruby/object:Gem::Dependency
118
+ name: poltergeist
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: actionpack
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: 4.1.5
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: 4.1.5
145
+ - !ruby/object:Gem::Dependency
146
+ name: activesupport
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: 4.1.5
152
+ type: :development
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: 4.1.5
159
+ - !ruby/object:Gem::Dependency
160
+ name: json
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: 1.8.1
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 1.8.1
173
+ - !ruby/object:Gem::Dependency
174
+ name: sprockets-rails
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: 2.1.3
180
+ type: :development
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: 2.1.3
187
+ - !ruby/object:Gem::Dependency
188
+ name: jquery-rails
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: 3.1.0
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: 3.1.0
201
+ - !ruby/object:Gem::Dependency
202
+ name: slim-rails
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
208
+ type: :development
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ - !ruby/object:Gem::Dependency
216
+ name: uglifier
49
217
  requirement: !ruby/object:Gem::Requirement
50
218
  requirements:
51
219
  - - ">="
@@ -66,25 +234,80 @@ executables: []
66
234
  extensions: []
67
235
  extra_rdoc_files: []
68
236
  files:
237
+ - ".gitignore"
238
+ - Gemfile
239
+ - Gemfile.lock
69
240
  - MIT-LICENSE
70
241
  - README.md
71
242
  - Rakefile
72
- - app/assets/config/conversation_forms_manifest.js
73
- - app/assets/javascripts/conversation_forms/application.js
74
- - app/assets/javascripts/conversation_forms/conversation_forms.coffee
75
- - app/assets/stylesheets/conversation_forms/application.css
76
- - app/assets/stylesheets/conversation_forms/conversation_forms.scss
77
- - app/controllers/conversation_forms/application_controller.rb
78
- - app/helpers/conversation_forms/application_helper.rb
79
- - app/jobs/conversation_forms/application_job.rb
80
- - app/mailers/conversation_forms/application_mailer.rb
81
- - app/models/conversation_forms/application_record.rb
82
- - app/views/layouts/conversation_forms/application.html.erb
83
- - config/routes.rb
243
+ - assets/javascripts/conversation_forms/conversation_forms.coffee
244
+ - assets/javascripts/index.js
245
+ - assets/stylesheets/application.css
246
+ - assets/stylesheets/conversation_forms/conversation_forms.scss
247
+ - bin/test
248
+ - conversation_forms.gemspec
84
249
  - lib/conversation_forms.rb
85
250
  - lib/conversation_forms/engine.rb
86
251
  - lib/conversation_forms/version.rb
87
252
  - lib/tasks/conversation_forms_tasks.rake
253
+ - test/conversation_forms_test.rb
254
+ - test/dummy/Rakefile
255
+ - test/dummy/app/assets/config/manifest.js
256
+ - test/dummy/app/assets/images/.keep
257
+ - test/dummy/app/assets/javascripts/application.js
258
+ - test/dummy/app/assets/javascripts/cable.js
259
+ - test/dummy/app/assets/javascripts/channels/.keep
260
+ - test/dummy/app/assets/stylesheets/application.css
261
+ - test/dummy/app/channels/application_cable/channel.rb
262
+ - test/dummy/app/channels/application_cable/connection.rb
263
+ - test/dummy/app/controllers/application_controller.rb
264
+ - test/dummy/app/controllers/concerns/.keep
265
+ - test/dummy/app/helpers/application_helper.rb
266
+ - test/dummy/app/jobs/application_job.rb
267
+ - test/dummy/app/mailers/application_mailer.rb
268
+ - test/dummy/app/models/application_record.rb
269
+ - test/dummy/app/models/concerns/.keep
270
+ - test/dummy/app/views/layouts/application.html.erb
271
+ - test/dummy/app/views/layouts/mailer.html.erb
272
+ - test/dummy/app/views/layouts/mailer.text.erb
273
+ - test/dummy/bin/bundle
274
+ - test/dummy/bin/rails
275
+ - test/dummy/bin/rake
276
+ - test/dummy/bin/setup
277
+ - test/dummy/bin/update
278
+ - test/dummy/config.ru
279
+ - test/dummy/config/application.rb
280
+ - test/dummy/config/boot.rb
281
+ - test/dummy/config/cable.yml
282
+ - test/dummy/config/database.yml
283
+ - test/dummy/config/environment.rb
284
+ - test/dummy/config/environments/development.rb
285
+ - test/dummy/config/environments/production.rb
286
+ - test/dummy/config/environments/test.rb
287
+ - test/dummy/config/initializers/application_controller_renderer.rb
288
+ - test/dummy/config/initializers/assets.rb
289
+ - test/dummy/config/initializers/backtrace_silencers.rb
290
+ - test/dummy/config/initializers/cookies_serializer.rb
291
+ - test/dummy/config/initializers/filter_parameter_logging.rb
292
+ - test/dummy/config/initializers/inflections.rb
293
+ - test/dummy/config/initializers/mime_types.rb
294
+ - test/dummy/config/initializers/new_framework_defaults.rb
295
+ - test/dummy/config/initializers/session_store.rb
296
+ - test/dummy/config/initializers/wrap_parameters.rb
297
+ - test/dummy/config/locales/en.yml
298
+ - test/dummy/config/puma.rb
299
+ - test/dummy/config/routes.rb
300
+ - test/dummy/config/secrets.yml
301
+ - test/dummy/config/spring.rb
302
+ - test/dummy/lib/assets/.keep
303
+ - test/dummy/log/.keep
304
+ - test/dummy/public/404.html
305
+ - test/dummy/public/422.html
306
+ - test/dummy/public/500.html
307
+ - test/dummy/public/apple-touch-icon-precomposed.png
308
+ - test/dummy/public/apple-touch-icon.png
309
+ - test/dummy/public/favicon.ico
310
+ - test/test_helper.rb
88
311
  homepage: https://github.com/SampsonCrowley/conversation_forms
89
312
  licenses:
90
313
  - MIT
@@ -109,4 +332,62 @@ rubygems_version: 2.6.8
109
332
  signing_key:
110
333
  specification_version: 4
111
334
  summary: Create the ultimate form.
112
- test_files: []
335
+ test_files:
336
+ - test/conversation_forms_test.rb
337
+ - test/dummy/Rakefile
338
+ - test/dummy/app/assets/config/manifest.js
339
+ - test/dummy/app/assets/images/.keep
340
+ - test/dummy/app/assets/javascripts/application.js
341
+ - test/dummy/app/assets/javascripts/cable.js
342
+ - test/dummy/app/assets/javascripts/channels/.keep
343
+ - test/dummy/app/assets/stylesheets/application.css
344
+ - test/dummy/app/channels/application_cable/channel.rb
345
+ - test/dummy/app/channels/application_cable/connection.rb
346
+ - test/dummy/app/controllers/application_controller.rb
347
+ - test/dummy/app/controllers/concerns/.keep
348
+ - test/dummy/app/helpers/application_helper.rb
349
+ - test/dummy/app/jobs/application_job.rb
350
+ - test/dummy/app/mailers/application_mailer.rb
351
+ - test/dummy/app/models/application_record.rb
352
+ - test/dummy/app/models/concerns/.keep
353
+ - test/dummy/app/views/layouts/application.html.erb
354
+ - test/dummy/app/views/layouts/mailer.html.erb
355
+ - test/dummy/app/views/layouts/mailer.text.erb
356
+ - test/dummy/bin/bundle
357
+ - test/dummy/bin/rails
358
+ - test/dummy/bin/rake
359
+ - test/dummy/bin/setup
360
+ - test/dummy/bin/update
361
+ - test/dummy/config.ru
362
+ - test/dummy/config/application.rb
363
+ - test/dummy/config/boot.rb
364
+ - test/dummy/config/cable.yml
365
+ - test/dummy/config/database.yml
366
+ - test/dummy/config/environment.rb
367
+ - test/dummy/config/environments/development.rb
368
+ - test/dummy/config/environments/production.rb
369
+ - test/dummy/config/environments/test.rb
370
+ - test/dummy/config/initializers/application_controller_renderer.rb
371
+ - test/dummy/config/initializers/assets.rb
372
+ - test/dummy/config/initializers/backtrace_silencers.rb
373
+ - test/dummy/config/initializers/cookies_serializer.rb
374
+ - test/dummy/config/initializers/filter_parameter_logging.rb
375
+ - test/dummy/config/initializers/inflections.rb
376
+ - test/dummy/config/initializers/mime_types.rb
377
+ - test/dummy/config/initializers/new_framework_defaults.rb
378
+ - test/dummy/config/initializers/session_store.rb
379
+ - test/dummy/config/initializers/wrap_parameters.rb
380
+ - test/dummy/config/locales/en.yml
381
+ - test/dummy/config/puma.rb
382
+ - test/dummy/config/routes.rb
383
+ - test/dummy/config/secrets.yml
384
+ - test/dummy/config/spring.rb
385
+ - test/dummy/lib/assets/.keep
386
+ - test/dummy/log/.keep
387
+ - test/dummy/public/404.html
388
+ - test/dummy/public/422.html
389
+ - test/dummy/public/500.html
390
+ - test/dummy/public/apple-touch-icon-precomposed.png
391
+ - test/dummy/public/apple-touch-icon.png
392
+ - test/dummy/public/favicon.ico
393
+ - test/test_helper.rb
@@ -1,2 +0,0 @@
1
- //= link_directory ../javascripts/conversation_forms .js
2
- //= link_directory ../stylesheets/conversation_forms .css
@@ -1,5 +0,0 @@
1
- module ConversationForms
2
- class ApplicationController < ActionController::Base
3
- protect_from_forgery with: :exception
4
- end
5
- end
@@ -1,4 +0,0 @@
1
- module ConversationForms
2
- module ApplicationHelper
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module ConversationForms
2
- class ApplicationJob < ActiveJob::Base
3
- end
4
- end
@@ -1,6 +0,0 @@
1
- module ConversationForms
2
- class ApplicationMailer < ActionMailer::Base
3
- default from: 'from@example.com'
4
- layout 'mailer'
5
- end
6
- end
@@ -1,5 +0,0 @@
1
- module ConversationForms
2
- class ApplicationRecord < ActiveRecord::Base
3
- self.abstract_class = true
4
- end
5
- end
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Conversation forms</title>
5
- <%= stylesheet_link_tag "conversation_forms/application", media: "all" %>
6
- <%= javascript_include_tag "conversation_forms/application" %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>
data/config/routes.rb DELETED
@@ -1,2 +0,0 @@
1
- ConversationForms::Engine.routes.draw do
2
- end