kenny_dialoggins 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/.specification CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kenny_dialoggins
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
9
8
  - 2
10
- version: 0.1.2
9
+ - 0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Coroutine
@@ -61,6 +61,7 @@ extensions: []
61
61
  extra_rdoc_files:
62
62
  - README.rdoc
63
63
  files:
64
+ - .gitignore
64
65
  - .specification
65
66
  - MIT-LICENSE
66
67
  - README.rdoc
@@ -71,6 +72,9 @@ files:
71
72
  - generators/kenny_dialoggins/templates/kenny_dialoggins.js
72
73
  - init.rb
73
74
  - kenny_dialoggins.gemspec
75
+ - lib/generators/kenny_dialoggins/kenny_dialoggins_generator.rb
76
+ - lib/generators/kenny_dialoggins/templates/kenny_dialoggins.css
77
+ - lib/generators/kenny_dialoggins/templates/kenny_dialoggins.js
74
78
  - lib/kenny_dialoggins.rb
75
79
  - lib/kenny_dialoggins/helpers.rb
76
80
  - rails/init.rb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kenny_dialoggins}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Coroutine", "Tim Lowrimore", "John Dugan"]
@@ -1,16 +1,17 @@
1
+ require "rails/generators"
2
+
3
+
1
4
  class KennyDialogginsGenerator < Rails::Generator::Base
2
5
 
3
- # This method establishes the path to the templates directory.
6
+ # This call establishes the path to the templates directory.
4
7
  #
5
- def self.source_root
6
- @source_root ||= File.expand_path('../templates', __FILE__)
7
- end
8
+ source_root File.expand_path('../templates', __FILE__)
8
9
 
9
10
 
10
11
  # This method copies stylesheet and javascript files to the
11
12
  # corresponding public directories.
12
13
  #
13
- def copy_assets
14
+ def generate_assets
14
15
  copy_file "kenny_dialoggins.js", "public/javascripts/kenny_dialoggins.js"
15
16
  copy_file "kenny_dialoggins.css", "public/stylesheets/kenny_dialoggins.css"
16
17
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kenny_dialoggins
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Coroutine