Skip to content

Commit 5c04b7f

Browse files
authored
Merge pull request #48 from travisTheOrange/FAX-2877
Update Faraday gem
2 parents d3a3ad0 + d28f889 commit 5c04b7f

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
33
gemspec
44

55
group :development do
6+
gem 'faraday', '~> 2.7'
67
gem 'bundler'
78
gem 'rake'
89
gem 'rspec', '~> 3.7'

lib/phaxio.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
require 'openssl'
55
require 'time'
66
require 'faraday'
7+
require 'faraday/multipart'
78
require 'active_support/core_ext/hash/indifferent_access'
89
require 'mime/types/full'
910
require 'phaxio/version'

lib/phaxio/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Phaxio
2-
VERSION = "2.1.1"
2+
VERSION = "2.1.2"
33
end

phaxio.gemspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ Gem::Specification.new do |gem|
1616
gem.version = Phaxio::VERSION
1717
gem.licenses = ['MIT']
1818

19-
gem.required_ruby_version = '>= 2.0'
20-
gem.add_dependency 'faraday', '>= 0.10', '< 2.0'
19+
gem.required_ruby_version = '>= 2.7'
20+
gem.add_dependency 'faraday', '~> 2.7'
21+
gem.add_dependency 'faraday-multipart'
2122
gem.add_dependency 'mime-types', '~> 3.0'
2223
gem.add_dependency 'activesupport'
2324
end

0 commit comments

Comments
 (0)