conversation_forms 0.3.0 → 0.4.0

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
  SHA1:
3
- metadata.gz: 0420100e801f8e48bbadcab7a9e327a3943c0382
4
- data.tar.gz: c989f1094b95604697ace4381e72c860c22bffe0
3
+ metadata.gz: e94e40b9637860d8bb543ae7968896493ff0532e
4
+ data.tar.gz: c322702f0a0ac72ac455059379c75ebd3915f6c2
5
5
  SHA512:
6
- metadata.gz: 2fae62922116f226155a711f46099db38bec8e7cd51aef271dcc320c7d3a61d86e0a30da40267edd4563ae122e350b305fc157014835259dcb72e2261e0752c6
7
- data.tar.gz: 3d07dd64a01c326b9a7022e6371a0f07136d280bae0c16c45133e78215dc82415a70133c146539c84addfce0bfca2ff627be4b322aba168f981623ed1746a274
6
+ metadata.gz: 108e42fb9bfbcd0881485e9b43ca51bbc629a5505a978a0dd0c9766a6c9f0559cc56f9c6bc205d64e0e026f06e112af1d995a48c5852f883205714e5d95b33a9
7
+ data.tar.gz: 929adc4baee02e12142a8cbf38d61d1e9c6515f872c533f952879e238a04775d30be681ae8a61cd42a7113ab0680a57a173141135abcf8cd68297900a7352269
data/README.md CHANGED
@@ -21,11 +21,6 @@ Or install it yourself as:
21
21
  $ gem install conversation_forms
22
22
  ```
23
23
 
24
- Finally require the js and css:
25
- ```bash
26
- //= require conversation_forms
27
- ```
28
-
29
24
  ## Contributing
30
25
  Contribution directions go here.
31
26
 
data/Rakefile CHANGED
@@ -14,8 +14,11 @@ RDoc::Task.new(:rdoc) do |rdoc|
14
14
  rdoc.rdoc_files.include('lib/**/*.rb')
15
15
  end
16
16
 
17
+ APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
18
+ load 'rails/tasks/engine.rake'
17
19
 
18
20
 
21
+ load 'rails/tasks/statistics.rake'
19
22
 
20
23
 
21
24
 
@@ -0,0 +1,2 @@
1
+ //= link_directory ../javascripts/conversation_forms .js
2
+ //= link_directory ../stylesheets/conversation_forms .css
@@ -0,0 +1,13 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require_tree .
@@ -0,0 +1,5 @@
1
+ module ConversationForms
2
+ class ApplicationController < ActionController::Base
3
+ protect_from_forgery with: :exception
4
+ end
5
+ end
@@ -0,0 +1,4 @@
1
+ module ConversationForms
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module ConversationForms
2
+ class ApplicationJob < ActiveJob::Base
3
+ end
4
+ end
@@ -0,0 +1,6 @@
1
+ module ConversationForms
2
+ class ApplicationMailer < ActionMailer::Base
3
+ default from: 'from@example.com'
4
+ layout 'mailer'
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module ConversationForms
2
+ class ApplicationRecord < ActiveRecord::Base
3
+ self.abstract_class = true
4
+ end
5
+ end
@@ -0,0 +1,14 @@
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 ADDED
@@ -0,0 +1,2 @@
1
+ ConversationForms::Engine.routes.draw do
2
+ end
@@ -0,0 +1,5 @@
1
+ module ConversationForms
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace ConversationForms
4
+ end
5
+ end
@@ -1,5 +1,3 @@
1
1
  module ConversationForms
2
- module Rails
3
- VERSION = "0.3.0"
4
- end
2
+ VERSION = '0.4.0'
5
3
  end
@@ -1,6 +1,5 @@
1
+ require "conversation_forms/engine"
2
+
1
3
  module ConversationForms
2
- module Rails
3
- class Engine < ::Rails::Engine
4
- end
5
- end
4
+ # Your code goes here...
6
5
  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.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sampson Crowley
@@ -69,11 +69,20 @@ files:
69
69
  - MIT-LICENSE
70
70
  - README.md
71
71
  - Rakefile
72
- - lib/assets/javascripts/conversation_forms.coffee
73
- - lib/assets/javascripts/index.js
74
- - lib/assets/stylesheets/application.css
75
- - lib/assets/stylesheets/conversation_forms.scss
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
76
84
  - lib/conversation_forms.rb
85
+ - lib/conversation_forms/engine.rb
77
86
  - lib/conversation_forms/version.rb
78
87
  - lib/tasks/conversation_forms_tasks.rake
79
88
  homepage: https://github.com/SampsonCrowley/conversation_forms
@@ -1,4 +0,0 @@
1
- //= require jquery
2
- //= require jquery_ujs
3
- //= require turbolinks
4
- //= require_tree .