sassc-rails 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -0
- data/lib/sassc/rails/importer.rb +1 -2
- data/lib/sassc/rails/version.rb +1 -1
- data/sassc-rails.gemspec +1 -1
- data/test/dummy/app/assets/stylesheets/imports_test.scss +1 -0
- data/test/dummy/app/assets/stylesheets/partials/_explicit_extension_import.foo +3 -0
- data/test/sassc_rails_test.rb +1 -0
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae97d3f35dca444f3fc0b4ad70778d255877d25d
|
4
|
+
data.tar.gz: 2dfda9e9b31a9934cad0793cd781573180485fb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc12198915c971167266c0a17dc451698b3a96e1de117c69f924fed2735a8f81ca45366f1e36875c0c30736a5f8eb12a2b60c1dc17d6063a3bfe33e7e3e138f0
|
7
|
+
data.tar.gz: 5a9895f07a9c5adc4b5662525a8b5fbe226248db004e0b6b8fc14fc9353659eae7939b344012c5a60c41cda1e0d852b581269ec352d9d17e8bdb28cd8408cfa6
|
data/README.md
CHANGED
@@ -24,6 +24,13 @@ This should essentially be a drop in alternative to [sass-rails](https://github.
|
|
24
24
|
|
25
25
|
__Note: This is a new project, please report any issues you come across!__
|
26
26
|
|
27
|
+
|
28
|
+
## Libsass Compatibility With Ruby Sass
|
29
|
+
|
30
|
+
For a look at the compatibility between Ruby Sass and Libsass, check this
|
31
|
+
[compatibility chart](http://sass-compatibility.github.io/) out.
|
32
|
+
|
33
|
+
|
27
34
|
## Installation
|
28
35
|
|
29
36
|
Add this line to your application's Gemfile:
|
@@ -37,6 +44,23 @@ And then execute:
|
|
37
44
|
$ bundle
|
38
45
|
|
39
46
|
|
47
|
+
## Deployment to Heroku
|
48
|
+
|
49
|
+
Due to Libsass compilation requirements, you upgrade to the
|
50
|
+
[Heroku Cedar-14 Stack](https://devcenter.heroku.com/articles/cedar-14-migration)
|
51
|
+
in order to successfully install this gem.
|
52
|
+
|
53
|
+
Upgrading to Cedar-14 is usually a painless process.
|
54
|
+
|
55
|
+
|
56
|
+
## Installing alongside a gem that depends on Sass-Rails
|
57
|
+
|
58
|
+
Libraries explicitly depending on Sass-Rails, such as ActiveAdmin, can cause
|
59
|
+
conflicts with installation of SassC-Rails. While we have no built-in solution
|
60
|
+
for this, please check out [this issue](https://github.com/bolandrm/sassc-rails/issues/6)
|
61
|
+
for a workaround.
|
62
|
+
|
63
|
+
|
40
64
|
## Contributing
|
41
65
|
|
42
66
|
1. Fork it ( https://github.com/[my-github-username]/sassc-rails/fork )
|
@@ -46,6 +70,7 @@ And then execute:
|
|
46
70
|
1. Push to the branch (`git push origin my-new-feature`)
|
47
71
|
1. Create a new Pull Request
|
48
72
|
|
73
|
+
|
49
74
|
## Credits
|
50
75
|
|
51
76
|
This gem is based on [sass-rails](https://github.com/rails/sass-rails), and
|
data/lib/sassc/rails/importer.rb
CHANGED
data/lib/sassc/rails/version.rb
CHANGED
data/sassc-rails.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
# unfortunately we require sass for now, so that we can
|
27
27
|
# reuse portions of the sprockets template
|
28
28
|
spec.add_dependency 'sass'
|
29
|
-
spec.add_dependency "sassc", "~> 1.
|
29
|
+
spec.add_dependency "sassc", "~> 1.2.0"
|
30
30
|
|
31
31
|
spec.add_dependency "tilt"
|
32
32
|
|
data/test/sassc_rails_test.rb
CHANGED
@@ -126,6 +126,7 @@ class SassRailsTest < MiniTest::Unit::TestCase
|
|
126
126
|
assert_match /top-level/, css_output
|
127
127
|
assert_match /partial-sass/, css_output
|
128
128
|
assert_match /partial-scss/, css_output
|
129
|
+
assert_match /partial-foo/, css_output
|
129
130
|
assert_match /sub-folder-relative-sass/, css_output
|
130
131
|
assert_match /sub-folder-relative-scss/, css_output
|
131
132
|
assert_match /not-a-partial/, css_output
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sassc-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
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-05-
|
11
|
+
date: 2015-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.
|
89
|
+
version: 1.2.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.
|
96
|
+
version: 1.2.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: tilt
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,6 +182,7 @@ files:
|
|
182
182
|
- test/dummy/app/assets/stylesheets/helpers_test.scss
|
183
183
|
- test/dummy/app/assets/stylesheets/imports_test.scss
|
184
184
|
- test/dummy/app/assets/stylesheets/partials/_css_sass_import.sass
|
185
|
+
- test/dummy/app/assets/stylesheets/partials/_explicit_extension_import.foo
|
185
186
|
- test/dummy/app/assets/stylesheets/partials/_sass_import.sass
|
186
187
|
- test/dummy/app/assets/stylesheets/partials/_scss_import.scss
|
187
188
|
- test/dummy/app/assets/stylesheets/partials/_without_css_ext.scss
|
@@ -454,6 +455,7 @@ test_files:
|
|
454
455
|
- test/dummy/app/assets/stylesheets/helpers_test.scss
|
455
456
|
- test/dummy/app/assets/stylesheets/imports_test.scss
|
456
457
|
- test/dummy/app/assets/stylesheets/partials/_css_sass_import.sass
|
458
|
+
- test/dummy/app/assets/stylesheets/partials/_explicit_extension_import.foo
|
457
459
|
- test/dummy/app/assets/stylesheets/partials/_sass_import.sass
|
458
460
|
- test/dummy/app/assets/stylesheets/partials/_scss_import.scss
|
459
461
|
- test/dummy/app/assets/stylesheets/partials/_without_css_ext.scss
|