ruby-lint 2.0.0 → 2.0.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
  SHA1:
3
- metadata.gz: 512dbfa14fa8cd418ab6aa742b5b9674c8d099e5
4
- data.tar.gz: 753e74eacbb26c7d0c1ca1e824811f50383eeb57
3
+ metadata.gz: c05b71e4416ca5dd96493ba94aa26a21d6f8b588
4
+ data.tar.gz: 7bd2b44794bd3535034364f2123e62a2ea2a5589
5
5
  SHA512:
6
- metadata.gz: e9b624c1fe46dc6493a9fc0a85f4ce8a8c737a08f696b140e626b276b7e98f738a3e5722ea2773795b51cd33549542210dbafede324dd3ca5487ea5c197fdcfc
7
- data.tar.gz: 439fe12246a52f2403101a738eedf13bbd95795ecc6cfb53c4585070a74e80e2ab13a8d5ff93a7dee6276b890791f2c006edec68d2efb349cfc7a51c0071d6ca
6
+ metadata.gz: 9da8b5a726a860571919aeb84309bcc19abb1bcd174a4a29700fe7634f4ab812fa756c26e233603f90360aebf4a093f284d597095a4b67e9f20aaa742cc79eaf
7
+ data.tar.gz: e0543f60d7b1e9c258fd36a48f0649e7cafdd0667fee7023c84494af9043139b2bdf4f913ef378fc17630de1c2374efee3e400c2f7c651c631b33e188036dd71
@@ -18,9 +18,9 @@ Whatever editor you use doesn't matter as long as it can do two things:
18
18
  * Use spaces for indentation.
19
19
  * Hard wrap lines at 79 characters per line.
20
20
 
21
- To make this process easier Oga comes with an [EditorConfig][editorconfig]
22
- configuration file. If your editor supports this it will automatically apply
23
- the required settings for you.
21
+ To make this process easier ruby-lint comes with an
22
+ [EditorConfig][editorconfig] configuration file. If your editor supports this
23
+ it will automatically apply the required settings for you.
24
24
 
25
25
  ## Hacking on ruby-lint
26
26
 
@@ -0,0 +1 @@
1
+ 8e3679a7f891a4cea643fd21a02387b14537dc5b81fc2ed975e51ac53b44479a3dcfbd2fe02078324a602ed4074fc0f6d2ffd860fdcdd497e1b7ee64b1e9d3e9
@@ -5,6 +5,11 @@ This document contains a short summary of the various releases of ruby-lint.
5
5
  For a full list of commits included in each release see the corresponding Git
6
6
  tags (named after the versions).
7
7
 
8
+ ## 2.0.1 - 2014-06-11
9
+
10
+ * The exit status of ruby-lint is set to 1 when there is data to report. See
11
+ <https://github.com/YorickPeterse/ruby-lint/issues/117> for more info.
12
+
8
13
  ## 2.0.0 - 2014-06-06
9
14
 
10
15
  Although the version number might suggest otherwise this is a rather modest
Binary file
@@ -51,10 +51,16 @@ module RubyLint
51
51
  runner = Runner.new(configuration)
52
52
  output = runner.analyze(files)
53
53
  exec_time = Time.now.to_f - start_time
54
+ status = 0
54
55
 
55
- puts output unless output.empty?
56
+ unless output.empty?
57
+ status = 1
58
+ puts output
59
+ end
56
60
 
57
61
  show_benchmark_info(exec_time) if options[:benchmark]
62
+
63
+ exit(status)
58
64
  end
59
65
 
60
66
  ##
@@ -69,7 +75,7 @@ module RubyLint
69
75
 
70
76
  ##
71
77
  # @param [RubyLint::Configuration] configuration
72
- # @param [Hash] opts
78
+ # @param [Hash] options
73
79
  #
74
80
  def configure(configuration, options)
75
81
  OPTION_MAPPING.each do |key, setter|
@@ -1,3 +1,3 @@
1
1
  module RubyLint
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end # RubyLint
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yorick Peterse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-06 00:00:00.000000000 Z
11
+ date: 2014-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser
@@ -171,6 +171,7 @@ files:
171
171
  - checksum/ruby-lint-1.0.2.gem.sha512
172
172
  - checksum/ruby-lint-1.0.3.gem.sha512
173
173
  - checksum/ruby-lint-1.1.0.gem.sha512
174
+ - checksum/ruby-lint-2.0.0.gem.sha512
174
175
  - doc/DCO.md
175
176
  - doc/architecture.md
176
177
  - doc/changelog.md