sassc 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c32a473d755804c243e9438910224409aa436dc2
4
- data.tar.gz: d300151abc8967d2bf817bc1765ce1b26f217b95
3
+ metadata.gz: 400e2204f0a92e520fb185afaa0fd63514065b2b
4
+ data.tar.gz: 1b6c396aaf27bbd1823245d10c544ae9f8a82180
5
5
  SHA512:
6
- metadata.gz: 18619250305dfe40a0f5ae90b7a04cfd5bfcd5d47f1488ed5938bbef28c9a6ee3ea678b7fbe089a4c3cb54b2aa1d1491138d18b581e2f723d622fa6c2df9e25d
7
- data.tar.gz: 90f3f763c9d4f9c3b7378ab985592685ce4be94d85355d20bbd23486bb5c06c7bb372851d72e9796d30cc0eb18a1965967f85e224e30bf0fa47c9559f8e8c7d4
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**
@@ -1,3 +1,3 @@
1
1
  module SassC
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.1"
3
3
  end
@@ -1,13 +1,6 @@
1
1
  namespace :libsass do
2
2
  desc "Compile libsass"
3
- task compile: "ext/libsass/lib/libsass.so"
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
- sh 'make lib/libsass.so LDFLAGS="-Wall -O2"'
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.0
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 00:00:00.000000000 Z
11
+ date: 2015-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake