hemju-google-analytics 0.0.17 → 0.0.19

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/Rakefile CHANGED
@@ -7,7 +7,7 @@ require 'rake/testtask'
7
7
 
8
8
  spec = Gem::Specification.new do |s|
9
9
  s.name = 'hemju-google-analytics'
10
- s.version = '0.0.17'
10
+ s.version = '0.0.19'
11
11
  s.has_rdoc = true
12
12
  s.extra_rdoc_files = ['README', 'LICENSE']
13
13
  s.summary = "A gem that generates Google Analytics Javascript code."
@@ -0,0 +1,13 @@
1
+ module Hemju
2
+ module GoogleAnalytics
3
+ class InstallGenerator < Rails::Generators::Base
4
+ source_root File.expand_path("../templates", __FILE__)
5
+
6
+ # all public methods in here will be run in order
7
+ desc 'Creates a template initializer file for the hemju Google Analytics plugin. You will find the generated file in config/initializers/google_analytics_initializer.rb.'
8
+ def add_my_initializer
9
+ copy_file "hemju_google_analytics.rb", "config/initializers/hemju_google_analytics.rb"
10
+ end
11
+ end
12
+ end
13
+ end
@@ -1,3 +1,3 @@
1
1
  module HemjuGoogleAnalytics
2
- VERSION = "0.0.17"
2
+ VERSION = "0.0.19"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hemju-google-analytics
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
4
+ hash: 57
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 17
10
- version: 0.0.17
9
+ - 19
10
+ version: 0.0.19
11
11
  platform: ruby
12
12
  authors:
13
13
  - Helmut Michael Juskewycz
@@ -32,8 +32,8 @@ files:
32
32
  - LICENSE
33
33
  - README
34
34
  - Rakefile
35
- - lib/hemju/generators/google_analytics/install_generator.rb
36
- - lib/hemju/generators/templates/hemju_google_analytics.rb
35
+ - lib/generators/install/install_generator.rb
36
+ - lib/generators/install/templates/hemju_google_analytics.rb
37
37
  - lib/hemju-google-analytics.rb
38
38
  - lib/hemju_google_analytics/_google_analytics.html.erb
39
39
  - lib/hemju_google_analytics/version.rb
@@ -1,11 +0,0 @@
1
- module GoogleAnalytics
2
- class InstallGenerator < Rails::Generators::Base
3
- source_root File.expand_path("../templates", __FILE__)
4
-
5
- # all public methods in here will be run in order
6
- desc 'Creates a template initializer file for the hemju Google Analytics plugin. You will find the generated file in config/initializers/google_analytics_initializer.rb.'
7
- def add_my_initializer
8
- copy_file "hemju_google_analytics.rb", "config/initializers/hemju_google_analytics.rb"
9
- end
10
- end
11
- end