sassc-rails 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -2
- data/README.md +2 -0
- data/lib/rails/generators/sass_scaffold.rb +2 -2
- data/lib/sassc/rails/version.rb +1 -1
- data/sassc-rails.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7cca638ed47e5508424c1a2ff69600e773760f23a9484676466789ca656cc48
|
4
|
+
data.tar.gz: a2410a358fe7a231171c62501d37e7a64c89d5d0ed28fb18ab7e60e75ce4b393
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b47b30b6ad7e68791cfe3a868622957532c41bc843971262610046f6d5e8294e3ec489c44bfd37ee0335c5dc4b47d4e7722edeb6bc947a348b72c27e52fbde75
|
7
|
+
data.tar.gz: adafe0d353e8da6e56ea973ca4e0e5b178c816c4663a913581a268f7f9e6522149a1af15e62f4a34ce31354a7fdf45369f0298ef0c3c3120ae1825c890d1949d
|
data/.travis.yml
CHANGED
@@ -4,6 +4,10 @@ bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
|
|
4
4
|
|
5
5
|
script: "bundle exec rake test"
|
6
6
|
|
7
|
+
before_install:
|
8
|
+
- rvm @global do gem uninstall bundler -x
|
9
|
+
- gem install bundler --version '< 2'
|
10
|
+
|
7
11
|
gemfile:
|
8
12
|
- gemfiles/sprockets-rails_3_0.gemfile
|
9
13
|
- gemfiles/sprockets-rails_2_3.gemfile
|
@@ -13,9 +17,15 @@ gemfile:
|
|
13
17
|
- gemfiles/rails_5_2.gemfile
|
14
18
|
|
15
19
|
rvm:
|
16
|
-
- 2.4.
|
17
|
-
- 2.5.
|
20
|
+
- 2.4.6
|
21
|
+
- 2.5.5
|
22
|
+
- 2.6.3
|
18
23
|
- jruby
|
19
24
|
|
25
|
+
matrix:
|
26
|
+
allow_failures:
|
27
|
+
- gemfile: gemfiles/rails_4_2.gemfile
|
28
|
+
rvm: jruby
|
29
|
+
|
20
30
|
notifications:
|
21
31
|
email: false
|
data/README.md
CHANGED
@@ -85,6 +85,8 @@ is maintained by [Ryan Boland](https://ryanboland.com) and [awesome contributors
|
|
85
85
|
|
86
86
|
## Changelog
|
87
87
|
|
88
|
+
- **2.1.1**
|
89
|
+
- [Fix Scaffolding](https://github.com/sass/sassc-rails/pull/119)
|
88
90
|
- **2.1.0**
|
89
91
|
- [JRuby support](https://github.com/sass/sassc-rails/pull/113)
|
90
92
|
- [SCSS / SASS scaffolding](https://github.com/sass/sassc-rails/pull/112)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require "
|
1
|
+
require "sassc/engine"
|
2
2
|
require "rails/generators/named_base"
|
3
3
|
|
4
4
|
module Sass
|
@@ -7,7 +7,7 @@ module Sass
|
|
7
7
|
def copy_stylesheet
|
8
8
|
dir = ::Rails::Generators::ScaffoldGenerator.source_root
|
9
9
|
file = File.join(dir, "scaffold.css")
|
10
|
-
converted_contents = ::
|
10
|
+
converted_contents = ::SassC::Engine.new(File.read(file)).render
|
11
11
|
create_file "app/assets/stylesheets/scaffolds.#{syntax}", converted_contents
|
12
12
|
end
|
13
13
|
end
|
data/lib/sassc/rails/version.rb
CHANGED
data/sassc-rails.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_development_dependency 'pry'
|
22
|
-
spec.add_development_dependency "bundler"
|
22
|
+
spec.add_development_dependency "bundler"
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
24
24
|
spec.add_development_dependency 'mocha'
|
25
25
|
|
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: 2.1.
|
4
|
+
version: 2.1.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-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|