appoxy_rails 0.0.28 → 0.0.29

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.
Files changed (2) hide show
  1. data/lib/appoxy_rails.rb +2 -2
  2. metadata +3 -3
data/lib/appoxy_rails.rb CHANGED
@@ -22,10 +22,10 @@ module Appoxy
22
22
  end
23
23
 
24
24
 
25
- if defined?(Rails)
25
+ if defined?(::Rails)
26
26
  # puts 'Rails=' + Rails.inspect
27
27
  # puts 'vers=' + Rails::VERSION::MAJOR.inspect
28
- if Rails::VERSION::MAJOR == 2
28
+ if ::Rails::VERSION::MAJOR == 2
29
29
  raise "appoxy_rails only supports Rails 3+"
30
30
  else
31
31
  require_relative 'railtie'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 28
9
- version: 0.0.28
8
+ - 29
9
+ version: 0.0.29
10
10
  platform: ruby
11
11
  authors:
12
12
  - Travis Reeder
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-03-24 00:00:00 -07:00
17
+ date: 2011-03-26 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency