jwt-base 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZTE0YzMwZDI2YzhhMzA4OTc0YTE5NTIyYTg5ZTQ2YzFjZjRjYzU2MA==
5
+ data.tar.gz: !binary |-
6
+ NjEyYTM4ZTMzMzdiNDJlYTE4MDgzNWJhNTBiYmMzZjZjODI3OThiZQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ Zjk4YTIxMzU0NzFhNTM3MWI2YjBiYTkwOWZkOWJmZjdlMzVjZDRkNzM3MTk1
10
+ NzcxZjg4NjgwYjU1ZjJiNWMxZjdhY2E2MTYxYWRiZjE1MjRlZDdmMTMxZDdl
11
+ ZGQ4MDZmNTE3NWQ4YTZlM2I5ZDVlYmJhMmY1NzE5ZDg1ZmIwODk=
12
+ data.tar.gz: !binary |-
13
+ ZWZlZTA5YzU0MzIwNzU1NWFkZjIzZTQ2ZjQ2Y2U5NDEyNzhkMTAwNGYyNzAy
14
+ MzA5YjMyMzBjMTkyNWNkMzNkMzhlMTU4M2FmOTFkNjYxOWE3ZWZiYzdjNmE2
15
+ MjVkMjI2YTc1NTJkN2JmZTYwNjFhMGE1NWMxN2ZiMTZjNTgwNDk=
data/.codeclimate.yml ADDED
@@ -0,0 +1,25 @@
1
+ ---
2
+ engines:
3
+ duplication:
4
+ enabled: true
5
+ config:
6
+ languages:
7
+ - ruby
8
+ - javascript
9
+ - python
10
+ - php
11
+ fixme:
12
+ enabled: true
13
+ rubocop:
14
+ enabled: true
15
+ ratings:
16
+ paths:
17
+ - "**.inc"
18
+ - "**.js"
19
+ - "**.jsx"
20
+ - "**.module"
21
+ - "**.php"
22
+ - "**.py"
23
+ - "**.rb"
24
+ exclude_paths:
25
+ - spec/
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,5 @@
1
+ Style/Documentation:
2
+ Enabled: false
3
+
4
+ Metrics/LineLength:
5
+ Enabled: false
data/.travis.yml ADDED
@@ -0,0 +1,19 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.0
4
+ - 2.2.5
5
+ - 2.1.2
6
+ - 2.0.0
7
+ before_install: gem install bundler
8
+ deploy:
9
+ provider: rubygems
10
+ api_key:
11
+ secure: rK3h+dIe7FCpxspPnx3geieyhBzuDsAYDf4g/XXcjiaQIbEKNfz7vEPuHTx8fD9iPdZNzuX86pJkuXi4fHPfr0WF0HTd8wOdu8nyfTj6lMBM5NfB4EfosSZzAI/1icE27jAHWty8fySiir3eIK5AkCj/A/B4WaCu4TEbZ1XJlqAXYcWrDMHJj5K5m0MJGUAWqSK+aIne6UMGVkAHFFE0fxVL6aeFXs1a75Ga+XObJ2Ry0BfB57ABx7W9HSO1dpDFFbpoIPZQspypQ7GEwIyYT9dEc5T4Fmo6UGgUZkD2blpBKRJgGnPJMfB6Cb8YykNAUb+OBOZZluqYnQWNRTG1VRN5ATKr0W+ZkVQgMBL9zVoOGGaERhJxggbOmWpX/lkTO7PVcZuiht1EDPVFwkttXin3d/thiRD+TvnY/xgorx2S5bR7qSij8NYYtbTh440pndLlp4tJ8BlxOsj5JWe1GnSuBxEcRaaOQOP1D9+/+d5PP5/dd+8Fn84dhTcy7/PR8mnbjDGxQ1NrcuLTpwFHkYvIRjg3cuQEj+zV08fT0Ole9FjOPkDvzWOOBPJTxtdahn40c/zy2C68DiecYp9R+zkCdvna4SvbzJg/sDkJNzxbYwLtksIZN0zTrDSf8g09zGiPaZVokw58zaqda6V+PKyzuyamwX38iRiaV8ebBKw=
12
+ gem: jwt-base
13
+ on:
14
+ tags: true
15
+ repo: rdodson41/ruby-jwt-base
16
+ addons:
17
+ code_climate:
18
+ repo_token:
19
+ secure: T5j8mRouYwjc9DdAYm0Xn0rf0bSbgW+q5XgfXZhWsEk91z9jZhaot6CG4qsJxaxrdOxtptOwvF41wYt7mdW1vPaujrymuatB3bFGuR0rrUEz55wf+q8jaOaoWIKNFxV4n5eb64gIeF60ScmlVRPON4CJgGyLd11X3aF6o39mIDoJFC2ca19sw1HLH4iFXZLMnQ2WbGobeq5wTYzlSgHEIhPQiUt3z2+yEMV+qmHv896+qnfBMfrZuGn95/oByX+iF2nM7wsOHDOoeBDiidbY/mZdhkbGCw2SDwZ0SFlwzIOw+rlKUBlRy5GqqhDG0HG3uDho0oWnpM8gNK48lbY7DPVR21kb4KFaAf5gFMjsO5VIsldUQm+m0IBeSvecWhV/38ATUkmZTBx1KPm7tZeKrpq6f7u1Ujk6LqwFpPkrnRnq/+eFQCuxTCZa9CfcjUeHeKg1WlvMyKysj0LI0vgRwV/64/exEIvkXWby041nucNyvGzU+IZ2ApLrJtgxXiPXnnrlHEIE66UobzlFZhgo46KhGf2MayZuhtouLJtf1b3xYe4E/jLgh/PJk0J9ZyHK1L4x4cT7Tz2R3IsRXQPyT+ufqEqQ1PL3O1DBjy1Ob3aT+kXWwpS4flbvIdI8ziUwAW6GVK+ZD57qrcN0pcvmPmHCLISIQe/dA93/SpfS1JE=
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at <richard.elias.dodson@gmail.com>. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Richard E. Dodson
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # JWT::Base
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/jwt-base.svg)](https://badge.fury.io/rb/jwt-base)
4
+ [![Dependency Status](https://gemnasium.com/badges/github.com/rdodson41/ruby-jwt-base.svg)](https://gemnasium.com/github.com/rdodson41/ruby-jwt-base)
5
+ [![Build Status](https://travis-ci.org/rdodson41/ruby-jwt-base.svg?branch=master)](https://travis-ci.org/rdodson41/ruby-jwt-base)
6
+ [![Code Climate](https://codeclimate.com/github/rdodson41/ruby-jwt-base/badges/gpa.svg)](https://codeclimate.com/github/rdodson41/ruby-jwt-base)
7
+ [![Test Coverage](https://codeclimate.com/github/rdodson41/ruby-jwt-base/badges/coverage.svg)](https://codeclimate.com/github/rdodson41/ruby-jwt-base/coverage)
8
+ [![Issue Count](https://codeclimate.com/github/rdodson41/ruby-jwt-base/badges/issue_count.svg)](https://codeclimate.com/github/rdodson41/ruby-jwt-base)
9
+
10
+ A thin wrapper of [ruby-jwt](https://jwt.github.io/ruby-jwt), an implementation of the [RFC 7519 OAuth JSON Web Token (JWT)](https://tools.ietf.org/html/rfc7519) standard.
11
+
12
+ ## Installation
13
+
14
+ Add this line to your application's Gemfile:
15
+
16
+ ```ruby
17
+ gem 'jwt-base'
18
+ ```
19
+
20
+ And then execute:
21
+
22
+ $ bundle
23
+
24
+ Or install it yourself as:
25
+
26
+ $ gem install jwt-base
27
+
28
+ ## Development
29
+
30
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
31
+
32
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
33
+
34
+ ## Contributing
35
+
36
+ Bug reports and pull requests are welcome on GitHub at https://github.com/rdodson41/jwt-base. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'jwt/base'
5
+ require 'pry'
6
+
7
+ Pry.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env bash
2
+
3
+ set -euo pipefail
4
+ IFS=$'\n\t'
5
+ set -vx
6
+
7
+ bundle install
data/jwt-base.gemspec ADDED
@@ -0,0 +1,32 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+
4
+ require 'jwt/base/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'jwt-base'
8
+ spec.version = JWT::Base::VERSION
9
+ spec.authors = ['Richard E. Dodson']
10
+ spec.email = ['richard.elias.dodson@gmail.com']
11
+
12
+ spec.summary = 'Ruby JSON Web Token (JWT) Wrapper'
13
+ spec.homepage = 'https://github.com/rdodson41/ruby-jwt-base'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split(/\x0/).reject { |file| file =~ %r{^(test|spec|features)/} }
17
+ spec.bindir = 'exe'
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |file| File.basename(file) }
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.add_runtime_dependency 'jwt', '~> 1.5'
22
+
23
+ spec.add_development_dependency 'bundler', '~> 1.13'
24
+ spec.add_development_dependency 'codeclimate-test-reporter', '~> 0.6'
25
+ spec.add_development_dependency 'faker', '~> 1.6'
26
+ spec.add_development_dependency 'pry', '~> 0.10'
27
+ spec.add_development_dependency 'rake', '~> 11.3'
28
+ spec.add_development_dependency 'rspec', '~> 3.0'
29
+ spec.add_development_dependency 'rubocop', '~> 0.43'
30
+ spec.add_development_dependency 'timecop', '~> 0.8'
31
+ spec.add_development_dependency 'travis', '~> 1.8'
32
+ end
@@ -0,0 +1,7 @@
1
+ require 'delegate'
2
+
3
+ module JWT
4
+ class Base < SimpleDelegator
5
+ VERSION = '0.2.0'.freeze
6
+ end
7
+ end
data/lib/jwt/base.rb ADDED
@@ -0,0 +1,63 @@
1
+ require 'delegate'
2
+ require 'jwt'
3
+ require 'jwt/base/version'
4
+ require 'jwt/core_ext'
5
+ require 'jwt/hash'
6
+ require 'jwt/open_struct'
7
+
8
+ module JWT
9
+ class Base < SimpleDelegator
10
+ def self.encode(*arguments)
11
+ payload = arguments.reduce(reserved_claims, &:merge).compact
12
+ JWT.encode(payload, key, alg)
13
+ end
14
+
15
+ def self.decode(token)
16
+ JWT.decode(token, key, !alg.nil?, algorithm: alg).first
17
+ end
18
+
19
+ def self.reserved_claims
20
+ { iss: iss, sub: sub, aud: aud, exp: exp, nbf: nbf, iat: iat, jti: jti }.compact
21
+ end
22
+
23
+ def self.iss
24
+ nil
25
+ end
26
+
27
+ def self.sub
28
+ nil
29
+ end
30
+
31
+ def self.aud
32
+ nil
33
+ end
34
+
35
+ def self.exp
36
+ nil
37
+ end
38
+
39
+ def self.nbf
40
+ nil
41
+ end
42
+
43
+ def self.iat
44
+ Time.now.to_i
45
+ end
46
+
47
+ def self.jti
48
+ nil
49
+ end
50
+
51
+ def self.key
52
+ nil
53
+ end
54
+
55
+ def self.alg
56
+ nil
57
+ end
58
+
59
+ def encode(*arguments)
60
+ self.class.encode(self, *arguments)
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,29 @@
1
+ require 'jwt/core_ext/hash'
2
+
3
+ module JWT
4
+ module CoreExt
5
+ module Array
6
+ def deep_symbolize_keys
7
+ deep_transform_keys do |key|
8
+ key.is_a?(String) ? key.to_sym : key
9
+ end
10
+ end unless Array.method_defined?(:deep_symbolize_keys)
11
+
12
+ def deep_stringify_keys
13
+ deep_transform_keys do |key|
14
+ key.is_a?(Symbol) ? key.to_s : key
15
+ end
16
+ end unless Array.method_defined?(:deep_stringify_keys)
17
+
18
+ def deep_transform_keys(&block)
19
+ map do |value|
20
+ value.is_a?(Hash) || value.is_a?(Array) ? value.deep_transform_keys(&block) : value
21
+ end
22
+ end unless Array.method_defined?(:deep_transform_keys)
23
+ end
24
+ end
25
+ end
26
+
27
+ class Array
28
+ include JWT::CoreExt::Array
29
+ end
@@ -0,0 +1,35 @@
1
+ require 'jwt/core_ext/array'
2
+
3
+ module JWT
4
+ module CoreExt
5
+ module Hash
6
+ def compact
7
+ select do |_key, value|
8
+ !value.nil?
9
+ end
10
+ end unless Hash.method_defined?(:compact)
11
+
12
+ def deep_symbolize_keys
13
+ deep_transform_keys do |key|
14
+ key.is_a?(String) ? key.to_sym : key
15
+ end
16
+ end unless Hash.method_defined?(:deep_symbolize_keys)
17
+
18
+ def deep_stringify_keys
19
+ deep_transform_keys do |key|
20
+ key.is_a?(Symbol) ? key.to_s : key
21
+ end
22
+ end unless Hash.method_defined?(:deep_stringify_keys)
23
+
24
+ def deep_transform_keys(&block)
25
+ each_with_object({}) do |(key, value), hash|
26
+ hash[yield(key)] = value.is_a?(Hash) || value.is_a?(Array) ? value.deep_transform_keys(&block) : value
27
+ end
28
+ end unless Hash.method_defined?(:deep_transform_keys)
29
+ end
30
+ end
31
+ end
32
+
33
+ class Hash
34
+ include JWT::CoreExt::Hash
35
+ end
@@ -0,0 +1,2 @@
1
+ require 'jwt/core_ext/array'
2
+ require 'jwt/core_ext/hash'
data/lib/jwt/hash.rb ADDED
@@ -0,0 +1,9 @@
1
+ require 'jwt/base'
2
+
3
+ module JWT
4
+ class Hash < Base
5
+ def self.decode(token)
6
+ super.deep_symbolize_keys
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,10 @@
1
+ require 'jwt/base'
2
+ require 'ostruct'
3
+
4
+ module JWT
5
+ class OpenStruct < Base
6
+ def self.decode(token)
7
+ ::OpenStruct.new(super)
8
+ end
9
+ end
10
+ end
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jwt-base
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Richard E. Dodson
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-10-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jwt
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.5'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.13'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.13'
41
+ - !ruby/object:Gem::Dependency
42
+ name: codeclimate-test-reporter
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '0.6'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '0.6'
55
+ - !ruby/object:Gem::Dependency
56
+ name: faker
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.6'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.6'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '0.10'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '0.10'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '11.3'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '11.3'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '0.43'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
123
+ - !ruby/object:Gem::Version
124
+ version: '0.43'
125
+ - !ruby/object:Gem::Dependency
126
+ name: timecop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: '0.8'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ~>
137
+ - !ruby/object:Gem::Version
138
+ version: '0.8'
139
+ - !ruby/object:Gem::Dependency
140
+ name: travis
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ~>
144
+ - !ruby/object:Gem::Version
145
+ version: '1.8'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ~>
151
+ - !ruby/object:Gem::Version
152
+ version: '1.8'
153
+ description:
154
+ email:
155
+ - richard.elias.dodson@gmail.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - .codeclimate.yml
161
+ - .gitignore
162
+ - .rspec
163
+ - .rubocop.yml
164
+ - .travis.yml
165
+ - CODE_OF_CONDUCT.md
166
+ - Gemfile
167
+ - LICENSE.txt
168
+ - README.md
169
+ - Rakefile
170
+ - bin/console
171
+ - bin/setup
172
+ - jwt-base.gemspec
173
+ - lib/jwt/base.rb
174
+ - lib/jwt/base/version.rb
175
+ - lib/jwt/core_ext.rb
176
+ - lib/jwt/core_ext/array.rb
177
+ - lib/jwt/core_ext/hash.rb
178
+ - lib/jwt/hash.rb
179
+ - lib/jwt/open_struct.rb
180
+ homepage: https://github.com/rdodson41/ruby-jwt-base
181
+ licenses:
182
+ - MIT
183
+ metadata: {}
184
+ post_install_message:
185
+ rdoc_options: []
186
+ require_paths:
187
+ - lib
188
+ required_ruby_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ! '>='
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ required_rubygems_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ! '>='
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ requirements: []
199
+ rubyforge_project:
200
+ rubygems_version: 2.4.5
201
+ signing_key:
202
+ specification_version: 4
203
+ summary: Ruby JSON Web Token (JWT) Wrapper
204
+ test_files: []