Skip to content

Commit

Permalink
UDCSL #34 - Updating HTTParty gem to 0.20.
Browse files Browse the repository at this point in the history
  • Loading branch information
dleadbetter committed Aug 9, 2022
1 parent bd16970 commit cb586f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
triple_eye_effable (0.1.0)
httparty (~> 0.17.3)
httparty (~> 0.20.0)
rails (>= 6.0.3.2, < 8)

GEM
Expand Down Expand Up @@ -80,7 +80,7 @@ GEM
erubi (1.10.0)
globalid (1.0.0)
activesupport (>= 5.0)
httparty (0.17.3)
httparty (0.20.0)
mime-types (~> 3.0)
multi_xml (>= 0.5.2)
i18n (1.12.0)
Expand Down
2 changes: 2 additions & 0 deletions app/services/triple_eye_effable/cloud.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def create_resource(resourceable)
end

def delete_resource(resourceable)
return if resourceable.resource_description.nil?

id = resourceable.resource_description.resource_id
self.class.delete("#{base_url}/#{id}", headers: headers)
end
Expand Down
2 changes: 1 addition & 1 deletion triple_eye_effable.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ Gem::Specification.new do |spec|
end

spec.add_dependency 'rails', '>= 6.0.3.2', '< 8'
spec.add_dependency 'httparty', '~> 0.17.3'
spec.add_dependency 'httparty', '~> 0.20.0'
end

0 comments on commit cb586f0

Please sign in to comment.