-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from nats-io/nkeys-jwt
Add support for NKEYS and JWT based auth
- Loading branch information
Showing
15 changed files
with
317 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,19 @@ | ||
language: ruby | ||
|
||
rvm: | ||
- 2.4 | ||
- 2.5 | ||
- ruby-head | ||
- 2.6 | ||
|
||
cache: | ||
directories: | ||
- $HOME/gnatsd | ||
- $HOME/nats-server | ||
|
||
before_install: | ||
- bash ./scripts/install_gnatsd.sh | ||
|
||
before_script: | ||
- export PATH=$HOME/gnatsd:$PATH | ||
- export PATH=$HOME/nats-server:$PATH | ||
|
||
sudo: required | ||
dist: trusty | ||
dist: xenial | ||
bundler_args: --without server | ||
|
||
matrix: | ||
include: | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
script: "bundle exec rake spec:client:jruby" | ||
jdk: openjdk8 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
script: "bundle exec rake spec:client:jruby" | ||
jdk: oraclejdk8 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
script: "bundle exec rake spec:client:jruby" | ||
jdk: oraclejdk9 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
script: "bundle exec rake spec:client:jruby" | ||
jdk: oraclejdk10 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
script: "bundle exec rake spec:client:jruby" | ||
jdk: oraclejdk11 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
script: "bundle exec rake spec:client:jruby" | ||
jdk: openjdk9 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
script: "bundle exec rake spec:client:jruby" | ||
jdk: openjdk10 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
script: "bundle exec rake spec:client:jruby" | ||
jdk: openjdk11 | ||
allow_failures: | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
jdk: openjdk8 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
jdk: oraclejdk8 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
jdk: oraclejdk9 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
jdk: oraclejdk10 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
jdk: oraclejdk11 | ||
- rvm: ruby-head | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
jdk: openjdk9 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
jdk: openjdk10 | ||
- rvm: jruby | ||
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false' JAVA_OPTS='-Djava.security.egd=file:///dev/urandom' | ||
jdk: openjdk11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,7 @@ group :server do | |
gem 'thin' | ||
gem 'rack', ">= 2.0.6" | ||
end | ||
|
||
group :v2 do | ||
gem 'nkeys' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.