thieve 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/thieve/key_info.rb +5 -0
  3. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69a229827b5960fc3f84edcfcddea55fa5ac155c
4
- data.tar.gz: cf9e9e72a99cbb5db80e3edb3e754040c4597f34
3
+ metadata.gz: 5c5f790a7aa2cc2585a92707a7b3a5dac65a8a81
4
+ data.tar.gz: 7f4cbec8b145fbdf7be891b4621edca1241b309e
5
5
  SHA512:
6
- metadata.gz: 593bc4972ab17bf4a390f137fa7e767d269f50834e75ed5f9cddc4aa0cffc65f821fbf73aca483982ddf9337967bd82695b3e649960e690d967ad47f21108bc4
7
- data.tar.gz: 7b90178d652bd2956943746ad0635a955f703132c80cf77e23f6794e763fd3bc42f3bc30b72da97389c600b74963751a89d34002b26889ac4d345178b735e9ae
6
+ metadata.gz: 6f181a1385015cc1165f51c8a254efa865ac25f2924ef2546026634db9f508cf55b3be7e57bb01bda5d0377e32eee45f4557c4f6baba292e958b00085b39c9a4
7
+ data.tar.gz: b60e7954951dde821078362d286d45a15ff736b652151af126431a0e9169978c6e3912e05c0430a5276e55d55e4d6e83b6e4dd1ec9ec6dd1b2dd2bc9281bbe26
@@ -114,6 +114,11 @@ class Thieve::KeyInfo
114
114
  end
115
115
  end
116
116
  @openssl = nil
117
+ when "PGP SIGNATURE"
118
+ # Not really sure what to do with this
119
+ @ext = "asc"
120
+ @fingerprint = Digest::SHA256.hexdigest(@file.to_s + @key)
121
+ @openssl = nil
117
122
  when "PRIVATE KEY"
118
123
  @openssl = OpenSSL::PKey::RSA.new(@key)
119
124
  @fingerprint = OpenSSL::Digest::SHA1.hexdigest(
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thieve
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Whittaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-29 00:00:00.000000000 Z
11
+ date: 2016-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '10.5'
19
+ version: '11.2'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 10.5.0
22
+ version: 11.2.2
23
23
  type: :development
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '10.5'
29
+ version: '11.2'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 10.5.0
32
+ version: 11.2.2
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: hilighter
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '0.1'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 0.1.3
42
+ version: 0.1.7
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '0.1'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 0.1.3
52
+ version: 0.1.7
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: scoobydoo
55
55
  requirement: !ruby/object:Gem::Requirement