puppet-lint 0.1.10 → 0.1.11

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.
data/lib/puppet-lint.rb CHANGED
@@ -74,7 +74,7 @@ end
74
74
  class PuppetLint::NoCodeError < StandardError; end
75
75
 
76
76
  class PuppetLint
77
- VERSION = '0.1.10'
77
+ VERSION = '0.1.11'
78
78
 
79
79
  attr_reader :code, :file
80
80
 
@@ -62,9 +62,9 @@ class PuppetLint::CheckPlugin
62
62
 
63
63
  test(path, data) if self.respond_to? :test
64
64
  self.public_methods.select { |method|
65
- method.start_with? 'lint_check_'
65
+ method.to_s.start_with? 'lint_check_'
66
66
  }.each { |method|
67
- name = method[11..-1]
67
+ name = method.to_s[11..-1]
68
68
  @default_info[:check] = name
69
69
  self.send(method) if PuppetLint.configuration.send("#{name}_enabled?")
70
70
  }
data/puppet-lint.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'puppet-lint'
3
- s.version = '0.1.10'
3
+ s.version = '0.1.11'
4
4
  s.homepage = 'https://github.com/rodjek/puppet-lint/'
5
5
  s.summary = 'Ensure your Puppet manifests conform with the Puppetlabs style guide'
6
6
  s.description = 'Checks your Puppet manifests against the Puppetlabs
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-lint
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 10
10
- version: 0.1.10
9
+ - 11
10
+ version: 0.1.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tim Sharpe