make_commentable 0.0.8.1.4 → 0.0.8.1.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,12 @@
1
1
  require 'rails/generators/migration'
2
2
 
3
3
  class CommentGenerator < Rails::Generators::Base
4
- include Rails::Generators::Migration
5
- include Rails::Generators::ResourceHelpers
4
+ #include Rails::Generators::Migration
5
+ #include Rails::Generators::ResourceHelpers
6
6
 
7
7
  source_root File.expand_path("../templates", __FILE__)
8
8
 
9
- desc "Creates a make_commentable files"
9
+ #desc "Creates a make_commentable files"
10
10
 
11
11
  def self.next_migration_number(path)
12
12
  Time.now.utc.strftime("%Y%m%d%H%M%S")
@@ -21,12 +21,12 @@ class CommentGenerator < Rails::Generators::Base
21
21
  template "comments_controler.rb", "app/controllers/comments_controller.rb"
22
22
  end
23
23
 
24
- def create_views
25
- template "views/_comment.html.haml", "app/views/_comment.html.haml"
26
- template "views/_comment_form.html.haml", "app/views/_comment_form.html.haml"
27
- end
24
+ #def create_views
25
+ # template "views/_comment.html.haml", "app/views/_comment.html.haml"
26
+ # template "views/_comment_form.html.haml", "app/views/_comment_form.html.haml"
27
+ #end
28
28
 
29
- def create_javascripts
30
- template "javascripts/comments.js", "app/assets/javascripts/comments/comments.js"
31
- end
29
+ #def create_javascripts
30
+ # template "javascripts/comments.js", "app/assets/javascripts/comments/comments.js"
31
+ #end
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module Commentable
2
- VERSION = "0.0.8.1.4"
2
+ VERSION = "0.0.8.1.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: make_commentable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8.1.4
4
+ version: 0.0.8.1.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: