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: b159ccc8a6f431736e8c6f91aa53e420f6a6ff03
4
- data.tar.gz: d6f83758eda7afa51ffb16ced3eb0752910b7f03
3
+ metadata.gz: b12b363eb00038db02874725972b83da9fd08497
4
+ data.tar.gz: 532a72028fd10310edf939889792afee49c1899b
5
5
  SHA512:
6
- metadata.gz: 8d214f541c9f2c0d76c2e6fa75ab2bdff73fa8ee76428785ae5013add67f29b49619ecc7e81c1f354378791b4fdad0981746c221578abe4d7e6d7c51cb5f4f85
7
- data.tar.gz: 5a0aae9c76e117d9e71763e87e7c969bee17ea86a2b5e9cd0826fa4ad976ebf06535250c5a9bfd06b7a41cc4a6232e0d2f60e6b7c893c60bd32853434a56cd84
6
+ metadata.gz: dd9296697a79d5314c92e4ca3d6bc992155e425dded28068408354ff7681953f76348808c2af479ddd3c28eb9a02e175d34b46e633af2eb28e05e26dc38daf58
7
+ data.tar.gz: 02fa19ae2caf4859b13511ad506e95a3ac5c1c94e515a46c3256d7d665d6dd2ee6796f7c9b61b070357a95c75b2da80f8051945a003296a22854a721c5606c5e
@@ -25,5 +25,5 @@ Gem::Specification.new do |spec|
25
25
  spec.add_dependency 'pry'
26
26
  spec.add_dependency 'sparkr', '>= 0.2.0'
27
27
  spec.add_dependency 'term-ansicolor'
28
- spec.add_dependency 'yard', '~> 0.8.7'
28
+ spec.add_dependency 'yard', '~> 0.8.7.5'
29
29
  end
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Inch
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
3
3
  end
@@ -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 # unless RUBY_VERSION =~ /^2/
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
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-13 00:00:00.000000000 Z
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