ruby-lint 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +3 -3
- data/bin/ruby-lint +1 -0
- data/checksum/ruby-lint-2.0.1.gem.sha512 +1 -0
- data/doc/changelog.md +11 -0
- data/doc/configuration.md +0 -10
- data/lib/ruby-lint/command.rb +18 -4
- data/lib/ruby-lint/definitions/core/digest.rb +6 -2
- data/lib/ruby-lint/definitions/core/math.rb +64 -76
- data/lib/ruby-lint/definitions/gems/celluloid.rb +4897 -0
- data/lib/ruby-lint/inspector.rb +3 -1
- data/lib/ruby-lint/version.rb +1 -1
- metadata +5 -3
data/lib/ruby-lint/inspector.rb
CHANGED
|
@@ -149,7 +149,9 @@ module RubyLint
|
|
|
149
149
|
def inspect_superclass
|
|
150
150
|
parent = nil
|
|
151
151
|
|
|
152
|
-
if constant.respond_to?(:superclass)
|
|
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
|
|
data/lib/ruby-lint/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
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.
|