stylus 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/railtie.rb +2 -1
- data/lib/stylus/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
## Changelog
|
2
2
|
|
3
|
+
### 0.1.2 (2001-07-08)
|
4
|
+
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.1.1...v0.1.2)
|
5
|
+
|
6
|
+
* Fixes missing `require` for Rails apps.
|
7
|
+
|
3
8
|
### 0.1.1 (2001-07-07)
|
4
9
|
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.1.0...v0.1.1)
|
5
10
|
|
data/lib/stylus/railtie.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
### Stylus Railtie
|
2
2
|
# `Railtie` responsible for injecting `stylus` inside the
|
3
3
|
# Rails application and the `Sprockets` Asset Pipeline.
|
4
|
-
|
5
4
|
module Stylus
|
6
5
|
class Railtie < ::Rails::Railtie
|
7
6
|
|
@@ -12,6 +11,8 @@ module Stylus
|
|
12
11
|
# Loading `Sprockets` before Rails so we can register our own Engine.
|
13
12
|
require 'sprockets'
|
14
13
|
require 'sprockets/engines'
|
14
|
+
require 'stylus/tilt'
|
15
|
+
|
15
16
|
Sprockets.register_engine '.styl', Tilt::StylusTemplate
|
16
17
|
end
|
17
18
|
|
data/lib/stylus/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stylus
|
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-07-
|
18
|
+
date: 2011-07-08 00:00:00 -03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|