garails 0.1.0 → 0.1.1

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/Gemfile.lock CHANGED
@@ -1,82 +1,85 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- garails (0.0.6)
4
+ garails (0.1.1)
5
5
  gabbara (~> 0.0.5)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
10
  abstract (1.0.0)
11
- actionmailer (3.0.3)
12
- actionpack (= 3.0.3)
13
- mail (~> 2.2.9)
14
- actionpack (3.0.3)
15
- activemodel (= 3.0.3)
16
- activesupport (= 3.0.3)
11
+ actionmailer (3.0.10)
12
+ actionpack (= 3.0.10)
13
+ mail (~> 2.2.19)
14
+ actionpack (3.0.10)
15
+ activemodel (= 3.0.10)
16
+ activesupport (= 3.0.10)
17
17
  builder (~> 2.1.2)
18
18
  erubis (~> 2.6.6)
19
- i18n (~> 0.4)
19
+ i18n (~> 0.5.0)
20
20
  rack (~> 1.2.1)
21
- rack-mount (~> 0.6.13)
22
- rack-test (~> 0.5.6)
21
+ rack-mount (~> 0.6.14)
22
+ rack-test (~> 0.5.7)
23
23
  tzinfo (~> 0.3.23)
24
- activemodel (3.0.3)
25
- activesupport (= 3.0.3)
24
+ activemodel (3.0.10)
25
+ activesupport (= 3.0.10)
26
26
  builder (~> 2.1.2)
27
- i18n (~> 0.4)
28
- activerecord (3.0.3)
29
- activemodel (= 3.0.3)
30
- activesupport (= 3.0.3)
31
- arel (~> 2.0.2)
27
+ i18n (~> 0.5.0)
28
+ activerecord (3.0.10)
29
+ activemodel (= 3.0.10)
30
+ activesupport (= 3.0.10)
31
+ arel (~> 2.0.10)
32
32
  tzinfo (~> 0.3.23)
33
- activeresource (3.0.3)
34
- activemodel (= 3.0.3)
35
- activesupport (= 3.0.3)
36
- activesupport (3.0.3)
37
- addressable (2.2.5)
38
- arel (2.0.6)
33
+ activeresource (3.0.10)
34
+ activemodel (= 3.0.10)
35
+ activesupport (= 3.0.10)
36
+ activesupport (3.0.10)
37
+ addressable (2.2.6)
38
+ arel (2.0.10)
39
39
  builder (2.1.2)
40
- crack (0.1.8)
40
+ crack (0.3.1)
41
41
  erubis (2.6.6)
42
42
  abstract (>= 1.0.0)
43
43
  flexmock (0.9.0)
44
- gabbara (0.0.5)
44
+ gabbara (0.0.6)
45
45
  activesupport
46
46
  i18n (0.5.0)
47
- mail (2.2.12)
47
+ mail (2.2.19)
48
48
  activesupport (>= 2.3.6)
49
49
  i18n (>= 0.4.0)
50
50
  mime-types (~> 1.16)
51
51
  treetop (~> 1.4.8)
52
52
  mime-types (1.16)
53
- polyglot (0.3.1)
54
- rack (1.2.1)
55
- rack-mount (0.6.13)
53
+ polyglot (0.3.2)
54
+ rack (1.2.4)
55
+ rack-mount (0.6.14)
56
56
  rack (>= 1.0.0)
57
- rack-test (0.5.6)
57
+ rack-test (0.5.7)
58
58
  rack (>= 1.0)
59
- rails (3.0.3)
60
- actionmailer (= 3.0.3)
61
- actionpack (= 3.0.3)
62
- activerecord (= 3.0.3)
63
- activeresource (= 3.0.3)
64
- activesupport (= 3.0.3)
59
+ rails (3.0.10)
60
+ actionmailer (= 3.0.10)
61
+ actionpack (= 3.0.10)
62
+ activerecord (= 3.0.10)
63
+ activeresource (= 3.0.10)
64
+ activesupport (= 3.0.10)
65
65
  bundler (~> 1.0)
66
- railties (= 3.0.3)
67
- railties (3.0.3)
68
- actionpack (= 3.0.3)
69
- activesupport (= 3.0.3)
66
+ railties (= 3.0.10)
67
+ railties (3.0.10)
68
+ actionpack (= 3.0.10)
69
+ activesupport (= 3.0.10)
70
70
  rake (>= 0.8.7)
71
+ rdoc (~> 3.4)
71
72
  thor (~> 0.14.4)
72
- rake (0.8.7)
73
+ rake (0.9.2)
74
+ rdoc (3.9.4)
73
75
  shoulda (2.11.3)
74
76
  thor (0.14.6)
75
- treetop (1.4.9)
77
+ treetop (1.4.10)
78
+ polyglot
76
79
  polyglot (>= 0.3.1)
77
- tzinfo (0.3.23)
78
- webmock (1.6.2)
79
- addressable (>= 2.2.2)
80
+ tzinfo (0.3.30)
81
+ webmock (1.7.6)
82
+ addressable (~> 2.2, > 2.2.5)
80
83
  crack (>= 0.1.7)
81
84
 
82
85
  PLATFORMS
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'rake/testtask'
2
- require 'rake/rdoctask'
2
+ require 'rdoc/task'
3
3
  require 'bundler'
4
4
  Bundler::GemHelper.install_tasks
5
5
 
@@ -6,14 +6,13 @@ module Garails::MobileHelper
6
6
 
7
7
  def utm_path
8
8
  referer = request.env['HTTP_REFERER']
9
- params = {
9
+ url_for :controller => 'garails/google_analytics',
10
+ :action => 'utm',
11
+ :format => :gif,
10
12
  :utmn => rand(0x7fffffff).to_s,
11
13
  :utmr => referer.blank? ? "-" : referer,
12
14
  :utmp => request.env['REQUEST_URI'],
13
- :guid => "ON",
14
- :format => :gif
15
- }
16
- super(params)
15
+ :guid => "ON"
17
16
  end
18
17
 
19
18
  end
@@ -1,3 +1,3 @@
1
1
  module Garails
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-23 00:00:00.000000000Z
12
+ date: 2011-10-04 00:00:00.000000000 +09:00
13
+ default_executable:
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: gabbara
16
- requirement: &2157115260 !ruby/object:Gem::Requirement
17
+ requirement: &14840800 !ruby/object:Gem::Requirement
17
18
  none: false
18
19
  requirements:
19
20
  - - ~>
@@ -21,7 +22,7 @@ dependencies:
21
22
  version: 0.0.5
22
23
  type: :runtime
23
24
  prerelease: false
24
- version_requirements: *2157115260
25
+ version_requirements: *14840800
25
26
  description: Google Analytics for Rails
26
27
  email: michael@mobalean.com
27
28
  executables: []
@@ -70,6 +71,7 @@ files:
70
71
  - test/test_app/public/favicon.ico
71
72
  - test/test_app/script/rails
72
73
  - test/test_helper.rb
74
+ has_rdoc: true
73
75
  homepage: http://github.com/mreinsch/garails
74
76
  licenses: []
75
77
  post_install_message:
@@ -90,33 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
92
  version: '0'
91
93
  requirements: []
92
94
  rubyforge_project:
93
- rubygems_version: 1.8.6
95
+ rubygems_version: 1.6.2
94
96
  signing_key:
95
97
  specification_version: 3
96
98
  summary: Google Analytics for Rails
97
- test_files:
98
- - test/controllers/google_analytics_controller_test.rb
99
- - test/test_app/.gitignore
100
- - test/test_app/app/controllers/application_controller.rb
101
- - test/test_app/app/helpers/application_helper.rb
102
- - test/test_app/app/views/layouts/application.html.erb
103
- - test/test_app/config.ru
104
- - test/test_app/config/application.rb
105
- - test/test_app/config/boot.rb
106
- - test/test_app/config/database.yml
107
- - test/test_app/config/environment.rb
108
- - test/test_app/config/environments/test.rb
109
- - test/test_app/config/initializers/backtrace_silencers.rb
110
- - test/test_app/config/initializers/garails.rb
111
- - test/test_app/config/initializers/inflections.rb
112
- - test/test_app/config/initializers/mime_types.rb
113
- - test/test_app/config/initializers/secret_token.rb
114
- - test/test_app/config/initializers/session_store.rb
115
- - test/test_app/config/routes.rb
116
- - test/test_app/db/seeds.rb
117
- - test/test_app/public/404.html
118
- - test/test_app/public/422.html
119
- - test/test_app/public/500.html
120
- - test/test_app/public/favicon.ico
121
- - test/test_app/script/rails
122
- - test/test_helper.rb
99
+ test_files: []