jwt 1.5.1 → 1.5.2
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 +4 -4
- data/LICENSE +7 -0
- data/Manifest +3 -1
- data/README.md +368 -0
- data/Rakefile +6 -6
- data/jwt.gemspec +6 -6
- data/lib/jwt.rb +45 -45
- data/lib/jwt/json.rb +2 -2
- data/spec/jwt_spec.rb +327 -378
- data/spec/{helper.rb → spec_helper.rb} +14 -1
- metadata +8 -4
@@ -2,6 +2,7 @@
|
|
2
2
|
require 'rspec'
|
3
3
|
require 'simplecov'
|
4
4
|
require 'simplecov-json'
|
5
|
+
require 'codeclimate-test-reporter'
|
5
6
|
|
6
7
|
SimpleCov.configure do
|
7
8
|
root File.join(File.dirname(__FILE__), '..')
|
@@ -15,5 +16,17 @@ SimpleCov.configure do
|
|
15
16
|
end
|
16
17
|
|
17
18
|
SimpleCov.start if ENV['COVERAGE']
|
19
|
+
CodeClimate::TestReporter.start if ENV['CODECLIMATE_REPO_TOKEN']
|
18
20
|
|
19
|
-
|
21
|
+
CERT_PATH = File.join(File.dirname(__FILE__), 'fixtures', 'certs')
|
22
|
+
|
23
|
+
RSpec.configure do |config|
|
24
|
+
config.expect_with :rspec do |c|
|
25
|
+
c.syntax = [:should, :expect]
|
26
|
+
end
|
27
|
+
|
28
|
+
config.run_all_when_everything_filtered = true
|
29
|
+
config.filter_run :focus
|
30
|
+
|
31
|
+
config.order = 'random'
|
32
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jwt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Lindsay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: echoe
|
@@ -29,16 +29,20 @@ email: progrium@gmail.com
|
|
29
29
|
executables: []
|
30
30
|
extensions: []
|
31
31
|
extra_rdoc_files:
|
32
|
+
- README.md
|
33
|
+
- LICENSE
|
32
34
|
- lib/jwt.rb
|
33
35
|
- lib/jwt/json.rb
|
34
36
|
files:
|
37
|
+
- LICENSE
|
35
38
|
- Manifest
|
39
|
+
- README.md
|
36
40
|
- Rakefile
|
37
41
|
- jwt.gemspec
|
38
42
|
- lib/jwt.rb
|
39
43
|
- lib/jwt/json.rb
|
40
|
-
- spec/helper.rb
|
41
44
|
- spec/jwt_spec.rb
|
45
|
+
- spec/spec_helper.rb
|
42
46
|
homepage: http://github.com/progrium/ruby-jwt
|
43
47
|
licenses:
|
44
48
|
- MIT
|
@@ -64,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
68
|
version: '1.2'
|
65
69
|
requirements: []
|
66
70
|
rubyforge_project: jwt
|
67
|
-
rubygems_version: 2.4.
|
71
|
+
rubygems_version: 2.4.8
|
68
72
|
signing_key:
|
69
73
|
specification_version: 4
|
70
74
|
summary: JSON Web Token implementation in Ruby
|