lint 0.3.1 → 0.3.2

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: d30d06f6e0efdd4200fe2b1b9688db0630f322a8
4
- data.tar.gz: 11fafd48a1a466fb3ba63f86595c7059566d5769
3
+ metadata.gz: 83a1956da85c17ee04a0e920ec7b582a8fd51a3d
4
+ data.tar.gz: 7ce1eb1f5818eae87e642e7d2868ece728192720
5
5
  SHA512:
6
- metadata.gz: ec002db2683d9ae6142499cf857565688187d72a897b66067f6265ad7dccdcdb1671066628b68b046488e490d71d4711fb07686d1d351967a306d5e0b456d894
7
- data.tar.gz: e11da80da984da33da2574909710669885d84a2b66503fe4f6697814d0f949790cebc2a5ef7beef784f7302e07620c2ebdc72073b12448e5086d1d55a9f1c9ec
6
+ metadata.gz: e4589acbc8952eb62fecf3dde7ab90a671a4b45fb6e9e4e6e323d78bf98f769e81b3b7ceb62ff047152a42227c5bbac653c0e22f3ea69397b9c732608cdcc082
7
+ data.tar.gz: bbec8f27c140e804a858236ba27aa7e0228c14f8162ebcaf773c536b3f28af16965499051501ae66b0212c25f9b9c7948ad1b7aa1cb60c89732f2f1d2a2e21ba
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ lint
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.2.2
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Master
4
4
 
5
+ ## 0.3.2
6
+
7
+ * Make Rake lint tasks available in gem
8
+ * scss-lint gem changed name
9
+
5
10
  ## 0.3.1
6
11
 
7
12
  * RuboCop: Disable PerlBackrefs cop
data/Rakefile CHANGED
@@ -1 +1,3 @@
1
1
  require 'bundler/gem_tasks'
2
+
3
+ import './lib/tasks/lint.rake'
data/lib/lint/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lint
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
data/lib/tasks/lint.rake CHANGED
@@ -2,13 +2,12 @@ require 'coffeelint'
2
2
  require 'rubocop/rake_task'
3
3
 
4
4
  namespace :lint do
5
-
6
- desc "Run SCSS quality checks"
5
+ desc 'Run SCSS quality checks'
7
6
  task :scss do
8
7
  exit(1) unless system("scss-lint app/assets/stylesheets --config #{config('scss-lint.yml')}")
9
8
  end
10
9
 
11
- desc "Run Ruby quality checks"
10
+ desc 'Run Ruby quality checks'
12
11
  RuboCop::RakeTask.new(:ruby) do |task|
13
12
  task.patterns = ['{app,config,features,lib,spec}/**/*.{rb,rake}']
14
13
  task.formatters = ['progress']
@@ -24,5 +23,4 @@ namespace :lint do
24
23
  def config(file)
25
24
  File.realdirpath("#{__FILE__}/../../../config/#{file}")
26
25
  end
27
-
28
26
  end
data/lint.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
 
19
19
  spec.add_dependency 'coffeelint', '~> 1.9'
20
20
  spec.add_dependency 'rubocop', '~> 0.31'
21
- spec.add_dependency 'scss-lint', '~> 0.38'
21
+ spec.add_dependency 'scss_lint', '~> 0.38'
22
22
 
23
23
  spec.add_development_dependency 'bundler', '~> 1.7'
24
24
  spec.add_development_dependency 'rake', '~> 10.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Siegel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-10 00:00:00.000000000 Z
11
+ date: 2015-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffeelint
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.31'
41
41
  - !ruby/object:Gem::Dependency
42
- name: scss-lint
42
+ name: scss_lint
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
@@ -88,6 +88,8 @@ extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
90
  - ".gitignore"
91
+ - ".ruby-gemset"
92
+ - ".ruby-version"
91
93
  - CHANGELOG.md
92
94
  - Gemfile
93
95
  - LICENSE.md