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 +5 -0
- data/lib/stylus_rails/railtie.rb +8 -5
- data/lib/stylus_rails/version.rb +1 -1
- metadata +5 -5
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
|
|
data/lib/stylus_rails/railtie.rb
CHANGED
@@ -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
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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
|
data/lib/stylus_rails/version.rb
CHANGED
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:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.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-
|
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.
|
103
|
+
rubygems_version: 1.4.2
|
104
104
|
signing_key:
|
105
105
|
specification_version: 3
|
106
106
|
summary: Stylus stylesheets for Ruby
|