pronto-scss 0.4.2 → 0.4.3

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: f2992cf59ac8c49c33368e8a6fc9c0ae6a00b263
4
- data.tar.gz: 4b954409b6eed5f7eac6d0baa60ea2d584964915
3
+ metadata.gz: df3ef0a737f26e20e0950637904ed7361bacce9a
4
+ data.tar.gz: 9ee01d5f9551390dfb8beadef4ea4711de21ca19
5
5
  SHA512:
6
- metadata.gz: 7e36f44faecd6f19f179fcb32655a1fb5cd8bc195bea291e58b946b98f8b942593487a8c5c2414f5f8c8705bd1dee286568cea4b41f68c92bb9fd666772cfdb4
7
- data.tar.gz: 06eb48f4f45df39dfe244e287d5abf5b7ab5e768385376c942ddfd4f71ec399371f00d1ec2b093f6dade883fc73b4dd0751213f5ebc4dccfd4ad96e82c6dd37a
6
+ metadata.gz: 3a64659bd35ff9038b754cf500195c42c31f8e4fa73e10fa8007da3e8f3b8432b6505e29ede1ae1a1e8aa0cdb057ff5f2ac61019b79dfec7bd84b11759766ac6
7
+ data.tar.gz: 243e95195c667b14a7943005bedfdb84b77f8b70ed2f9542ddb11f27f1475d068c29ebd0756398a2cfcb4d5e66191d9060274fb805bc30280073a8c23e68113a
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module ScssVersion
3
- VERSION = '0.4.2'
3
+ VERSION = '0.4.3'
4
4
  end
5
5
  end
data/lib/pronto/scss.rb CHANGED
@@ -4,7 +4,9 @@ require 'scss_lint'
4
4
  module Pronto
5
5
  class Scss < Runner
6
6
  def initialize
7
- config = SCSSLint::Config.load(SCSSLint::Config::FILE_NAME)
7
+ file_name = SCSSLint::Config::FILE_NAME
8
+ config = File.exists?(file_name) ? SCSSLint::Config.load(file_name)
9
+ : SCSSLint::Config.default
8
10
  @runner = SCSSLint::Runner.new(config)
9
11
  end
10
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-scss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mindaugas Mozūras