sassc 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/lib/sassc/version.rb +1 -1
- data/sassc.gemspec +1 -1
- data/test/engine_test.rb +5 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e6cc1e890efb61b8b1a8f6668f8630f29c2e1b82a1f40a3b4565ce2dca663ae
|
4
|
+
data.tar.gz: 966753477021819b719c5f214429f72fdb1011fe7c573e6211d26cbc038c51a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65a6849e533cecd8634a556fe4f55fb21a6b8fe3763685a9fd10199dc900c4ae41f52a950301757842a513aab8e3da08901f7a25953db673f4f3c72baa57ed68
|
7
|
+
data.tar.gz: 85c9a25f4f05d5d41fa7ace63b1917be6987adaf41e61c77f57f0336f81c164524b9b29ebe194e14afb745a5e89bea9f1bd1bac799a4cc3f7a8befd684d55b9b
|
data/CHANGELOG.md
CHANGED
data/lib/sassc/version.rb
CHANGED
data/sassc.gemspec
CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_development_dependency "bundler"
|
33
33
|
|
34
34
|
spec.add_dependency "rake"
|
35
|
-
spec.add_dependency "ffi", "~> 1.9
|
35
|
+
spec.add_dependency "ffi", "~> 1.9"
|
36
36
|
|
37
37
|
gem_dir = File.expand_path(File.dirname(__FILE__)) + "/"
|
38
38
|
`git submodule --quiet foreach pwd`.split($\).each do |submodule_path|
|
data/test/engine_test.rb
CHANGED
@@ -270,6 +270,11 @@ CSS
|
|
270
270
|
assert_equal input.encoding, output.encoding
|
271
271
|
end
|
272
272
|
|
273
|
+
def test_handling_of_frozen_strings
|
274
|
+
output = Engine.new("body { background-color: red; }".freeze).render
|
275
|
+
assert_equal output, "body {\n background-color: red; }\n"
|
276
|
+
end
|
277
|
+
|
273
278
|
def test_import_plain_css
|
274
279
|
temp_file("test.css", ".something{color: red}")
|
275
280
|
expected_output = <<-CSS
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sassc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Boland
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.9
|
103
|
+
version: '1.9'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.9
|
110
|
+
version: '1.9'
|
111
111
|
description: Use libsass with Ruby!
|
112
112
|
email:
|
113
113
|
- ryan@tanookilabs.com
|