-
Notifications
You must be signed in to change notification settings - Fork 376
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 #10 from sporkmonger/master
Fix issue with signature verification in JRuby
- Loading branch information
Showing
6 changed files
with
72 additions
and
28 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
language: ruby | ||
rvm: | ||
- 1.8.7 | ||
- 1.9.2 | ||
- 1.9.3 | ||
- jruby | ||
- ree | ||
script: "bundle exec rake test" |
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,8 +1,14 @@ | ||
source "https://rubygems.org" | ||
source :rubygems | ||
|
||
gem "multi_json", "~> 1.0" | ||
gem 'json', '>= 1.2.4' | ||
gem 'multi_json', '~> 1.0' | ||
gem 'jruby-openssl', :platforms => :jruby | ||
|
||
group :development do | ||
gem "echoe", ">=4.6.3" | ||
gem "rspec" | ||
gem 'echoe', '>= 4.6.3' | ||
end | ||
|
||
group :test, :development do | ||
gem 'rake' | ||
gem 'rspec' | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,7 @@ The tests are written with rspec. Given you have rake and rspec, you can run tes | |
* Ilya Zhitomirskiy <[email protected]> | ||
* Daniel Grippi <[email protected]> | ||
* Jeff Lindsay <[email protected]> | ||
* Bob Aman <[email protected]> | ||
|
||
## License | ||
|
||
|
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 |
---|---|---|
|
@@ -2,16 +2,16 @@ require 'rubygems' | |
require 'rake' | ||
require 'echoe' | ||
|
||
Echoe.new('jwt', '0.1.4') do |p| | ||
Echoe.new('jwt', '0.1.5') do |p| | ||
p.description = "JSON Web Token implementation in Ruby" | ||
p.url = "http://github.com/progrium/ruby-jwt" | ||
p.author = "Jeff Lindsay" | ||
p.email = "[email protected]" | ||
p.ignore_pattern = ["tmp/*"] | ||
p.runtime_dependencies = ["multi_json ~> 1.0"] | ||
p.runtime_dependencies = ["multi_json ~>1.0"] | ||
p.development_dependencies = ["echoe >=4.6.3"] | ||
end | ||
|
||
task :test do | ||
sh "rspec spec/jwt.rb" | ||
sh "rspec spec/jwt_spec.rb" | ||
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