Skip to content

Commit 599758f

Browse files
committed
Prepare V2 for deprecation
1 parent ee997f2 commit 599758f

File tree

6 files changed

+15
-8
lines changed

6 files changed

+15
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ coverage
1111
/release-notes.html
1212
/TODO
1313
*.DS_Store
14+
.ruby-version
1415

1516
/developer_guide/output
1617
/developer_guide/tmp

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AWS SDK for Ruby - Version 2
22

3-
## (NEWER VERSION AVAILABLE, PLEASE USE VERSION 3)
3+
## (DEPRECATED, PLEASE USE VERSION 3)
44

55
[![Gitter](https://badges.gitter.im/aws/aws-sdk-ruby.svg)](https://gitter.im/aws/aws-sdk-ruby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Build Status](https://travis-ci.org/aws/aws-sdk-ruby.svg?branch=master)](https://travis-ci.org/aws/aws-sdk-ruby) [![Code Climate](https://codeclimate.com/github/aws/aws-sdk-ruby.svg)](https://codeclimate.com/github/aws/aws-sdk-ruby) [![Coverage Status](https://coveralls.io/repos/aws/aws-sdk-ruby/badge.svg?branch=master)](https://coveralls.io/r/aws/aws-sdk-ruby?branch=master)
66

aws-sdk-core/aws-sdk-core.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Gem::Specification.new do |spec|
55
spec.name = 'aws-sdk-core'
66
spec.version = version
77
spec.summary = 'AWS SDK for Ruby - Core'
8-
spec.description = 'A newer version of this gem is available, please upgrade to version 3.'\
8+
spec.description = 'AWS SDK For Ruby V2 has been marked as deprecated. Please upgrade to AWS SDK For Ruby V3.'\
99
'Provides API clients for AWS. This gem is part of the official AWS SDK for Ruby.'
1010
spec.author = 'Amazon Web Services'
1111
spec.homepage = 'http://github.com/aws/aws-sdk-ruby'
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
2424
spec.add_dependency('jmespath', '~> 1.0')
2525
spec.add_dependency('aws-sigv4', '~> 1.0')
2626

27-
spec.post_install_message = 'NEWER VERSION AVAILABLE: Please upgrade to AWS SDK For Ruby V3'
27+
spec.post_install_message = 'AWS SDK For Ruby V2 has been marked as deprecated. Please upgrade to AWS SDK For Ruby V3.'
2828
end

aws-sdk-core/lib/aws-sdk-core/client.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,13 @@ def define(svc_name, options)
6363
def soft_deprecation
6464
unless @warned
6565
@warned = true
66-
warn("NEWER VERSION AVAILABLE: Please upgrade to AWS SDK For Ruby V3")
66+
warn(
67+
"Version 2 of the Ruby SDK will enter maintenance mode as of "\
68+
"November 20, 2020. To continue receiving service updates and new "\
69+
"features, please upgrade to Version 3. More information can be "\
70+
"found here: https://aws.amazon.com/blogs/developer/"\
71+
"deprecation-schedule-for-aws-sdk-for-ruby-v2/"
72+
)
6773
end
6874
end
6975

aws-sdk-resources/aws-sdk-resources.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Gem::Specification.new do |spec|
55
spec.name = 'aws-sdk-resources'
66
spec.version = version
77
spec.summary = 'AWS SDK for Ruby - Resources'
8-
spec.description = 'A newer version of this gem is available, please upgrade to version 3.'\
8+
spec.description = 'AWS SDK For Ruby V2 has been marked as deprecated. Please upgrade to AWS SDK For Ruby V3.'\
99
'Provides resource oriented interfaces and other higher-level abstractions for many AWS services. This gem is part of the official AWS SDK for Ruby.'
1010
spec.author = 'Amazon Web Services'
1111
spec.email = ['[email protected]']
@@ -17,5 +17,5 @@ Gem::Specification.new do |spec|
1717

1818
spec.add_dependency('aws-sdk-core', version)
1919

20-
spec.post_install_message = 'NEWER VERSION AVAILABLE: Please upgrade to AWS SDK For Ruby V3'
20+
spec.post_install_message = 'AWS SDK For Ruby V2 has been marked as deprecated. Please upgrade to AWS SDK For Ruby V3.'
2121
end

aws-sdk/aws-sdk.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Gem::Specification.new do |spec|
55
spec.name = 'aws-sdk'
66
spec.version = version
77
spec.summary = 'AWS SDK for Ruby'
8-
spec.description = 'A newer version of this gem is available, please upgrade to version 3.'\
8+
spec.description = 'AWS SDK For Ruby V2 has been marked as deprecated. Please upgrade to AWS SDK For Ruby V3.'\
99
'The official AWS SDK for Ruby. Provides both resource oriented interfaces and API clients for AWS services.'
1010
spec.author = 'Amazon Web Services'
1111
spec.homepage = 'http://github.com/aws/aws-sdk-ruby'
@@ -17,5 +17,5 @@ Gem::Specification.new do |spec|
1717

1818
spec.add_dependency('aws-sdk-resources', version)
1919

20-
spec.post_install_message = 'NEWER VERSION AVAILABLE: Please upgrade to AWS SDK For Ruby V3'
20+
spec.post_install_message = 'AWS SDK For Ruby V2 has been marked as deprecated. Please upgrade to AWS SDK For Ruby V3.'
2121
end

0 commit comments

Comments
 (0)