kenny_dialoggins 0.2.1 → 0.2.2

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.
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: 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
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
- require 'rake'
2
- require 'rake/testtask'
1
+ require "rake"
2
+ require "rake/testtask"
3
3
  require "rake/rdoctask"
4
4
  require "jeweler"
5
5
 
@@ -38,7 +38,7 @@ begin
38
38
  gemspec.add_dependency("actionpack", ">=2.3.4")
39
39
  gemspec.add_development_dependency("activesupport", ">=2.3.4")
40
40
 
41
- gemspec.files.include("generators/**/*", "lib/**/*")
41
+ gemspec.files.include("lib/**/*.rb")
42
42
  gemspec.files.include("test/**/*.rb")
43
43
  end
44
44
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -5,8 +5,8 @@ class KennyDialogginsGenerator < Rails::Generator::Base
5
5
  #
6
6
  def manifest
7
7
  record do |m|
8
- m.file "kenny_dialoggins.js", "public/javascripts/kenny_dialoggins.js"
9
8
  m.file "kenny_dialoggins.css", "public/stylesheets/kenny_dialoggins.css"
9
+ m.file "kenny_dialoggins.js", "public/javascripts/kenny_dialoggins.js"
10
10
  end
11
11
  end
12
12
  end
@@ -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.1"
8
+ s.version = "0.2.2"
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"]
@@ -5,15 +5,17 @@ class KennyDialogginsGenerator < Rails::Generator::Base
5
5
 
6
6
  # This call establishes the path to the templates directory.
7
7
  #
8
- source_root File.expand_path('../templates', __FILE__)
8
+ def self.source_root
9
+ File.join(File.dirname(__FILE__), "templates")
10
+ end
9
11
 
10
12
 
11
13
  # This method copies stylesheet and javascript files to the
12
14
  # corresponding public directories.
13
15
  #
14
16
  def generate_assets
15
- copy_file "kenny_dialoggins.js", "public/javascripts/kenny_dialoggins.js"
16
17
  copy_file "kenny_dialoggins.css", "public/stylesheets/kenny_dialoggins.css"
18
+ copy_file "kenny_dialoggins.js", "public/javascripts/kenny_dialoggins.js"
17
19
  end
18
20
 
19
21
  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: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Coroutine