hemju-google-analytics 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -1,4 +1,3 @@
1
1
  == google_analytics_plugin
2
2
 
3
3
  You should document your project here.
4
- df
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.1'
10
+ s.version = '0.0.2'
11
11
  s.has_rdoc = true
12
12
  s.extra_rdoc_files = ['README', 'LICENSE']
13
13
  s.summary = 'Your summary here'
@@ -0,0 +1,19 @@
1
+ module Hemju
2
+ module GoogleAnalytics
3
+ class Railtie < ::Rails::Railtie
4
+ rake_tasks do
5
+ #load "google_analytics/railties/databases.rake"
6
+ end
7
+ end
8
+
9
+ attr_accessor :account
10
+ attr_accessor :domain
11
+
12
+ attr_accessor :production_only
13
+
14
+ def self.setup
15
+ yield self
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,12 @@
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
+ def add_my_initializer
8
+ template "initializer.rb", "config/initializers/google_analytics_initializer.rb"
9
+ end
10
+ end
11
+ end
12
+ end
@@ -1,3 +1,3 @@
1
1
  module Hemju::GoogleAnalytics
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
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: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Helmut Michael Juskewycz
@@ -32,11 +32,11 @@ files:
32
32
  - LICENSE
33
33
  - README
34
34
  - Rakefile
35
- - lib/hemju_google_analytics/generators/install_generator.rb
36
- - lib/hemju_google_analytics/templates/_google_analytics.html.erb.erb
37
- - lib/hemju_google_analytics/templates/initializer.rb
38
- - lib/hemju_google_analytics/version.rb
39
- - lib/hemju_google_analytics.rb
35
+ - lib/google_analytics/generators/install_generator.rb
36
+ - lib/google_analytics/templates/_google_analytics.html.erb.erb
37
+ - lib/google_analytics/templates/initializer.rb
38
+ - lib/google_analytics/version.rb
39
+ - lib/google_analytics.rb
40
40
  has_rdoc: true
41
41
  homepage:
42
42
  licenses: []
@@ -1,17 +0,0 @@
1
- module Hemju::GoogleAnalytics
2
- class Railtie < ::Rails::Railtie
3
- rake_tasks do
4
- #load "google_analytics/railties/databases.rake"
5
- end
6
- end
7
-
8
- attr_accessor :account
9
- attr_accessor :domain
10
-
11
- attr_accessor :production_only
12
-
13
- def self.setup
14
- yield self
15
- end
16
-
17
- end
@@ -1,10 +0,0 @@
1
- module Hemju::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
- def add_my_initializer
7
- template "initializer.rb", "config/initializers/google_analytics_initializer.rb"
8
- end
9
- end
10
- end