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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1ad71859d298ef38f1c41dee1db6c19a8e94e53
4
- data.tar.gz: 6ac1b2c1a799e0cb0ada139f2c3fc7555e18eb9f
3
+ metadata.gz: 3143ed4c3d22651c72eff18132d976c0278c1e77
4
+ data.tar.gz: f71338233fbdd54b7001c59f13406ec0f94b790f
5
5
  SHA512:
6
- metadata.gz: 309dd018adc37c9ed24a8bd34491fd1be0482541902680c1f53767862977d27be9dbe09cf927cc5d2a1efafac24ea5deb45227bfafc09f9ae5298b51b15391d0
7
- data.tar.gz: 83879a9eeeb3ea92f294dd4f0dd040021a4b2e3a0887a0f6a280cf819c04d95190456607f756335e9172db5206198d1497359bed83c2479cc512e2cdf6135037
6
+ metadata.gz: 5e8041a14897eee25d491204fd1b089828e9f6c736e0a0a3eba5cab79a2813ab4b55ce647fcee8f3cde07bb3fa4758bb01c74e8374141b3d2cd011662e12e46a
7
+ data.tar.gz: b54395da5604a276b5c5101cb7a9a604ac8a8bb814af0595062cf44ff4d062beb81d3cf23d808be31ed73c2204c5461ea6a8b3cccc238baf644ef8b70dfa0c66
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ - 2.1.0
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
+ [![Build Status](https://travis-ci.org/lloeki/sprockets-less.svg?branch=master)](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`._
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module Less
3
- VERSION = '0.6.0'
3
+ VERSION = '0.6.1'
4
4
  end
5
5
  end
@@ -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}\n"
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.0
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-01-20 00:00:00.000000000 Z
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.0
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: