inch 0.5.4 → 0.5.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b12b363eb00038db02874725972b83da9fd08497
|
4
|
+
data.tar.gz: 532a72028fd10310edf939889792afee49c1899b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd9296697a79d5314c92e4ca3d6bc992155e425dded28068408354ff7681953f76348808c2af479ddd3c28eb9a02e175d34b46e633af2eb28e05e26dc38daf58
|
7
|
+
data.tar.gz: 02fa19ae2caf4859b13511ad506e95a3ac5c1c94e515a46c3256d7d665d6dd2ee6796f7c9b61b070357a95c75b2da80f8051945a003296a22854a721c5606c5e
|
data/inch.gemspec
CHANGED
@@ -84,7 +84,7 @@ module Inch
|
|
84
84
|
# @param name [String] parameter name
|
85
85
|
# @return [String]
|
86
86
|
def in_signature(name)
|
87
|
-
possible_names = [name, "*#{name}", "&#{name}"]
|
87
|
+
possible_names = [name, "*#{name}", "&#{name}", "#{name}:"]
|
88
88
|
(all_signature_parameter_names & possible_names).first
|
89
89
|
end
|
90
90
|
|
@@ -95,7 +95,7 @@ module Inch
|
|
95
95
|
# @param name [String] parameter name
|
96
96
|
# @return [String]
|
97
97
|
def normalize_parameter_name(name)
|
98
|
-
name.gsub(/[\&\*\$\[\]]/, '')
|
98
|
+
name.gsub(/[\&\*\$\[\]\:]/, '')
|
99
99
|
end
|
100
100
|
|
101
101
|
def parameter_tag(param_name)
|
data/lib/inch/version.rb
CHANGED
@@ -367,7 +367,7 @@ describe ::Inch::Language::Ruby::CodeObject::MethodObject do
|
|
367
367
|
describe 'MISC' do
|
368
368
|
#
|
369
369
|
it 'should recognize named parameters in Ruby 2.1' do
|
370
|
-
skip
|
370
|
+
skip unless RUBY_VERSION =~ /^2/
|
371
371
|
|
372
372
|
m = @objects.find('Foo#method_with_named_parameter')
|
373
373
|
unexpected_roles = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- René Föhring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.8.7
|
103
|
+
version: 0.8.7.5
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.8.7
|
110
|
+
version: 0.8.7.5
|
111
111
|
description: Documentation measurement tool for Ruby, based on YARD.
|
112
112
|
email:
|
113
113
|
- rf@bamaru.de
|