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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 880d0912909e0a73c114fb30870f6fbcfed113ee2f8b0d4503ad00ad4312bc8c
4
- data.tar.gz: 35b13baed25a489f93569882e475d3a33df69c2b0f57c919db0676ccc7d475c6
3
+ metadata.gz: c7cca638ed47e5508424c1a2ff69600e773760f23a9484676466789ca656cc48
4
+ data.tar.gz: a2410a358fe7a231171c62501d37e7a64c89d5d0ed28fb18ab7e60e75ce4b393
5
5
  SHA512:
6
- metadata.gz: c72d762a74b7a5a599e7fb3d975d265ef29be217d511fb9ef6233f2303cc36601f27efeb4ce3b4e8383d31cc71a62a41564569b3c5db7e616c17ffabec0a7422
7
- data.tar.gz: eb80a249c2b07d4765805ca13ceff9acd8275065a498b6a57e699758fa9bb40390903d8ab5fec71a2e974165a2183996812ec08b79c65ae15cb85fbeccc4d9c2
6
+ metadata.gz: b47b30b6ad7e68791cfe3a868622957532c41bc843971262610046f6d5e8294e3ec489c44bfd37ee0335c5dc4b47d4e7722edeb6bc947a348b72c27e52fbde75
7
+ data.tar.gz: adafe0d353e8da6e56ea973ca4e0e5b178c816c4663a913581a268f7f9e6522149a1af15e62f4a34ce31354a7fdf45369f0298ef0c3c3120ae1825c890d1949d
@@ -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.4
17
- - 2.5.1
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 "sass/css"
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 = ::Sass::CSS.new(File.read(file)).render(syntax)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SassC
4
4
  module Rails
5
- VERSION = "2.1.0"
5
+ VERSION = "2.1.1"
6
6
  end
7
7
  end
@@ -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", "~> 1.7"
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.0
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: 2018-12-20 00:00:00.000000000 Z
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: '1.7'
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: '1.7'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement