sassc 1.5.0 → 1.5.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/README.md +1 -0
- data/lib/sassc/version.rb +1 -1
- data/lib/tasks/libsass.rb +10 -9
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 400e2204f0a92e520fb185afaa0fd63514065b2b
|
|
4
|
+
data.tar.gz: 1b6c396aaf27bbd1823245d10c544ae9f8a82180
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8fb262c7f5bf9aa3f1dc4ee6fdee6e9e65dcc8e839257089abb3c449d3b55dfb3c6a621bd421538ffed5cb79e59c8c9ae7cfd8ff96c9e94c5215fe538a40702
|
|
7
|
+
data.tar.gz: 646e9431d13e7bff22f1209193ab0a5c1f63ddafd1aaf36318719c1a6d7009039de1ff00fedf1ed78d356b4bbdb3497bdf1e7896087679274b95ba420c9ffab0
|
data/README.md
CHANGED
|
@@ -22,6 +22,7 @@ Additionally, you can use `SassC::Sass2Scss` to convert Sass syntax to Scss synt
|
|
|
22
22
|
|
|
23
23
|
- **1.5.0**
|
|
24
24
|
- Add support for inline source maps
|
|
25
|
+
- Fix compilation bug (issue #12[](https://github.com/bolandrm/sassc-ruby/issues/12))
|
|
25
26
|
- **1.4.0**
|
|
26
27
|
- Add support for line number comments
|
|
27
28
|
- **1.3.0**
|
data/lib/sassc/version.rb
CHANGED
data/lib/tasks/libsass.rb
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
namespace :libsass do
|
|
2
2
|
desc "Compile libsass"
|
|
3
|
-
task compile
|
|
4
|
-
|
|
5
|
-
file "ext/libsass/Makefile" do
|
|
6
|
-
sh "git submodule update --init"
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
file "ext/libsass/lib/libsass.so" => "ext/libsass/Makefile" do
|
|
10
|
-
libsass_path = ""
|
|
3
|
+
task :compile do
|
|
11
4
|
if Dir.pwd.end_with?('/ext')
|
|
12
5
|
libsass_path = "libsass"
|
|
13
6
|
else
|
|
@@ -15,7 +8,15 @@ namespace :libsass do
|
|
|
15
8
|
end
|
|
16
9
|
|
|
17
10
|
cd libsass_path do
|
|
18
|
-
|
|
11
|
+
Rake::Task["lib/libsass.so"].invoke
|
|
19
12
|
end
|
|
20
13
|
end
|
|
14
|
+
|
|
15
|
+
file "Makefile" do
|
|
16
|
+
sh "git submodule update --init"
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
file "lib/libsass.so" => "Makefile" do
|
|
20
|
+
sh 'make lib/libsass.so LDFLAGS="-Wall -O2"'
|
|
21
|
+
end
|
|
21
22
|
end
|
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: 1.5.
|
|
4
|
+
version: 1.5.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: 2015-07-
|
|
11
|
+
date: 2015-07-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|