summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2011-03-24 17:59:56 -0700
committerMatt Robinson <matt@puppetlabs.com>2011-03-25 10:30:27 -0700
commitb42c57ddf618284f69f13c0a5aa48aff9c6d549f (patch)
treea64c03f0e8637736131b31af1fa782f195a7d6f1 /lib/puppet/util/rdoc/code_objects.rb
parentc7f6e5ee743c061c020521651360bba240ae4519 (diff)
downloadpuppet-b42c57ddf618284f69f13c0a5aa48aff9c6d549f.tar.gz
puppet-b42c57ddf618284f69f13c0a5aa48aff9c6d549f.tar.xz
puppet-b42c57ddf618284f69f13c0a5aa48aff9c6d549f.zip
(#6830) Fix stat method calls to not use an unneeded argument
With this change under ruby 1.9.2 the number of failing specs goes from 2003 to 635. Also, puppet apply and master both seem to work. Agent still has OpenSSL issues. Ruby 1.8 doesn't complain if you pass arguments to a runtime defined method that doesn't take arguments. Ruby 1.9 does class Foo define_method('bar') do puts 'baz' end end Foo.new.bar("idonttakearguments") In Ruby 1.8 this prints: baz In Ruby 1.9 this errors with: 19_test.rb:3:in `block in <class:Foo>': wrong number of arguments (1 for 0) (ArgumentError) Reviewed-by:
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions