analytical 3.0.11 → 3.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/analytical/api.rb +1 -1
  2. metadata +4 -4
@@ -73,7 +73,7 @@ module Analytical
73
73
  ]
74
74
 
75
75
  if options[:javascript_helpers]
76
- if ::Rails::VERSION::STRING.to_i >= 3.1 # Rails 3.1 lets us override views in engines
76
+ if Gem::Version.new(::Rails::VERSION::STRING) >= Gem::Version.new('3.1.0') # Rails 3.1 lets us override views in engines
77
77
  js << options[:controller].send(:render_to_string, :partial=>'analytical_javascript') if options[:controller]
78
78
  else # All other rails
79
79
  _partial_path = Pathname.new(__FILE__).dirname.join('..', '..', 'app/views/application', '_analytical_javascript.html.erb').to_s
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: analytical
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
- - 11
10
- version: 3.0.11
9
+ - 12
10
+ version: 3.0.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joshua Krall
@@ -22,7 +22,7 @@ autorequire:
22
22
  bindir: bin
23
23
  cert_chain: []
24
24
 
25
- date: 2012-01-22 00:00:00 -06:00
25
+ date: 2012-01-24 00:00:00 -06:00
26
26
  default_executable:
27
27
  dependencies:
28
28
  - !ruby/object:Gem::Dependency