Skip to content

Commit

Permalink
Merge pull request #7 from Findy/require-faraday-v2
Browse files Browse the repository at this point in the history
Require faraday v2
  • Loading branch information
nipe0324 authored Oct 25, 2023
2 parents 87f4adf + a9a63e4 commit 68a100d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 93 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ build-iPhoneSimulator/

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
Gemfile.lock
# .ruby-version
# .ruby-gemset

Expand Down
86 changes: 0 additions & 86 deletions Gemfile.lock

This file was deleted.

1 change: 0 additions & 1 deletion lib/line_notify_client.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require 'faraday'
require 'faraday_middleware'

require 'line_notify_client/error'
require 'line_notify_client/http_client'
Expand Down
2 changes: 1 addition & 1 deletion lib/line_notify_client/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module LineNotify
VERSION = '1.0.1'
VERSION = '1.1.0'
end
7 changes: 3 additions & 4 deletions line_notify_client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ Gem::Specification.new do |s|
end
s.require_paths = ["lib"]

s.add_dependency 'faraday', '>= 1.0.0'
s.add_dependency 'faraday_middleware', '>= 1.0.0'
s.add_dependency 'faraday', '>= 2', '< 3'

s.add_development_dependency 'rake', '>= 10.0'
s.add_development_dependency 'rspec', '>= 3.0'
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec', '~> 3'
s.add_development_dependency 'webmock'
end

0 comments on commit 68a100d

Please sign in to comment.