hemju-google-analytics 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
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.7'
10
+ s.version = '0.0.8'
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."
@@ -1,10 +1,8 @@
1
- module HemjuGoogleAnalytics
2
- class InstallGenerator < Rails::Generators::Base
3
- source_root File.expand_path("../templates", __FILE__)
1
+ class HemjuGoogleAnalytics::InstallGenerator < Rails::Generators::Base
2
+ source_root File.expand_path("../templates", __FILE__)
4
3
 
5
- # all public methods in here will be run in order
6
- def add_my_initializer
7
- template "initializer.rb", "config/initializers/google_analytics_initializer.rb"
8
- end
4
+ # all public methods in here will be run in order
5
+ def add_my_initializer
6
+ template "initializer.rb", "config/initializers/google_analytics_initializer.rb"
9
7
  end
10
8
  end
@@ -1,3 +1,3 @@
1
1
  module HemjuGoogleAnalytics
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -1,8 +1,8 @@
1
1
  module HemjuGoogleAnalytics
2
- attr_accessor :account
3
- attr_accessor :domain
2
+ mattr_accessor :account
3
+ mattr_accessor :domain
4
4
 
5
- attr_accessor :production_only
5
+ mattr_accessor :environments
6
6
 
7
7
  def self.setup
8
8
  yield self
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: 17
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Helmut Michael Juskewycz