ruby-lint 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -149,7 +149,9 @@ module RubyLint
149
149
  def inspect_superclass
150
150
  parent = nil
151
151
 
152
- if constant.respond_to?(:superclass) && constant.superclass.name
152
+ if constant.respond_to?(:superclass) \
153
+ and constant.superclass \
154
+ and constant.superclass.name
153
155
  return constant.superclass
154
156
  end
155
157
 
@@ -1,3 +1,3 @@
1
1
  module RubyLint
2
- VERSION = '2.0.1'
2
+ VERSION = '2.0.2'
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.1
4
+ version: 2.0.2
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-11 00:00:00.000000000 Z
11
+ date: 2014-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser
@@ -172,6 +172,7 @@ files:
172
172
  - checksum/ruby-lint-1.0.3.gem.sha512
173
173
  - checksum/ruby-lint-1.1.0.gem.sha512
174
174
  - checksum/ruby-lint-2.0.0.gem.sha512
175
+ - checksum/ruby-lint-2.0.1.gem.sha512
175
176
  - doc/DCO.md
176
177
  - doc/architecture.md
177
178
  - doc/changelog.md
@@ -413,6 +414,7 @@ files:
413
414
  - lib/ruby-lint/definitions/core/yaml.rb
414
415
  - lib/ruby-lint/definitions/core/zero_division_error.rb
415
416
  - lib/ruby-lint/definitions/core/zlib.rb
417
+ - lib/ruby-lint/definitions/gems/celluloid.rb
416
418
  - lib/ruby-lint/definitions/gems/devise.rb
417
419
  - lib/ruby-lint/definitions/gems/minitest.rb
418
420
  - lib/ruby-lint/definitions/gems/nokogiri.rb
@@ -484,7 +486,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
484
486
  version: '0'
485
487
  requirements: []
486
488
  rubyforge_project:
487
- rubygems_version: 2.2.2
489
+ rubygems_version: 2.4.1
488
490
  signing_key:
489
491
  specification_version: 4
490
492
  summary: A linter and static code analysis tool for Ruby.