blacklight_google_analytics 0.0.1.pre2 → 0.0.1.pre3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,9 @@
1
1
   (0.1ms) begin transaction
2
-  (0.1ms) rollback transaction
2
+  (0.0ms) rollback transaction
3
+  (0.0ms) begin transaction
4
+  (0.0ms) rollback transaction
5
+  (0.0ms) begin transaction
6
+  (0.0ms) rollback transaction
3
7
   (0.1ms) begin transaction
4
8
   (0.0ms) rollback transaction
5
9
   (0.0ms) begin transaction
@@ -9,7 +13,7 @@
9
13
   (0.1ms) begin transaction
10
14
   (0.0ms) rollback transaction
11
15
   (0.0ms) begin transaction
12
-  (0.1ms) rollback transaction
16
+  (0.0ms) rollback transaction
13
17
   (0.0ms) begin transaction
14
18
   (0.0ms) rollback transaction
15
19
   (0.1ms) begin transaction
@@ -21,13 +25,19 @@
21
25
   (0.1ms) begin transaction
22
26
   (0.0ms) rollback transaction
23
27
   (0.0ms) begin transaction
24
-  (0.1ms) rollback transaction
28
+  (0.0ms) rollback transaction
25
29
   (0.0ms) begin transaction
26
-  (0.1ms) rollback transaction
30
+  (0.0ms) rollback transaction
27
31
   (0.1ms) begin transaction
28
32
   (0.0ms) rollback transaction
29
33
   (0.0ms) begin transaction
30
-  (0.1ms) rollback transaction
34
+  (0.0ms) rollback transaction
35
+  (0.0ms) begin transaction
36
+  (0.0ms) rollback transaction
37
+  (0.1ms) begin transaction
38
+  (0.0ms) rollback transaction
39
+  (0.0ms) begin transaction
40
+  (0.0ms) rollback transaction
31
41
   (0.0ms) begin transaction
32
42
   (0.0ms) rollback transaction
33
43
   (0.1ms) begin transaction
@@ -51,24 +61,134 @@
51
61
   (0.1ms) begin transaction
52
62
   (0.0ms) rollback transaction
53
63
   (0.0ms) begin transaction
64
+  (0.0ms) rollback transaction
65
+  (0.1ms) begin transaction
66
+  (0.0ms) rollback transaction
67
+  (0.1ms) begin transaction
68
+  (0.0ms) rollback transaction
69
+  (0.0ms) begin transaction
70
+  (0.0ms) rollback transaction
71
+  (0.0ms) begin transaction
72
+  (0.0ms) rollback transaction
73
+  (0.1ms) begin transaction
74
+  (0.0ms) rollback transaction
75
+  (0.0ms) begin transaction
54
76
   (0.1ms) rollback transaction
55
77
   (0.0ms) begin transaction
56
78
   (0.0ms) rollback transaction
57
79
   (0.1ms) begin transaction
58
80
   (0.0ms) rollback transaction
59
81
   (0.0ms) begin transaction
82
+  (0.0ms) rollback transaction
83
+  (0.0ms) begin transaction
60
84
   (0.1ms) rollback transaction
85
+  (0.1ms) begin transaction
86
+  (0.0ms) rollback transaction
61
87
   (0.0ms) begin transaction
62
88
   (0.0ms) rollback transaction
89
+  (0.0ms) begin transaction
90
+  (0.1ms) rollback transaction
63
91
   (0.1ms) begin transaction
64
92
   (0.0ms) rollback transaction
65
93
   (0.0ms) begin transaction
66
94
   (0.0ms) rollback transaction
67
95
   (0.0ms) begin transaction
96
+  (0.1ms) rollback transaction
97
+  (0.1ms) begin transaction
98
+  (0.0ms) rollback transaction
99
+  (0.0ms) begin transaction
68
100
   (0.0ms) rollback transaction
101
+  (0.0ms) begin transaction
102
+  (0.1ms) rollback transaction
69
103
   (0.1ms) begin transaction
70
104
   (0.0ms) rollback transaction
71
105
   (0.0ms) begin transaction
72
106
   (0.0ms) rollback transaction
73
107
   (0.0ms) begin transaction
108
+  (0.1ms) rollback transaction
109
+  (0.1ms) begin transaction
110
+  (0.0ms) rollback transaction
111
+  (0.0ms) begin transaction
112
+  (0.0ms) rollback transaction
113
+  (0.0ms) begin transaction
114
+  (0.1ms) rollback transaction
115
+  (0.4ms) begin transaction
116
+  (0.0ms) rollback transaction
117
+  (0.0ms) begin transaction
118
+  (0.1ms) rollback transaction
119
+  (0.0ms) begin transaction
120
+  (0.0ms) rollback transaction
121
+  (0.4ms) begin transaction
122
+  (0.0ms) rollback transaction
123
+  (0.0ms) begin transaction
124
+  (0.1ms) rollback transaction
125
+  (0.0ms) begin transaction
126
+  (0.0ms) rollback transaction
127
+  (0.4ms) begin transaction
128
+  (0.0ms) rollback transaction
129
+  (0.0ms) begin transaction
130
+  (0.2ms) rollback transaction
131
+  (0.0ms) begin transaction
132
+  (0.0ms) rollback transaction
133
+  (0.6ms) begin transaction
134
+  (0.0ms) rollback transaction
135
+  (0.0ms) begin transaction
136
+  (0.1ms) rollback transaction
137
+  (0.0ms) begin transaction
138
+  (0.0ms) rollback transaction
139
+  (0.5ms) begin transaction
140
+  (0.0ms) rollback transaction
141
+  (0.0ms) begin transaction
142
+  (0.1ms) rollback transaction
143
+  (0.0ms) begin transaction
144
+  (0.1ms) rollback transaction
145
+  (0.0ms) begin transaction
146
+  (0.1ms) rollback transaction
147
+  (0.5ms) begin transaction
148
+  (0.0ms) rollback transaction
149
+  (0.0ms) begin transaction
150
+  (0.0ms) rollback transaction
151
+  (0.0ms) begin transaction
152
+  (0.0ms) rollback transaction
153
+  (0.0ms) begin transaction
154
+  (0.0ms) rollback transaction
155
+  (0.6ms) begin transaction
156
+  (0.0ms) rollback transaction
157
+  (0.0ms) begin transaction
158
+  (0.0ms) rollback transaction
159
+  (0.0ms) begin transaction
160
+  (0.0ms) rollback transaction
161
+  (0.0ms) begin transaction
162
+  (0.0ms) rollback transaction
163
+  (0.5ms) begin transaction
164
+  (0.0ms) rollback transaction
165
+  (0.0ms) begin transaction
166
+  (0.0ms) rollback transaction
167
+  (0.0ms) begin transaction
168
+  (0.0ms) rollback transaction
169
+  (0.0ms) begin transaction
170
+  (0.0ms) rollback transaction
171
+  (0.5ms) begin transaction
172
+  (0.0ms) rollback transaction
173
+  (0.0ms) begin transaction
174
+  (0.0ms) rollback transaction
175
+  (0.0ms) begin transaction
176
+  (0.0ms) rollback transaction
177
+  (0.0ms) begin transaction
178
+  (0.0ms) rollback transaction
179
+  (0.5ms) begin transaction
180
+  (0.0ms) rollback transaction
181
+  (0.0ms) begin transaction
182
+  (0.0ms) rollback transaction
183
+  (0.0ms) begin transaction
184
+  (0.0ms) rollback transaction
185
+  (0.0ms) begin transaction
186
+  (0.0ms) rollback transaction
187
+  (0.5ms) begin transaction
188
+  (0.0ms) rollback transaction
189
+  (0.1ms) begin transaction
190
+  (0.1ms) rollback transaction
191
+  (0.0ms) begin transaction
192
+  (0.0ms) rollback transaction
193
+  (0.0ms) begin transaction
74
194
   (0.0ms) rollback transaction
@@ -1,3 +1,2 @@
1
1
 
2
- //= require blacklight_google_analytics
3
- //= require google_analytics
2
+ //= require blacklight_google_analytics
@@ -3,18 +3,23 @@ require 'generators/blacklight_google_analytics_generator'
3
3
 
4
4
  class GeneratorTest < Rails::Generators::TestCase
5
5
  tests BlacklightGoogleAnalyticsGenerator
6
- setup :prepare_destination
7
6
  destination File.join(Rails.root, 'tmp')
7
+ setup :prepare_destination
8
+
8
9
 
9
10
  test "Assert initializer created" do
10
11
  run_generator
11
12
  assert_file "config/initializers/blacklight_google_analytics.rb", /BlacklightGoogleAnalytics.web_property_id/
12
13
  end
13
14
 
14
- test "Assert contents of application.js" do
15
- run_generator
16
- assert_file "app/assets/javascripts/application.js", /\/\/= require blacklight_google_analytics/
17
- assert_file "app/assets/javascripts/application.js", /\/\/= require google_analytics/
18
- end
15
+ # test "Assert contents of application.js" do
16
+ # run_generator
17
+ # assert_file "app/assets/javascripts/application.js", /\/\/= require blacklight_google_analytics/
18
+ # end
19
+ #
20
+ # test "Assert contents of catalog_controller.rb" do
21
+ # run_generator
22
+ # assert_file "app/controllers/catalog_controller.rb", 'include BlacklightGoogleAnalytics::ControllerExtraHead'
23
+ # end
19
24
 
20
25
  end
metadata CHANGED
@@ -1,161 +1,152 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: blacklight_google_analytics
3
- version: !ruby/object:Gem::Version
4
- hash: -2656364228
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.pre3
5
5
  prerelease: 6
6
- segments:
7
- - 0
8
- - 0
9
- - 1
10
- - pre
11
- - 2
12
- version: 0.0.1.pre2
13
6
  platform: ruby
14
- authors:
7
+ authors:
15
8
  - Jason Ronallo
16
9
  autorequire:
17
10
  bindir: bin
18
11
  cert_chain: []
19
-
20
- date: 2012-03-31 00:00:00 Z
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
12
+ date: 2012-04-10 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sqlite3
16
+ requirement: !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
33
22
  type: :development
34
- name: sqlite3
35
- version_requirements: *id001
36
- description: Adds Google Analytics to Blacklight Rails application including event tracking.
37
- email:
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: Adds Google Analytics to Blacklight Rails application including event
31
+ tracking.
32
+ email:
38
33
  - jronallo@gmail.com
39
34
  executables: []
40
-
41
35
  extensions: []
42
-
43
36
  extra_rdoc_files: []
44
-
45
- files:
46
- - app/assets/javascripts/google_analytics.js.erb
37
+ files:
47
38
  - app/assets/javascripts/blacklight_google_analytics.js.erb
39
+ - app/views/layouts/_google_analytics.html.erb
48
40
  - lib/tasks/blacklight_google_analytics_tasks.rake
49
- - lib/blacklight_google_analytics/version.rb
50
- - lib/generators/templates/README
51
41
  - lib/generators/blacklight_google_analytics_generator.rb
42
+ - lib/generators/templates/README
52
43
  - lib/blacklight_google_analytics.rb
44
+ - lib/blacklight_google_analytics/controller_extra_head.rb
45
+ - lib/blacklight_google_analytics/version.rb
53
46
  - MIT-LICENSE
54
47
  - Rakefile
55
48
  - README.md
