Skip to content

Commit

Permalink
Merge pull request #501 from tumblr/will-collins-client-fix-old-fashi…
Browse files Browse the repository at this point in the history
…on-respond-to

Fix "respond_to? is old fashion" warning
  • Loading branch information
william-richard authored Dec 19, 2016
2 parents a889600 + 9859dc2 commit 6c9feb4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion support/ruby/collins-client/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.18
0.2.19
2 changes: 1 addition & 1 deletion support/ruby/collins-client/collins_client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Gem::Specification.new do |s|

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Blake Matheny", "Gabe Conradi", "Will Richard"]
s.date = "2016-01-29"
s.date = "2016-12-19"
s.description = "Provides ruby support for interacting with the Collins API"
s.email = ["[email protected]","[email protected]","[email protected]"]
s.extra_rdoc_files = [
Expand Down
2 changes: 1 addition & 1 deletion support/ruby/collins-client/lib/collins/asset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def to_s
"Asset(id = #{id}, tag = #{tag}, status = #{status}, type = #{type}, created = #{created_t}, updated = #{updated_t}, ipmi = #{ipmi_i}, state = #{state.to_s})"
end

def respond_to? name
def respond_to? name, include_all=false
if extract(extras, "ATTRIBS", "0", name.to_s.upcase).nil? then
super
else
Expand Down

0 comments on commit 6c9feb4

Please sign in to comment.