stylus_rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## Changelog
2
2
 
3
+ ### 0.1.2 (2011-04-10)
4
+ [Compare view](http://github.com/lucasmazza/stylus_rails/compare/v0.1.1...v0.1.2)
5
+
6
+ * Bug fixes on `Stylus::Railtie`.
7
+
3
8
  ### 0.1.1 (2011-03-29)
4
9
  [Compare view](http://github.com/lucasmazza/stylus_rails/compare/v0.1.0...v0.1.1)
5
10
 
@@ -7,11 +7,14 @@ module Stylus
7
7
 
8
8
  initializer "stylus.reloader" do
9
9
  Stylus.root = File.join(Rails.public_path,"stylesheets")
10
- config.to_prepare do
11
- if `which stylus` && $?.success?
12
- Stylus.compile
13
- else
14
- Rails.logger.warn(Stylus.warning)
10
+ Stylus.compile_directory ||= File.join(Rails.public_path, 'stylesheets')
11
+ if !$rails_rake_task
12
+ config.to_prepare do
13
+ if `which stylus` && $?.success?
14
+ Stylus.compile
15
+ else
16
+ Rails.logger.warn(Stylus.warning)
17
+ end
15
18
  end
16
19
  end
17
20
  end
@@ -1,3 +1,3 @@
1
1
  module Stylus
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stylus_rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lucas Mazza
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-29 00:00:00 -03:00
18
+ date: 2011-04-10 00:00:00 -03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  requirements: []
101
101
 
102
102
  rubyforge_project:
103
- rubygems_version: 1.6.1
103
+ rubygems_version: 1.4.2
104
104
  signing_key:
105
105
  specification_version: 3
106
106
  summary: Stylus stylesheets for Ruby