56
- - test/generator_test.rb
57
- - test/test_helper.rb
58
- - test/blacklight_google_analytics_test.rb
59
- - test/dummy/public/422.html
60
- - test/dummy/public/404.html
61
- - test/dummy/public/500.html
62
- - test/dummy/public/favicon.ico
63
- - test/dummy/db/test.sqlite3
64
- - test/dummy/log/test.log
65
49
  - test/dummy/README.rdoc
66
- - test/dummy/Rakefile
67
- - test/dummy/tmp/config/initializers/blacklight_google_analytics.rb
68
- - test/dummy/tmp/app/assets/javascripts/application.js
69
- - test/dummy/script/rails
50
+ - test/dummy/config/boot.rb
51
+ - test/dummy/config/locales/en.yml
70
52
  - test/dummy/config/application.rb
53
+ - test/dummy/config/initializers/secret_token.rb
71
54
  - test/dummy/config/initializers/session_store.rb
72
55
  - test/dummy/config/initializers/blacklight_config.rb
56
+ - test/dummy/config/initializers/backtrace_silencers.rb
73
57
  - test/dummy/config/initializers/wrap_parameters.rb
74
- - test/dummy/config/initializers/secret_token.rb
75
- - test/dummy/config/initializers/inflections.rb
76
58
  - test/dummy/config/initializers/mime_types.rb
77
- - test/dummy/config/initializers/backtrace_silencers.rb
78
- - test/dummy/config/database.yml
79
- - test/dummy/config/boot.rb
59
+ - test/dummy/config/initializers/inflections.rb
60
+ - test/dummy/config/environments/test.rb
80
61
  - test/dummy/config/environments/development.rb
81
62
  - test/dummy/config/environments/production.rb
82
- - test/dummy/config/environments/test.rb
83
63
  - test/dummy/config/environment.rb
84
- - test/dummy/config/locales/en.yml
85
- - test/dummy/config.ru
86
- - test/dummy/app/views/layouts/application.html.erb
87
- - test/dummy/app/controllers/application_controller.rb
64
+ - test/dummy/config/database.yml
65
+ - test/dummy/Rakefile
88
66
  - test/dummy/app/assets/javascripts/application.js
89
67
  - test/dummy/app/assets/stylesheets/application.css
68
+ - test/dummy/app/views/layouts/application.html.erb
69
+ - test/dummy/app/controllers/application_controller.rb
90
70
  - test/dummy/app/helpers/application_helper.rb
71
+ - test/dummy/script/rails
72
+ - test/dummy/public/favicon.ico
73
+ - test/dummy/public/422.html
74
+ - test/dummy/public/404.html
75
+ - test/dummy/public/500.html
76
+ - test/dummy/config.ru
77
+ - test/dummy/log/development.log
78
+ - test/dummy/log/test.log
79
+ - test/dummy/db/development.sqlite3
80
+ - test/dummy/db/test.sqlite3
81
+ - test/dummy/tmp/config/initializers/blacklight_google_analytics.rb
82
+ - test/dummy/tmp/app/assets/javascripts/application.js
83
+ - test/dummy/tmp/app/controllers/catalog_controller.rb
84
+ - test/generator_test.rb
85
+ - test/test_helper.rb
86
+ - test/blacklight_google_analytics_test.rb
91
87
  homepage: https://github.com/jronallo/blacklight_google_analytics
92
88
  licenses: []
93
-
94
89
  post_install_message:
95
90
  rdoc_options: []
96
-
97
- require_paths:
91
+ require_paths:
98
92
  - lib
99
- required_ruby_version: !ruby/object:Gem::Requirement
93
+ required_ruby_version: !ruby/object:Gem::Requirement
100
94
  none: false
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- hash: 3
105
- segments:
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ segments:
106
100
  - 0
107
- version: "0"
108
- required_rubygems_version: !ruby/object:Gem::Requirement
101
+ hash: 4539151430570612496
102
+ required_rubygems_version: !ruby/object:Gem::Requirement
109
103
  none: false
110
- requirements:
111
- - - ">"
112
- - !ruby/object:Gem::Version
113
- hash: 25
114
- segments:
115
- - 1
116
- - 3
117
- - 1
104
+ requirements:
105
+ - - ! '>'
106
+ - !ruby/object:Gem::Version
118
107
  version: 1.3.1
119
108
  requirements: []
120
-
121
109
  rubyforge_project:
122
- rubygems_version: 1.8.15
110
+ rubygems_version: 1.8.21
123
111
  signing_key:
124
112
  specification_version: 3
125
113
  summary: Adds Google Analytics to Blacklight Rails application.
126
- test_files:
127
- - test/generator_test.rb
128
- - test/test_helper.rb
129
- - test/blacklight_google_analytics_test.rb
130
- - test/dummy/public/422.html
131
- - test/dummy/public/404.html
132
- - test/dummy/public/500.html
133
- - test/dummy/public/favicon.ico
134
- - test/dummy/db/test.sqlite3
135
- - test/dummy/log/test.log
114
+ test_files:
136
115
  - test/dummy/README.rdoc
137
- - test/dummy/Rakefile
138
- - test/dummy/tmp/config/initializers/blacklight_google_analytics.rb
139
- - test/dummy/tmp/app/assets/javascripts/application.js
140
- - test/dummy/script/rails
116
+ - test/dummy/config/boot.rb
117
+ - test/dummy/config/locales/en.yml
141
118
  - test/dummy/config/application.rb
119
+ - test/dummy/config/initializers/secret_token.rb
142
120
  - test/dummy/config/initializers/session_store.rb
143
121
  - test/dummy/config/initializers/blacklight_config.rb
122
+ - test/dummy/config/initializers/backtrace_silencers.rb
144
123
  - test/dummy/config/initializers/wrap_parameters.rb
145
- - test/dummy/config/initializers/secret_token.rb
146
- - test/dummy/config/initializers/inflections.rb
147
124
  - test/dummy/config/initializers/mime_types.rb
148
- - test/dummy/config/initializers/backtrace_silencers.rb
149
- - test/dummy/config/database.yml
150
- - test/dummy/config/boot.rb
125
+ - test/dummy/config/initializers/inflections.rb
126
+ - test/dummy/config/environments/test.rb
151
127
  - test/dummy/config/environments/development.rb
152
128
  - test/dummy/config/environments/production.rb
153
- - test/dummy/config/environments/test.rb
154
129
  - test/dummy/config/environment.rb
155
- - test/dummy/config/locales/en.yml
156
- - test/dummy/config.ru
157
- - test/dummy/app/views/layouts/application.html.erb
158
- - test/dummy/app/controllers/application_controller.rb
130
+ - test/dummy/config/database.yml
131
+ - test/dummy/Rakefile
159
132
  - test/dummy/app/assets/javascripts/application.js
160
133
  - test/dummy/app/assets/stylesheets/application.css
134
+ - test/dummy/app/views/layouts/application.html.erb
135
+ - test/dummy/app/controllers/application_controller.rb
161
136
  - test/dummy/app/helpers/application_helper.rb
137
+ - test/dummy/script/rails
138
+ - test/dummy/public/favicon.ico
139
+ - test/dummy/public/422.html
140
+ - test/dummy/public/404.html
141
+ - test/dummy/public/500.html
142
+ - test/dummy/config.ru
143
+ - test/dummy/log/development.log
144
+ - test/dummy/log/test.log
145
+ - test/dummy/db/development.sqlite3
146
+ - test/dummy/db/test.sqlite3
147
+ - test/dummy/tmp/config/initializers/blacklight_google_analytics.rb
148
+ - test/dummy/tmp/app/assets/javascripts/application.js
149
+ - test/dummy/tmp/app/controllers/catalog_controller.rb
150
+ - test/generator_test.rb
151
+ - test/test_helper.rb
152
+ - test/blacklight_google_analytics_test.rb