sprockets-less 0.6.0 → 0.6.1
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/.travis.yml +4 -0
- data/README.md +2 -0
- data/lib/sprockets/less.rb +2 -2
- data/lib/sprockets/less/version.rb +1 -1
- data/spec/sprockets-less_spec.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3143ed4c3d22651c72eff18132d976c0278c1e77
|
4
|
+
data.tar.gz: f71338233fbdd54b7001c59f13406ec0f94b790f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e8041a14897eee25d491204fd1b089828e9f6c736e0a0a3eba5cab79a2813ab4b55ce647fcee8f3cde07bb3fa4758bb01c74e8374141b3d2cd011662e12e46a
|
7
|
+
data.tar.gz: b54395da5604a276b5c5101cb7a9a604ac8a8bb814af0595062cf44ff4d062beb81d3cf23d808be31ed73c2204c5461ea6a8b3cccc238baf644ef8b70dfa0c66
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
**Better Less integration with [Sprockets 2.x](http://github.com/sstephenson/sprockets)**
|
4
4
|
|
5
|
+
[](https://travis-ci.org/lloeki/sprockets-less)
|
6
|
+
|
5
7
|
When using Sprockets 2.x with Less you will eventually run into a pretty big issue. `//= require` directives will not allow Less mixins, variables, etc. to be shared between files. So you'll try to use `@import`, and that'll also blow up in your face. `sprockets-less` aims to fix this.
|
6
8
|
|
7
9
|
_Note: If you use Rails 3.1, you may want to use the [less-rails gem](http://github.com/rails/less-rails). But if you want to use Sprockets and Less anywhere else, like Sinatra, use `sprockets-less`._
|
data/lib/sprockets/less.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
+
require 'sprockets'
|
1
2
|
require 'sprockets/less/version'
|
2
3
|
require 'sprockets/less/template'
|
3
|
-
require 'sprockets/engines'
|
4
4
|
|
5
5
|
module Sprockets
|
6
6
|
module Less
|
@@ -21,4 +21,4 @@ module Sprockets
|
|
21
21
|
end
|
22
22
|
|
23
23
|
register_engine '.less', Less::LessTemplate
|
24
|
-
end
|
24
|
+
end
|
data/spec/sprockets-less_spec.rb
CHANGED
@@ -130,7 +130,7 @@ describe Sprockets::Less do
|
|
130
130
|
@assets.file 'main.css.less', "body {\n color: #00f;\n}"
|
131
131
|
|
132
132
|
asset = @env['main.css']
|
133
|
-
asset.to_s.should == "body{color:#00f}
|
133
|
+
asset.to_s.should == "body{color:#00f}"
|
134
134
|
Sprockets::Less.options.delete(:compress)
|
135
135
|
end
|
136
136
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprockets-less
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Loic Nageleisen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: less
|
@@ -102,6 +102,7 @@ extensions: []
|
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
104
|
- ".gitignore"
|
105
|
+
- ".travis.yml"
|
105
106
|
- Gemfile
|
106
107
|
- LICENSE
|
107
108
|
- README.md
|
@@ -136,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
137
|
version: '0'
|
137
138
|
requirements: []
|
138
139
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.2.
|
140
|
+
rubygems_version: 2.2.2
|
140
141
|
signing_key:
|
141
142
|
specification_version: 4
|
142
143
|
summary: The dynamic stylesheet language for the Sprockets asset pipeline.
|
@@ -145,4 +146,3 @@ test_files:
|
|
145
146
|
- spec/spec_helper.rb
|
146
147
|
- spec/sprockets-less_spec.rb
|
147
148
|
- spec/support/be_fresh_matcher.rb
|
148
|
-
has_rdoc:
|