lint 0.3.3 → 0.3.4

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: 953b83ca6724cbe997778e78b4044f9e59f8d91e
4
- data.tar.gz: b893e280caaf58e4a2da47a209feaaa149608d7f
3
+ metadata.gz: a4c3594bedbcc8a49d522211cbc7b8a6338ef20a
4
+ data.tar.gz: 99926d6fdefb87a02969afe00c8334eeed2d735b
5
5
  SHA512:
6
- metadata.gz: 84e8c3e1b38b51c407067280e3ad99e2482791d976cef93554d2e7f492fc46321d751cb2ccdc398151abdb68f124ae2ecc5769711e3940ccb7fab79fcae1822c
7
- data.tar.gz: 7186fac56d7481e14ae00b1d686e1231ddda4d3d7b0fbdade064d264819d10719e7aab8897a312b60f43deb991e816e38506f40d850aac03742a2f0a38443538
6
+ metadata.gz: 7a1d39e1d75c422a2748e463c77a8c77839d4fd78086ee87df07ac1ea470d41249b9cbef6581c3e72f53580a031fe503ef641b59aa25a12d4af1dc8aecb5be7e
7
+ data.tar.gz: 1ff7273e4bf54bd3c7b940b23ed5e3c32fc9b66a0762650b23ebc6bd7b3e58f7925858e69e3b563aaf15c080ad76b9eb1776989876ff38762eb39574c426964c
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Master
4
4
 
5
+ ## 0.3.4
6
+
7
+ * RuboCop: revert changes to MultilineOperationIndentation cop
8
+
5
9
  ## 0.3.3
6
10
 
7
11
  * Upgraded RuboCop
data/README.md CHANGED
@@ -4,10 +4,9 @@ A collection of code linters and opinionated config files.
4
4
 
5
5
  Made primarily for internal use.
6
6
 
7
- Currently only works with Rails because it uses Railties.
8
-
9
7
  [![Gem Version](https://badge.fury.io/rb/lint.svg)](http://badge.fury.io/rb/lint)
10
8
 
9
+
11
10
  ## Installation
12
11
 
13
12
  Add this line to your application's Gemfile (in the development/test group):
@@ -22,14 +21,21 @@ Or install it manually as:
22
21
 
23
22
  $ gem install lint
24
23
 
24
+
25
25
  ## Usage
26
26
 
27
- After adding the gem, the following Rake tasks become available:
27
+ When using Rails, the following Rake tasks become available after adding the gem:
28
28
 
29
29
  rake lint:coffeescript
30
30
  rake lint:ruby
31
31
  rake lint:scss
32
32
 
33
+ When including the gem in other gems or non-Rails apps, add this in the `Rakefile`:
34
+
35
+ spec = Gem::Specification.find_by_name('lint')
36
+ load "#{spec.gem_dir}/lib/tasks/lint.rake"
37
+
38
+
33
39
  ## Contributing
34
40
 
35
41
  1. Fork it
@@ -38,10 +44,12 @@ After adding the gem, the following Rake tasks become available:
38
44
  4. Push to the branch
39
45
  5. Create new Pull Request
40
46
 
47
+
41
48
  ## Copyright
42
49
 
43
50
  Copyright (c) 2015 Matthias Siegel. See [LICENSE][] for details.
44
51
 
52
+
45
53
  ## Changelog
46
54
 
47
55
  See [CHANGELOG][] for details.
data/config/rubocop.yml CHANGED
@@ -7,9 +7,6 @@ Style/BlockComments:
7
7
  Style/Documentation:
8
8
  Enabled: false
9
9
 
10
- Style/MultilineOperationIndentation:
11
- EnforcedStyle: aligned
12
-
13
10
  Style/NumericLiterals:
14
11
  Enabled: false
15
12
 
data/lib/lint/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lint
2
- VERSION = '0.3.3'
2
+ VERSION = '0.3.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Siegel