appoxy_rails 0.0.29 → 0.0.30

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/appoxy_rails.rb +1 -1
  2. metadata +3 -3
data/lib/appoxy_rails.rb CHANGED
@@ -22,7 +22,7 @@ module Appoxy
22
22
  end
23
23
 
24
24
 
25
- if defined?(::Rails)
25
+ if defined?(::Rails) && defined?(::Rails::VERSION)
26
26
  # puts 'Rails=' + Rails.inspect
27
27
  # puts 'vers=' + Rails::VERSION::MAJOR.inspect
28
28
  if ::Rails::VERSION::MAJOR == 2
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 29
9
- version: 0.0.29
8
+ - 30
9
+ version: 0.0.30
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-26 00:00:00 -07:00
17
+ date: 2011-03-27 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency