Skip to content

Commit d75a174

Browse files
Update minimum Ruby version to 2.7
1 parent 6d4bac3 commit d75a174

6 files changed

Lines changed: 11 additions & 206 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ programmatically access your accounts.
2020
- Support for logging incoming and outgoing SOAP messages
2121
- Support for logging request information
2222
- Based on Savon library
23-
- Ruby >=2.6 compatible
23+
- Ruby >=2.7 compatible
2424
- OAuth2 and OAuth2 JWT built-in authentication
2525
- Local validation for parameter number and type on API calls
2626
- Thread-safe

ads_common/COPYING

Lines changed: 0 additions & 201 deletions
This file was deleted.

ads_common/ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2.0.0:
2+
- Updated minimum Ruby version to 2.7.
3+
14
1.0.3:
25
- Updated rake dependency requirements.
36

ads_common/google-ads-common.gemspec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,17 @@ Gem::Specification.new do |s|
3030
s.email = ['adwordsapiadvisor+michael@google.com']
3131
s.license = 'Apache-2.0'
3232
s.platform = Gem::Platform::RUBY
33-
s.required_ruby_version = '>= 2.0'
33+
s.required_ruby_version = '>= 2.7'
3434
s.required_rubygems_version = '>= 1.3.6'
3535
s.rubyforge_project = 'google-ads-common'
3636
s.require_path = 'lib'
37-
s.files = Dir.glob('lib/**/*') + %w(COPYING README.md ChangeLog)
37+
s.files = Dir.glob('lib/**/*') + %w(README.md ChangeLog)
38+
s.add_runtime_dependency('faraday', '>= 0.9', '< 2.0')
3839
s.add_runtime_dependency('google-ads-savon', '~> 1.0', '>=1.0.2')
3940
s.add_runtime_dependency('httpi', '~> 2.3')
4041
s.add_runtime_dependency('httpclient', '~> 2.7')
4142
s.add_runtime_dependency('signet', '~> 0.7')
43+
s.add_runtime_dependency('nokogiri', '~> 1.12.5')
4244
s.add_development_dependency('rake', '>= 12.3.3', '< 13.0')
4345
s.add_development_dependency('test-unit', '~> 3.2')
4446
s.add_development_dependency('webmock', '~> 3.0')

ads_common/lib/ads_common/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919

2020
module AdsCommon
2121
module ApiConfig
22-
CLIENT_LIB_VERSION = '1.0.3'
22+
CLIENT_LIB_VERSION = '2.0.0'
2323
end
2424
end

ads_common/test/test_env.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#
1919
# Tests environment is correct.
2020

21+
require 'rake'
2122
require 'openssl'
2223
require 'test/unit'
2324

@@ -38,6 +39,6 @@ def test_openssl_version
3839

3940
# Output rake version to the tests log.
4041
def test_rake_version
41-
puts "\nRunning with rake %s.\n" % Rake::VERSION if defined?(Rake)
42+
puts "\nRunning with rake %s.\n" % Rake::VERSION if defined?(Rake::VERSION)
4243
end
4344
end

0 commit comments

Comments
 (0)