jwk-tool 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/jwk-tool.gemspec +18 -17
  4. metadata +20 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9773af2ef71f2d7f7dcdaad762f6947f1fe65f70
4
- data.tar.gz: 7092b06c11e8968898f8f7630a32f401d0ddc589
3
+ metadata.gz: 445df1e32978abe1f3d6006c1dfc22403b53f602
4
+ data.tar.gz: dbb9ab5c4543267d5e6c83e32abebe64faa30265
5
5
  SHA512:
6
- metadata.gz: 899e10d4b0594d4e6290bdca73e27c36a6f4c9537282b250e1a9f762f2da0045230bd9de48d0876ef2c881c92cc565073d7375224df480ce053767a828cbad8f
7
- data.tar.gz: b54ae1e96dfb788f70252eca50a63ca0e4e7aff96d61a7e4e2d9b2e5b85e8a0192fab70f159c13996e7142777c6d7188a3cb0bf71e3b33ceb1d240f8c96693b4
6
+ metadata.gz: 41ea23f0c81ea4409f00ee53213e7af27b68072fe52b4e796b68c739b01afc61bf149ade918877f5ce4911a5689aefaa5f79af2a5a08d1f02728c15d7f1b009b
7
+ data.tar.gz: b0a92a577a21b6b165261bd2940f79b0ffed3086e0a44ec019ad45025917241ff75bfea42777bb4e9ebd93468a772bee2dc78999ce1e162429709a9e10b0aa8b
data/README.md CHANGED
@@ -18,7 +18,7 @@ To use the keys as JSON Web Key (JSON::JWK) defined in json-jwk, just read files
18
18
  An encryption example at sender node using public key.
19
19
 
20
20
  ```ruby
21
- require 'json/jwk'
21
+ require 'json/jwt'
22
22
  # read public key from file
23
23
  jwk_pub = JSON::JWK.new(JSON.parse(open('key.pub').read))
24
24
  # encrypt plain text "hogehogefoofoo"
@@ -36,7 +36,7 @@ json = jwe.as_json.to_json
36
36
  A decryption example at receiver node using private key.
37
37
 
38
38
  ```ruby
39
- require 'json/jwk'
39
+ require 'json/jwt'
40
40
  # read private key from file
41
41
  jwk = JSON::JWK.new(JSON.parse(open('key').read))
42
42
  # decrypt JSON format cipher data
@@ -1,23 +1,24 @@
1
- Gem::Specification.new do |gem|
2
- gem.name = "jwk-tool"
3
- gem.version = "0.0.5"
1
+ Gem::Specification.new do |spec|
2
+ spec.name = "jwk-tool"
3
+ spec.version = "0.0.6"
4
4
 
5
- gem.authors = ["Toyokazu Akiyama"]
6
- gem.email = ["toyokazu@gmail.com"]
7
- gem.description = %q{Command line tools for operating JSON Web Key}
8
- gem.summary = %q{Command line tools for operating JSON Web Key}
9
- gem.homepage = "https://github.com/toyokazu/jwk-tool"
5
+ spec.authors = ["Toyokazu Akiyama"]
6
+ spec.email = ["toyokazu@gmail.com"]
7
+ spec.description = %q{Command line tools for operating JSON Web Key}
8
+ spec.summary = %q{Command line tools for operating JSON Web Key}
9
+ spec.homepage = "https://github.com/toyokazu/jwk-tool"
10
10
 
11
- gem.files = `git ls-files`.split($\)
12
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
- gem.require_paths = ["lib"]
15
- gem.has_rdoc = false
16
- gem.license = "MIT"
11
+ spec.files = `git ls-files`.split($\)
12
+ spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
14
+ spec.require_paths = ["lib"]
15
+ spec.has_rdoc = false
16
+ spec.license = "MIT"
17
17
 
18
- gem.required_ruby_version = '>= 1.9.3'
18
+ spec.required_ruby_version = '>= 1.9.3'
19
19
 
20
- gem.add_runtime_dependency("json-jwt", [">= 1.5.2"])
20
+ spec.add_runtime_dependency("json-jwt", [">= 1.5.2"])
21
21
 
22
- gem.add_development_dependency("rake", [">= 0.9.2"])
22
+ spec.add_development_dependency "bundler", "~> 1.10"
23
+ spec.add_development_dependency "rake", "~> 10.0"
23
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwk-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toyokazu Akiyama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-04 00:00:00.000000000 Z
11
+ date: 2016-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-jwt
@@ -24,20 +24,34 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.5.2
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.10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.10'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - ">="
45
+ - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: 0.9.2
47
+ version: '10.0'
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
- - - ">="
52
+ - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: 0.9.2
54
+ version: '10.0'
41
55
  description: Command line tools for operating JSON Web Key
42
56
  email:
43
57
  - toyokazu@gmail.com