Skip to content

Commit cc7c898

Browse files
author
maximerety
committed
fix(require): make default require work with bundler
This is a partial revert of commit 7b1cd61. We're accepting both: - the recommended `require 'tanker/identity'` (see: https://guides.rubygems.org/name-your-gem/) - the default `require 'tanker-identity'` that bundler uses
1 parent 8133308 commit cc7c898

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ A secret identity.
7373
The server-side pseudo-code below demonstrates a typical flow to safely deliver identities to your users:
7474

7575
```ruby
76-
require 'tanker/identity'
76+
require 'tanker-identity'
7777

7878
# 1. store these configurations in a safe place
7979
app_id = '<app-id>'

lib/tanker-identity.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
require 'tanker/identity'
2-
3-
warn "DEPRECATION WARNING: Using `require 'tanker-identity'` is deprecated in favor of `require 'tanker/identity'`"

0 commit comments

Comments
 (0)