stylus 0.7.2 → 1.0.0.beta
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -106
- data/lib/stylus/railtie.rb +2 -5
- data/lib/stylus/version.rb +1 -1
- data/spec/import_processor_spec.rb +1 -1
- data/spec/rails_spec.rb +1 -3
- data/spec/runtime_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -2
- data/spec/support/generators/tmp/app/controllers/posts_controller.rb +2 -0
- data/spec/support/generators/tmp/app/helpers/posts_helper.rb +2 -0
- data/spec/support/generators/tmp/config/routes.rb +0 -0
- data/spec/support/helpers.rb +11 -7
- metadata +13 -123
- data/.gitignore +0 -9
- data/.travis.yml +0 -9
- data/Gemfile +0 -4
- data/Rakefile +0 -8
- data/gemfiles/Gemfile-rails.3.1.x +0 -7
- data/spec/cases/compressed.css +0 -1
- data/spec/cases/implicit.css +0 -5
- data/spec/cases/import.css +0 -5
- data/spec/cases/nib.css +0 -5
- data/spec/cases/plugin.css +0 -5
- data/spec/cases/simple.css +0 -3
- data/spec/cases/stylesheet.css +0 -3
- data/spec/cases/variables.css +0 -3
- data/spec/stylesheets/compressed.styl +0 -2
- data/spec/stylesheets/debug.styl +0 -2
- data/spec/stylesheets/implicit.styl +0 -2
- data/spec/stylesheets/import.styl +0 -4
- data/spec/stylesheets/indexed/first_dep.styl +0 -2
- data/spec/stylesheets/indexed/index.styl +0 -2
- data/spec/stylesheets/indexed/second_dep.styl +0 -3
- data/spec/stylesheets/indexed_nested_import.styl +0 -1
- data/spec/stylesheets/indexed_recursive_import.styl +0 -1
- data/spec/stylesheets/mixins/nested.styl +0 -1
- data/spec/stylesheets/mixins/vendor.styl +0 -4
- data/spec/stylesheets/nested_import.styl +0 -1
- data/spec/stylesheets/nib.styl +0 -2
- data/spec/stylesheets/plugin.styl +0 -4
- data/spec/stylesheets/simple.styl +0 -2
- data/spec/stylesheets/stylesheet.styl +0 -3
- data/spec/stylesheets/variables.styl +0 -2
- data/spec/stylesheets/variables_definition.styl +0 -1
- data/spec/stylesheets/variables_usage.styl +0 -2
- data/stylus.gemspec +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80a0a2eb1e730afce9c0d8550d6f054bcf527bf2
|
4
|
+
data.tar.gz: b9e7866ea1cd4d1a9c35fe0f538e7735d698a00c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8047e3c4724c6034a517b311d0162f5dbb2dbb13d4c7f3f8566c9efcb02a5804e754b27a78c7891c0272cdd9ac7a3d3a082666ba0908c2d094161f61e5b6176b
|
7
|
+
data.tar.gz: a54f418ebd95c9e2d8d8dc0a89230abff8783cb265177fe3512534e79fd17a443f2e93868644b4dad6f2140224291fd3b80b229ff403ee0d6933987f7fa1d1b4
|
data/CHANGELOG.md
CHANGED
@@ -1,108 +1,5 @@
|
|
1
|
-
|
1
|
+
### HEAD - 1.0.0
|
2
2
|
|
3
|
-
|
3
|
+
* Rails 4+ and Ruby 1.9.x/2.0.0 support.
|
4
4
|
|
5
|
-
|
6
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.6.2...v0.7.0)
|
7
|
-
|
8
|
-
* `ImportProcessor` tracks `@import` definitions recursively.
|
9
|
-
* `Tilt` shouldn't a hard dependency.
|
10
|
-
|
11
|
-
### 0.6.2 (2012-06-01)
|
12
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.6.1...v0.6.2)
|
13
|
-
|
14
|
-
* Fixes namespacing clashing between `Stylus::Sprockets` and the `Sprockets` modules.
|
15
|
-
|
16
|
-
### 0.6.1 (2012-05-31) (yanked)
|
17
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.6.0...v0.6.1)
|
18
|
-
|
19
|
-
* Skips `Sprockets::FileNotFound` errors on the ImportProcessor.
|
20
|
-
|
21
|
-
### 0.6.0 (2012-05-20)
|
22
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.5.1...v0.6.0)
|
23
|
-
|
24
|
-
* Sprockets configuration extracted to `Stylus.setup` - you can use this on a Sinatra or Rack app;
|
25
|
-
* When `node` isn't available, Stylus will raise a exception of it's own instead of blowing up inside ExecJS.
|
26
|
-
|
27
|
-
### 0.5.1 (2012-05-07)
|
28
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.5.0...v0.5.1)
|
29
|
-
|
30
|
-
* Fixes the `ImportProcessor` so it doesn't evaluates the stylesheets.
|
31
|
-
|
32
|
-
### 0.5.0 (2012-03-26)
|
33
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.4.2...v0.5.0)
|
34
|
-
|
35
|
-
* Rewrite of the Railtie initializers to match 3.2 loading order;
|
36
|
-
* Only folders ending with `stylesheets` will be copied over to `Stylus.paths`.
|
37
|
-
|
38
|
-
### 0.4.2 (2012-03-24)
|
39
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.4.1...v0.4.2)
|
40
|
-
|
41
|
-
* Tells Rails to always run the Railtie initializer.
|
42
|
-
|
43
|
-
### 0.4.1 (2012-01-06)
|
44
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.4.0...v0.4.1)
|
45
|
-
|
46
|
-
* Skips Sprockets configuration if `config.assets.enabled` isn't true.
|
47
|
-
|
48
|
-
### 0.4.0 (2011-11-23)
|
49
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.3.0...v0.4.0)
|
50
|
-
|
51
|
-
* `@import` directives will be added as dependencies to Sprockets (based on the work by @metaskills on the less-rails).
|
52
|
-
|
53
|
-
### 0.3.0 (2011-10-17)
|
54
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.2.2...v0.3.0)
|
55
|
-
|
56
|
-
* This gem now uses the [stylus-source](https://github.com/railsjedi/ruby-stylus-source) gem to bundle the latest [NPM](http://search.npmjs.org/#/stylus) package of Stylus, so there's no setup required to install stylus via `npm install` or cloning it into the `node_modules` folder - Thanks @railsjedi.
|
57
|
-
* Added a `debug` configuration option, that enables the `linenos` and `firebug` flags on Stylus. Inside Rails, this configuration option will be copied from the `config.assets.debug`;
|
58
|
-
* Added a global array `import` that handles other stylesheets to include on every compilation process;
|
59
|
-
* Added a shorthand `Stylus.nib = true` to use the plugin and import it on every processed stylesheet.
|
60
|
-
|
61
|
-
### 0.2.2 (2011-09-14)
|
62
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.2.1...v0.2.2)
|
63
|
-
|
64
|
-
* ExecJS 1.2.5+ compatibility: Using a custom `ExternalRuntime`.
|
65
|
-
|
66
|
-
### 0.2.1 (2011-08-30)
|
67
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.2.0...v0.2.1)
|
68
|
-
|
69
|
-
* Removed a hack for a Sprockets loading order issue;
|
70
|
-
* Testing on 1.9.2, REE and Rubinius thanks to [Travis CI](travis-ci.org/#!/lucasmazza/ruby-stylus);
|
71
|
-
* Enables compression if `Sprockets` is configured to do so;
|
72
|
-
* Added Rails and Sprockets tests.
|
73
|
-
|
74
|
-
### 0.2.0 (2011-07-14)
|
75
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.1.2...v0.2.0)
|
76
|
-
|
77
|
-
* Replaced `stylus:install` with proper generators for Rails 3.1 - now all hooks for the `stylesheet_engine` will generate `.styl` files.
|
78
|
-
|
79
|
-
### 0.1.2 (2011-07-08)
|
80
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.1.1...v0.1.2)
|
81
|
-
|
82
|
-
* Fixes missing `require` for Rails apps.
|
83
|
-
|
84
|
-
### 0.1.1 (2011-07-07)
|
85
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.1.0...v0.1.1)
|
86
|
-
|
87
|
-
* Requiring `stylus/tilt` outside the `Railtie`, by [DAddYE](https://github.com/DAddYE).
|
88
|
-
|
89
|
-
### 0.1.0 (2011-06-21)
|
90
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.0.3...v0.1.0)
|
91
|
-
|
92
|
-
* Support for Stylus plugins via `Stylus.use`.
|
93
|
-
* Docco documentation live at [http://lucasmazza.github.com/ruby-stylus](http://lucasmazza.github.com/ruby-stylus).
|
94
|
-
|
95
|
-
|
96
|
-
### 0.0.3 (2011-06-06)
|
97
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.0.2...v0.0.3)
|
98
|
-
|
99
|
-
* Bugfix: stylus now works in production environment.
|
100
|
-
|
101
|
-
### 0.0.2 (2011-06-02)
|
102
|
-
[Compare view](https://github.com/lucasmazza/ruby-stylus/compare/v0.0.1...v0.0.2)
|
103
|
-
|
104
|
-
* Added a Rails Generator called `stylus:install` to copy sample files on your `lib/` folder.
|
105
|
-
* Added `Stylus.convert` to parse CSS back to Stylus syntax.
|
106
|
-
|
107
|
-
### 0.0.1 (2011-05-18)
|
108
|
-
* Initial Release.
|
5
|
+
Please check [0-7-stable](https://github.com/lucasmazza/ruby-stylus/blob/0-7-stable/CHANGELOG.md) for previous changes.
|
data/lib/stylus/railtie.rb
CHANGED
@@ -29,11 +29,8 @@ module Stylus
|
|
29
29
|
# skipped.
|
30
30
|
#
|
31
31
|
# Returns nothing.
|
32
|
-
|
33
|
-
|
34
|
-
if config.enabled
|
35
|
-
Stylus.setup(app.assets, config)
|
36
|
-
end
|
32
|
+
config.assets.configure do |env|
|
33
|
+
Stylus.setup(env, config.assets)
|
37
34
|
end
|
38
35
|
end
|
39
36
|
end
|
data/lib/stylus/version.rb
CHANGED
data/spec/rails_spec.rb
CHANGED
@@ -42,8 +42,6 @@ describe 'Rails integration' do
|
|
42
42
|
end
|
43
43
|
|
44
44
|
it 'loads the app normally even when the asset pipeline is disabled' do
|
45
|
-
|
46
|
-
create_app(:enabled => false)
|
47
|
-
}.to_not raise_error
|
45
|
+
pending "TODO: supress the sprockets-rails railtie to test this."
|
48
46
|
end
|
49
47
|
end
|
data/spec/runtime_spec.rb
CHANGED
@@ -2,10 +2,10 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe Stylus::Runtime do
|
4
4
|
it "raises an error if the runtime isn't available" do
|
5
|
-
Stylus.stub(:runtime) {
|
5
|
+
Stylus.stub(:runtime) { double("An unavailable Runtime", :available? => false) }
|
6
6
|
|
7
7
|
expect {
|
8
8
|
Stylus.version
|
9
9
|
}.to raise_error RuntimeError, %r[The Node.JS runtime isn't available to Stylus.]
|
10
10
|
end
|
11
|
-
end
|
11
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
require 'rails'
|
2
|
-
require 'rails/test_help'
|
3
2
|
require 'rails/generators/test_case'
|
4
3
|
|
5
4
|
require 'active_support/railtie'
|
6
5
|
require 'action_controller/railtie'
|
7
6
|
require 'sprockets'
|
8
|
-
require 'sprockets/
|
7
|
+
require 'sprockets/rails'
|
9
8
|
require 'stylus'
|
10
9
|
|
11
10
|
require 'active_support/core_ext/class/attribute_accessors'
|
File without changes
|
data/spec/support/helpers.rb
CHANGED
@@ -10,13 +10,17 @@ module Helpers
|
|
10
10
|
Rails.application = nil
|
11
11
|
|
12
12
|
Class.new(Rails::Application).tap do |app|
|
13
|
-
|
14
|
-
assets
|
15
|
-
|
16
|
-
|
17
|
-
assets.
|
18
|
-
|
19
|
-
|
13
|
+
config = app.config.assets
|
14
|
+
assets = app.assets
|
15
|
+
config.paths = []
|
16
|
+
|
17
|
+
assets.cache = ActiveSupport::Cache.lookup_store(:null_store)
|
18
|
+
config.compress = options[:compress]
|
19
|
+
config.debug = options[:debug]
|
20
|
+
config.paths << fixture_root
|
21
|
+
config.paths << File.expand_path('javascripts')
|
22
|
+
|
23
|
+
app.config.eager_load = false
|
20
24
|
app.config.active_support.deprecation = :log
|
21
25
|
app.initialize!
|
22
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stylus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lucas Mazza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|
@@ -38,62 +38,6 @@ dependencies:
|
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '2.0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '2.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: railties
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '3.2'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '3.2'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: tzinfo
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - '>='
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - '>='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: yajl-ruby
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - '>='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - '>='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
41
|
description: Bridge library to compile .styl stylesheets from ruby code.
|
98
42
|
email:
|
99
43
|
- luc4smazza@gmail.com
|
@@ -101,34 +45,21 @@ executables: []
|
|
101
45
|
extensions: []
|
102
46
|
extra_rdoc_files: []
|
103
47
|
files:
|
104
|
-
- .gitignore
|
105
|
-
- .travis.yml
|
106
48
|
- CHANGELOG.md
|
107
|
-
- Gemfile
|
108
49
|
- LICENSE
|
109
50
|
- README.md
|
110
|
-
- Rakefile
|
111
|
-
- gemfiles/Gemfile-rails.3.1.x
|
112
51
|
- lib/rails/generators/stylus/assets/assets_generator.rb
|
113
52
|
- lib/rails/generators/stylus/assets/templates/stylesheet.css.styl
|
114
53
|
- lib/rails/generators/stylus/scaffold/scaffold_generator.rb
|
115
|
-
- lib/stylus.rb
|
116
54
|
- lib/stylus/import_processor.rb
|
117
55
|
- lib/stylus/railtie.rb
|
118
|
-
- lib/stylus/runtime.rb
|
119
56
|
- lib/stylus/runtime/compiler.js
|
120
57
|
- lib/stylus/runtime/runner.js
|
58
|
+
- lib/stylus/runtime.rb
|
121
59
|
- lib/stylus/sprockets.rb
|
122
60
|
- lib/stylus/tilt.rb
|
123
61
|
- lib/stylus/version.rb
|
124
|
-
-
|
125
|
-
- spec/cases/implicit.css
|
126
|
-
- spec/cases/import.css
|
127
|
-
- spec/cases/nib.css
|
128
|
-
- spec/cases/plugin.css
|
129
|
-
- spec/cases/simple.css
|
130
|
-
- spec/cases/stylesheet.css
|
131
|
-
- spec/cases/variables.css
|
62
|
+
- lib/stylus.rb
|
132
63
|
- spec/generators/assets_generator_spec.rb
|
133
64
|
- spec/generators/controller_generator_spec.rb
|
134
65
|
- spec/generators/scaffold_generator_spec.rb
|
@@ -137,31 +68,14 @@ files:
|
|
137
68
|
- spec/runtime_spec.rb
|
138
69
|
- spec/spec_helper.rb
|
139
70
|
- spec/sprockets_spec.rb
|
140
|
-
- spec/stylesheets/compressed.styl
|
141
|
-
- spec/stylesheets/debug.styl
|
142
|
-
- spec/stylesheets/implicit.styl
|
143
|
-
- spec/stylesheets/import.styl
|
144
|
-
- spec/stylesheets/indexed/first_dep.styl
|
145
|
-
- spec/stylesheets/indexed/index.styl
|
146
|
-
- spec/stylesheets/indexed/second_dep.styl
|
147
|
-
- spec/stylesheets/indexed_nested_import.styl
|
148
|
-
- spec/stylesheets/indexed_recursive_import.styl
|
149
|
-
- spec/stylesheets/mixins/nested.styl
|
150
|
-
- spec/stylesheets/mixins/vendor.styl
|
151
|
-
- spec/stylesheets/nested_import.styl
|
152
|
-
- spec/stylesheets/nib.styl
|
153
|
-
- spec/stylesheets/plugin.styl
|
154
|
-
- spec/stylesheets/simple.styl
|
155
|
-
- spec/stylesheets/stylesheet.styl
|
156
|
-
- spec/stylesheets/variables.styl
|
157
|
-
- spec/stylesheets/variables_definition.styl
|
158
|
-
- spec/stylesheets/variables_usage.styl
|
159
71
|
- spec/stylus_spec.rb
|
160
72
|
- spec/support/generators/test_case.rb
|
73
|
+
- spec/support/generators/tmp/app/controllers/posts_controller.rb
|
74
|
+
- spec/support/generators/tmp/app/helpers/posts_helper.rb
|
75
|
+
- spec/support/generators/tmp/config/routes.rb
|
161
76
|
- spec/support/helpers.rb
|
162
77
|
- spec/support/matchers.rb
|
163
78
|
- spec/tilt_spec.rb
|
164
|
-
- stylus.gemspec
|
165
79
|
homepage: https://github.com/lucasmazza/ruby-stylus
|
166
80
|
licenses: []
|
167
81
|
metadata: {}
|
@@ -176,24 +90,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
176
90
|
version: '0'
|
177
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
92
|
requirements:
|
179
|
-
- - '
|
93
|
+
- - '>'
|
180
94
|
- !ruby/object:Gem::Version
|
181
|
-
version:
|
95
|
+
version: 1.3.1
|
182
96
|
requirements: []
|
183
97
|
rubyforge_project:
|
184
|
-
rubygems_version: 2.0.
|
98
|
+
rubygems_version: 2.0.2
|
185
99
|
signing_key:
|
186
100
|
specification_version: 4
|
187
101
|
summary: Ruby Stylus Compiler
|
188
102
|
test_files:
|
189
|
-
- spec/cases/compressed.css
|
190
|
-
- spec/cases/implicit.css
|
191
|
-
- spec/cases/import.css
|
192
|
-
- spec/cases/nib.css
|
193
|
-
- spec/cases/plugin.css
|
194
|
-
- spec/cases/simple.css
|
195
|
-
- spec/cases/stylesheet.css
|
196
|
-
- spec/cases/variables.css
|
197
103
|
- spec/generators/assets_generator_spec.rb
|
198
104
|
- spec/generators/controller_generator_spec.rb
|
199
105
|
- spec/generators/scaffold_generator_spec.rb
|
@@ -202,27 +108,11 @@ test_files:
|
|
202
108
|
- spec/runtime_spec.rb
|
203
109
|
- spec/spec_helper.rb
|
204
110
|
- spec/sprockets_spec.rb
|
205
|
-
- spec/stylesheets/compressed.styl
|
206
|
-
- spec/stylesheets/debug.styl
|
207
|
-
- spec/stylesheets/implicit.styl
|
208
|
-
- spec/stylesheets/import.styl
|
209
|
-
- spec/stylesheets/indexed/first_dep.styl
|
210
|
-
- spec/stylesheets/indexed/index.styl
|
211
|
-
- spec/stylesheets/indexed/second_dep.styl
|
212
|
-
- spec/stylesheets/indexed_nested_import.styl
|
213
|
-
- spec/stylesheets/indexed_recursive_import.styl
|
214
|
-
- spec/stylesheets/mixins/nested.styl
|
215
|
-
- spec/stylesheets/mixins/vendor.styl
|
216
|
-
- spec/stylesheets/nested_import.styl
|
217
|
-
- spec/stylesheets/nib.styl
|
218
|
-
- spec/stylesheets/plugin.styl
|
219
|
-
- spec/stylesheets/simple.styl
|
220
|
-
- spec/stylesheets/stylesheet.styl
|
221
|
-
- spec/stylesheets/variables.styl
|
222
|
-
- spec/stylesheets/variables_definition.styl
|
223
|
-
- spec/stylesheets/variables_usage.styl
|
224
111
|
- spec/stylus_spec.rb
|
225
112
|
- spec/support/generators/test_case.rb
|
113
|
+
- spec/support/generators/tmp/app/controllers/posts_controller.rb
|
114
|
+
- spec/support/generators/tmp/app/helpers/posts_helper.rb
|
115
|
+
- spec/support/generators/tmp/config/routes.rb
|
226
116
|
- spec/support/helpers.rb
|
227
117
|
- spec/support/matchers.rb
|
228
118
|
- spec/tilt_spec.rb
|
data/.gitignore
DELETED
data/.travis.yml
DELETED
data/Gemfile
DELETED
data/Rakefile
DELETED
data/spec/cases/compressed.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
body{padding:5px}
|
data/spec/cases/implicit.css
DELETED
data/spec/cases/import.css
DELETED
data/spec/cases/nib.css
DELETED
data/spec/cases/plugin.css
DELETED
data/spec/cases/simple.css
DELETED
data/spec/cases/stylesheet.css
DELETED
data/spec/cases/variables.css
DELETED
data/spec/stylesheets/debug.styl
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
@import 'indexed'
|
@@ -1 +0,0 @@
|
|
1
|
-
@import 'indexed_nested_import'
|
@@ -1 +0,0 @@
|
|
1
|
-
@import 'mixins/vendor'
|
@@ -1 +0,0 @@
|
|
1
|
-
@import 'mixins/nested'
|
data/spec/stylesheets/nib.styl
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
the_color = #990000
|
data/stylus.gemspec
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require "stylus/version"
|
4
|
-
|
5
|
-
Gem::Specification.new do |s|
|
6
|
-
s.name = "stylus"
|
7
|
-
s.version = Stylus::VERSION
|
8
|
-
s.platform = Gem::Platform::RUBY
|
9
|
-
s.authors = ["Lucas Mazza"]
|
10
|
-
s.email = ["luc4smazza@gmail.com"]
|
11
|
-
s.homepage = "https://github.com/lucasmazza/ruby-stylus"
|
12
|
-
s.summary = %q{Ruby Stylus Compiler}
|
13
|
-
s.description = %q{Bridge library to compile .styl stylesheets from ruby code.}
|
14
|
-
|
15
|
-
s.add_dependency 'execjs'
|
16
|
-
s.add_dependency 'stylus-source'
|
17
|
-
s.add_development_dependency 'rspec', '~> 2.0'
|
18
|
-
s.add_development_dependency 'railties', '~> 3.2'
|
19
|
-
s.add_development_dependency 'tzinfo'
|
20
|
-
s.add_development_dependency 'yajl-ruby'
|
21
|
-
|
22
|
-
s.files = `git ls-files`.split("\n")
|
23
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
24
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
25
|
-
s.require_paths = ["lib"]
|
26
|
-
end
|