gpgme 2.0.16 → 2.0.17
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/ext/gpgme/extconf.rb +6 -6
- data/lib/gpgme/version.rb +1 -1
- data/test/crypto_test.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d244b39dde609040606a0084d82da9733a481430
|
4
|
+
data.tar.gz: b31b514225c2f190763406bc11864613477ad5f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69946f680ad5735d7a7237e37b79cbc85806028fac4717c06d8c5bde27a2756268f8810b3651e634c436261dba87d6da47cc9fd54495afb567b9db3ab4c55e0b
|
7
|
+
data.tar.gz: 1d21104d083b606db7018c78ec734bf42c11fcbd428f0bcf81be6653d104638bbc14fb2af41454a508314b174d53a888deb0117e616d0a5eed21d2a4f983feaf
|
data/ext/gpgme/extconf.rb
CHANGED
@@ -62,11 +62,11 @@ EOS
|
|
62
62
|
require 'rubygems'
|
63
63
|
require 'mini_portile2'
|
64
64
|
|
65
|
-
libgpg_error_recipe = MiniPortile.new('libgpg-error', '1.
|
65
|
+
libgpg_error_recipe = MiniPortile.new('libgpg-error', '1.32').tap do |recipe|
|
66
66
|
recipe.target = File.join(ROOT, "ports")
|
67
67
|
recipe.files = [{
|
68
68
|
:url => "https://www.gnupg.org/ftp/gcrypt/#{recipe.name}/#{recipe.name}-#{recipe.version}.tar.bz2",
|
69
|
-
:sha256 => '
|
69
|
+
:sha256 => 'c345c5e73cc2332f8d50db84a2280abfb1d8f6d4f1858b9daa30404db44540ca'
|
70
70
|
}]
|
71
71
|
recipe.configure_options = [
|
72
72
|
'--disable-shared',
|
@@ -82,11 +82,11 @@ EOS
|
|
82
82
|
recipe.activate
|
83
83
|
end
|
84
84
|
|
85
|
-
libassuan_recipe = MiniPortile.new('libassuan', '2.
|
85
|
+
libassuan_recipe = MiniPortile.new('libassuan', '2.5.1').tap do |recipe|
|
86
86
|
recipe.target = File.join(ROOT, "ports")
|
87
87
|
recipe.files = [{
|
88
88
|
:url => "https://www.gnupg.org/ftp/gcrypt/#{recipe.name}/#{recipe.name}-#{recipe.version}.tar.bz2",
|
89
|
-
:sha256 => '
|
89
|
+
:sha256 => '47f96c37b4f2aac289f0bc1bacfa8bd8b4b209a488d3d15e2229cb6cc9b26449'
|
90
90
|
}]
|
91
91
|
recipe.configure_options = [
|
92
92
|
'--disable-shared',
|
@@ -102,11 +102,11 @@ EOS
|
|
102
102
|
recipe.activate
|
103
103
|
end
|
104
104
|
|
105
|
-
gpgme_recipe = MiniPortile.new('gpgme', '1.
|
105
|
+
gpgme_recipe = MiniPortile.new('gpgme', '1.12.0').tap do |recipe|
|
106
106
|
recipe.target = File.join(ROOT, "ports")
|
107
107
|
recipe.files = [{
|
108
108
|
:url => "https://www.gnupg.org/ftp/gcrypt/#{recipe.name}/#{recipe.name}-#{recipe.version}.tar.bz2",
|
109
|
-
:sha256 => '
|
109
|
+
:sha256 => 'b4dc951c3743a60e2e120a77892e9e864fb936b2e58e7c77e8581f4d050e8cd8'
|
110
110
|
}]
|
111
111
|
recipe.configure_options = [
|
112
112
|
'--disable-shared',
|
data/lib/gpgme/version.rb
CHANGED
data/test/crypto_test.rb
CHANGED
@@ -63,7 +63,7 @@ describe GPGME::Crypto do
|
|
63
63
|
|
64
64
|
remove_key key
|
65
65
|
encrypted.seek 0
|
66
|
-
assert_raises GPGME::Error::
|
66
|
+
assert_raises GPGME::Error::NoSecretKey do
|
67
67
|
crypto.decrypt(encrypted)
|
68
68
|
end
|
69
69
|
import_key key
|
@@ -79,7 +79,7 @@ describe GPGME::Crypto do
|
|
79
79
|
|
80
80
|
remove_key key
|
81
81
|
encrypted.seek 0
|
82
|
-
assert_raises GPGME::Error::
|
82
|
+
assert_raises GPGME::Error::NoSecretKey do
|
83
83
|
crypto.decrypt(encrypted)
|
84
84
|
end
|
85
85
|
import_key key
|
@@ -195,7 +195,7 @@ describe GPGME::Crypto do
|
|
195
195
|
# it "raises WrongKeyUsage"
|
196
196
|
|
197
197
|
it "raises DecryptFailed when the decrypting key isn't available" do
|
198
|
-
assert_raises GPGME::Error::
|
198
|
+
assert_raises GPGME::Error::NoSecretKey do
|
199
199
|
GPGME::Crypto.new.decrypt(TEXT[:unavailable])
|
200
200
|
end
|
201
201
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gpgme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daiki Ueno
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-11-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mini_portile2
|