README.md in rotp-6.0.0 vs README.md in rotp-6.1.0
- old
+ new
@@ -131,14 +131,14 @@
Provisioning URI's generated by ROTP are compatible with most One Time Password applications, including
Google Authenticator.
```ruby
totp = ROTP::TOTP.new("base32secret3232", issuer: "My Service")
-totp.provisioning_uri("alice@google.com") # => 'otpauth://totp/My%20Service:alice@google.com?secret=base32secret3232&issuer=My%20Service'
+totp.provisioning_uri("alice@google.com") # => 'otpauth://totp/My%20Service:alice%40google.com?secret=base32secret3232&issuer=My%20Service'
hotp = ROTP::HOTP.new("base32secret3232", issuer: "My Service")
-hotp.provisioning_uri("alice@google.com", 0) # => 'otpauth://hotp/alice@google.com?secret=base32secret3232&counter=0'
+hotp.provisioning_uri("alice@google.com", 0) # => 'otpauth://hotp/alice%40google.com?secret=base32secret3232&counter=0'
```
This can then be rendered as a QR Code which the user can scan using their mobile phone and the appropriate application.
#### Working example
@@ -169,9 +169,15 @@
with a set of Dockerfiles for each version that we test against in Travis
```bash
docker build -f Dockerfile-2.6 -t rotp_2.6 .
docker run --rm -v $(pwd):/usr/src/app rotp_2.6
+```
+
+Alternately, you may use docker-compose to run all the tests:
+
+```
+docker-compose up
```
## Executable Usage
The rotp rubygem includes CLI version to help with testing and debugging