compass-rails 1.0.0.rc.2 → 1.0.0.rc.3

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.
@@ -12,7 +12,8 @@ module CompassRails
12
12
  extend self
13
13
 
14
14
  def load_rails
15
- return if defined?(::Rails) && !::Rails.application.nil?
15
+ return if defined?(::Rails) && ::Rails.respond_to?(:application) && !::Rails.application.nil?
16
+
16
17
  rails_config_path = Dir.pwd
17
18
  until File.exists?(File.join(rails_config_path, 'config', 'application.rb')) do
18
19
  raise 'Rails application not found' if rails_config_path == '/'
@@ -1,5 +1,5 @@
1
1
  module CompassRails
2
2
  unless defined?(::CompassRails::VERSION)
3
- VERSION = "1.0.0.rc.2"
3
+ VERSION = "1.0.0.rc.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc.2
4
+ version: 1.0.0.rc.3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-02-02 00:00:00.000000000 Z
13
+ date: 2012-02-16 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: compass
17
- requirement: &70117286090700 !ruby/object:Gem::Requirement
17
+ requirement: &70279494124840 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: 0.12.rc.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70117286090700
25
+ version_requirements: *70279494124840
26
26
  description: Integrate Compass into Rails 2.3 and up.
27
27
  email:
28
28
  - jetviper21@gmail.com
@@ -87,9 +87,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
87
  - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
- segments:
91
- - 0
92
- hash: -2506839191250395635
93
90
  required_rubygems_version: !ruby/object:Gem::Requirement
94
91
  none: false
95
92
  requirements:
@@ -98,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
95
  version: 1.3.1
99
96
  requirements: []
100
97
  rubyforge_project:
101
- rubygems_version: 1.8.15
98
+ rubygems_version: 1.8.10
102
99
  signing_key:
103
100
  specification_version: 3
104
101
  summary: Integrate Compass into Rails 2.3 and up.