garails 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,9 @@
|
|
1
1
|
module Garails::JavascriptHelper
|
2
2
|
def google_analytics_tracking_javascript
|
3
|
-
|
4
|
-
|
3
|
+
if Garails.ga_setup?
|
4
|
+
render :partial => "garails/google_analytics"
|
5
|
+
else
|
6
|
+
render :partial => "garails/no_google_analytics"
|
7
|
+
end
|
5
8
|
end
|
6
9
|
end
|
File without changes
|
data/lib/garails/version.rb
CHANGED
metadata
CHANGED
@@ -1,38 +1,34 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: garails
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.7
|
4
5
|
prerelease:
|
5
|
-
version: 0.0.6
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Michael Reinsch
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2011-04-25 00:00:00 +09:00
|
12
|
+
date: 2011-08-01 00:00:00.000000000 +09:00
|
14
13
|
default_executable:
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
17
16
|
name: gabbara
|
18
|
-
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: &15804600 !ruby/object:Gem::Requirement
|
20
18
|
none: false
|
21
|
-
requirements:
|
19
|
+
requirements:
|
22
20
|
- - ~>
|
23
|
-
- !ruby/object:Gem::Version
|
21
|
+
- !ruby/object:Gem::Version
|
24
22
|
version: 0.0.5
|
25
23
|
type: :runtime
|
26
|
-
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *15804600
|
27
26
|
description: Google Analytics for Rails
|
28
27
|
email: michael@mobalean.com
|
29
28
|
executables: []
|
30
|
-
|
31
29
|
extensions: []
|
32
|
-
|
33
30
|
extra_rdoc_files: []
|
34
|
-
|
35
|
-
files:
|
31
|
+
files:
|
36
32
|
- .gitignore
|
37
33
|
- Gemfile
|
38
34
|
- Gemfile.lock
|
@@ -42,7 +38,8 @@ files:
|
|
42
38
|
- app/helpers/garails/event_helper.rb
|
43
39
|
- app/helpers/garails/javascript_helper.rb
|
44
40
|
- app/helpers/garails/mobile_helper.rb
|
45
|
-
- app/views/garails/
|
41
|
+
- app/views/garails/_google_analytics.html.erb
|
42
|
+
- app/views/garails/_no_google_analytics.html.erb
|
46
43
|
- config/initializers/mime_types.rb
|
47
44
|
- config/routes.rb
|
48
45
|
- garails.gemspec
|
@@ -77,30 +74,26 @@ files:
|
|
77
74
|
has_rdoc: true
|
78
75
|
homepage: http://github.com/mreinsch/garails
|
79
76
|
licenses: []
|
80
|
-
|
81
77
|
post_install_message:
|
82
78
|
rdoc_options: []
|
83
|
-
|
84
|
-
require_paths:
|
79
|
+
require_paths:
|
85
80
|
- lib
|
86
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
87
82
|
none: false
|
88
|
-
requirements:
|
89
|
-
- -
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version:
|
92
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ! '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
88
|
none: false
|
94
|
-
requirements:
|
95
|
-
- -
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version:
|
89
|
+
requirements:
|
90
|
+
- - ! '>='
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
98
93
|
requirements: []
|
99
|
-
|
100
94
|
rubyforge_project:
|
101
95
|
rubygems_version: 1.6.2
|
102
96
|
signing_key:
|
103
97
|
specification_version: 3
|
104
98
|
summary: Google Analytics for Rails
|
105
99
|
test_files: []
|
106
|
-
|