Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
upgrade ruby and some gems
Browse files Browse the repository at this point in the history
  • Loading branch information
mattduboismatt committed Mar 13, 2019
1 parent 33a75bf commit 89366ef
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.3
2.5.1
6 changes: 3 additions & 3 deletions black_book.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_dependency "json"
spec.add_dependency "rest-client", "~> 1.7"
spec.add_dependency "rest-client", "~> 2.0"
spec.add_dependency "symboltable", "~> 1.0"

spec.add_development_dependency "awesome_print", "~> 1.2"
Expand All @@ -29,6 +29,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "pry-nav", "~> 0.2"
spec.add_development_dependency "rake", "~> 10.3"
spec.add_development_dependency "rspec", "~> 3.1"
spec.add_development_dependency "vcr", "~> 2.9"
spec.add_development_dependency "webmock", "~> 1.10"
spec.add_development_dependency "vcr", "~> 4.0"
spec.add_development_dependency "webmock", "~> 3.5"
end
2 changes: 1 addition & 1 deletion spec/base_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

context "with valid credentials" do
it "executes the request" do
VCR.use_cassette("BaseRequest.request") do
VCR.use_cassette("BaseRequest_request") do
response = subject.request("#{subject.base_url}/UsedVehicle/VIN/2C4RDGBG1CR385500")
expect(JSON.parse(response)).to have_key("used_vehicles")
end
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/vcr_cassettes/BaseRequest_request.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/fixtures/vcr_cassettes/UsedVehicle_by_vin.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/used_vehicle_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
end

it "returns a Hash from the response json" do
VCR.use_cassette("UsedVehicle.by_vin") do
VCR.use_cassette("UsedVehicle_by_vin") do
response = BlackBook::UsedVehicle.by_vin("2C4RDGBG1CR385500")
expect(response["used_vehicles"]).not_to be_empty
end
Expand Down

0 comments on commit 89366ef

Please sign in to comment.