Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rodjek/puppet-lint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.1.10
Choose a base ref
...
head repository: rodjek/puppet-lint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.1.11
Choose a head ref
  • 3 commits
  • 5 files changed
  • 1 contributor

Commits on Jan 11, 2012

  1. Add rdoc to travis gemfiles

    rodjek committed Jan 11, 2012
    Copy the full SHA
    75647a1 View commit details
  2. Keep ruby 1.9.x happy

    rodjek committed Jan 11, 2012
    Copy the full SHA
    55e554a View commit details
  3. Bump to 0.1.11

    rodjek committed Jan 11, 2012
    Copy the full SHA
    27fc7f7 View commit details
Showing with 6 additions and 4 deletions.
  1. +1 −0 gemfiles/Gemfile.puppet-2.6
  2. +1 −0 gemfiles/Gemfile.puppet-2.7
  3. +1 −1 lib/puppet-lint.rb
  4. +2 −2 lib/puppet-lint/plugin.rb
  5. +1 −1 puppet-lint.gemspec
1 change: 1 addition & 0 deletions gemfiles/Gemfile.puppet-2.6
Original file line number Diff line number Diff line change
@@ -2,4 +2,5 @@ source :rubygems

gem 'rake'
gem 'rspec'
gem 'rdoc'
gem 'puppet', '2.6.13'
1 change: 1 addition & 0 deletions gemfiles/Gemfile.puppet-2.7
Original file line number Diff line number Diff line change
@@ -2,4 +2,5 @@ source :rubygems

gem 'rake'
gem 'rspec'
gem 'rdoc'
gem 'puppet', '2.7.9'
2 changes: 1 addition & 1 deletion lib/puppet-lint.rb
Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ def expand opts = {}
class PuppetLint::NoCodeError < StandardError; end

class PuppetLint
VERSION = '0.1.10'
VERSION = '0.1.11'

attr_reader :code, :file

4 changes: 2 additions & 2 deletions lib/puppet-lint/plugin.rb
Original file line number Diff line number Diff line change
@@ -62,9 +62,9 @@ def run(path, data)

test(path, data) if self.respond_to? :test
self.public_methods.select { |method|
method.start_with? 'lint_check_'
method.to_s.start_with? 'lint_check_'
}.each { |method|
name = method[11..-1]
name = method.to_s[11..-1]
@default_info[:check] = name
self.send(method) if PuppetLint.configuration.send("#{name}_enabled?")
}
2 changes: 1 addition & 1 deletion puppet-lint.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'puppet-lint'
s.version = '0.1.10'
s.version = '0.1.11'
s.homepage = 'https://github.com/rodjek/puppet-lint/'
s.summary = 'Ensure your Puppet manifests conform with the Puppetlabs style guide'
s.description = 'Checks your Puppet manifests against the Puppetlabs