-
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 #116 from excpt/master
Drop echoe dependency for gem releases
- Loading branch information
Showing
9 changed files
with
62 additions
and
75 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,4 @@ | ||
# encoding: utf-8 | ||
source 'https://rubygems.org' | ||
|
||
gem 'json', '>= 1.2.4' | ||
gem 'multi_json', '~> 1.0', platforms: :ruby_18 | ||
gem 'jruby-openssl', platforms: :jruby | ||
|
||
gem 'rubysl', '~> 2.0', platforms: :rbx | ||
|
||
group :development do | ||
gem 'echoe', '>= 4.6.3' | ||
end | ||
|
||
group :test, :development do | ||
gem 'rake' | ||
gem 'rspec', '~> 3' | ||
gem 'simplecov' | ||
gem 'simplecov-json' | ||
gem 'codeclimate-test-reporter', require: nil | ||
end | ||
gemspec |
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,18 +1 @@ | ||
# encoding: utf-8 | ||
require 'rubygems' | ||
require 'rake' | ||
require 'echoe' | ||
|
||
Echoe.new('jwt', '1.5.2') 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.development_dependencies = ['echoe >=4.6.3'] | ||
p.licenses = 'MIT' | ||
end | ||
|
||
task :test do | ||
sh 'rspec spec/jwt_spec.rb' | ||
end | ||
require 'bundler/gem_tasks' |
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,5 +1,3 @@ | ||
# encoding: utf-8 | ||
|
||
require 'base64' | ||
require 'openssl' | ||
require 'jwt/json' | ||
|
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,4 +1,3 @@ | ||
# encoding: utf-8 | ||
module JWT | ||
# JSON fallback implementation or ruby 1.8.x | ||
module Json | ||
|
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,23 @@ | ||
# encoding: utf-8 | ||
|
||
# Moments version builder module | ||
module JWT | ||
def self.gem_version | ||
Gem::Version.new VERSION::STRING | ||
end | ||
|
||
# Moments version builder module | ||
module VERSION | ||
# major version | ||
MAJOR = 1 | ||
# minor version | ||
MINOR = 5 | ||
# tiny version | ||
TINY = 3 | ||
# alpha, beta, etc. tag | ||
PRE = 'dev' | ||
|
||
# Build version string | ||
STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.') | ||
end | ||
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
lib = File.expand_path('../lib/', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'jwt/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'jwt' | ||
spec.version = JWT.gem_version | ||
spec.authors = [ | ||
'Jeff Lindsay', | ||
'Tim Rudat' | ||
] | ||
spec.email = '[email protected]' | ||
spec.summary = 'JSON Web Token implementation in Ruby' | ||
spec.description = 'A pure ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard.' | ||
spec.homepage = 'http://github.com/jwt/ruby-jwt' | ||
spec.license = 'MIT' | ||
|
||
spec.files = `git ls-files -z`.split("\x0") | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = %w(lib) | ||
|
||
spec.add_development_dependency 'bundler' | ||
spec.add_development_dependency 'rake' | ||
spec.add_development_dependency 'rspec' | ||
spec.add_development_dependency 'simplecov' | ||
spec.add_development_dependency 'simplecov-json' | ||
spec.add_development_dependency 'codeclimate-test-reporter' | ||
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# encoding: utf-8 | ||
require 'rspec' | ||
require 'simplecov' | ||
require 'simplecov-json' | ||
|