Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depricates old gem name #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

### Security

## [0.3.0] - 2018-04-??
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder: vor dem Merge das korrekte Datum setzen

This gem has been renamed to billwerk and the pactas_itero gem release has been deprecated.

## [0.3.0] - 2017-09-04
### Added
- get a self service token for a given contract
Expand Down
2 changes: 2 additions & 0 deletions lib/pactas_itero/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class Client
attr_accessor :bearer_token

def initialize(options = {})
warn "[DEPRECATION] This gem has been renamed to billwerk and will no longer be supported. " \
"Please switch to the bew gem as soon as possible."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo bei new gem

PactasItero::Configurable.keys.each do |key|
instance_variable_set(:"@#{key}", options[key] || PactasItero.instance_variable_get(:"@#{key}"))
end
Expand Down
2 changes: 1 addition & 1 deletion lib/pactas_itero/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module PactasItero
VERSION = "0.3.0".freeze
VERSION = "0.4.0".freeze
end
6 changes: 6 additions & 0 deletions pactas_itero.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,10 @@ Gem::Specification.new do |spec|
spec.add_development_dependency("rubocop", '~> 0.52.1') # check houndci compatibility before updating rubocop
spec.add_development_dependency("simplecov", "~> 0.15.0")
spec.add_development_dependency("webmock", "~> 3.3")

spec.post_install_message = <<-MESSAGE
! The 'pactas_itero' gem has been deprecated and has been renamed to 'billwerk'.
! See: https://rubygems.org/gems/billwerk
! And: https://github.com/shipcloud/billwerk
MESSAGE
end