gpgme 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gpgme/extconf.rb +1 -10
- data/lib/gpgme/constants.rb +33 -5
- 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: e65993f7a3db501f55c06f44ca45ffba42aca481
|
4
|
+
data.tar.gz: 8e7b33418f70db73635f0c6cb7c1b8ec8684542a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 496b076d1eb632a40a6b18b88338060a26f1966e3fb81c3a02012894e6db877a80346f3493d7567a999fb8187797c297fc1d19918bb895e73e61fe277610cc11
|
7
|
+
data.tar.gz: 83974877c9b57b0284022f5660e442961f3d5d6db30636e28fac1ce24d5c0092940ba613816a79ca13befee61e88892b2f090861527fa904ce3224d3fe3eea8b
|
data/ext/gpgme/extconf.rb
CHANGED
@@ -45,16 +45,7 @@ if arg_config('--use-system-libraries', ENV['RUBY_GPGME_USE_SYSTEM_LIBRARIES'])
|
|
45
45
|
$CFLAGS += ' ' << `gpgme-config --cflags`.chomp
|
46
46
|
$libs += ' ' << `gpgme-config --libs`.chomp
|
47
47
|
else
|
48
|
-
|
49
|
-
message important_message
|
50
|
-
if !$stdout.tty? && File.chardev?('/dev/tty')
|
51
|
-
File.open('/dev/tty', 'w') { |tty|
|
52
|
-
tty.print important_message
|
53
|
-
}
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
|
-
message! <<-'EOS'
|
48
|
+
message <<-'EOS'
|
58
49
|
************************************************************************
|
59
50
|
IMPORTANT! gpgme gem uses locally built versions of required C libraries,
|
60
51
|
namely libgpg-error, libassuan, and gpgme.
|
data/lib/gpgme/constants.rb
CHANGED
@@ -36,6 +36,9 @@ module GPGME
|
|
36
36
|
DATA_ENCODING_BINARY = GPGME_DATA_ENCODING_BINARY
|
37
37
|
DATA_ENCODING_NONE = GPGME_DATA_ENCODING_NONE
|
38
38
|
ENCRYPT_ALWAYS_TRUST = GPGME_ENCRYPT_ALWAYS_TRUST
|
39
|
+
if defined?(GPGME_ENCRYPT_NO_ENCRYPT_TO)
|
40
|
+
ENCRYPT_NO_ENCRYPT_TO = GPGME_ENCRYPT_NO_ENCRYPT_TO
|
41
|
+
end
|
39
42
|
IMPORT_NEW = GPGME_IMPORT_NEW
|
40
43
|
IMPORT_SECRET = GPGME_IMPORT_SECRET
|
41
44
|
IMPORT_SIG = GPGME_IMPORT_SIG
|
@@ -45,6 +48,12 @@ module GPGME
|
|
45
48
|
KEYLIST_MODE_LOCAL = GPGME_KEYLIST_MODE_LOCAL
|
46
49
|
KEYLIST_MODE_SIGS = GPGME_KEYLIST_MODE_SIGS
|
47
50
|
KEYLIST_MODE_VALIDATE = GPGME_KEYLIST_MODE_VALIDATE
|
51
|
+
if defined?(GPGME_KEYLIST_MODE_SIG_NOTATIONS)
|
52
|
+
KEYLIST_MODE_SIG_NOTATIONS = GPGME_KEYLIST_MODE_SIG_NOTATIONS
|
53
|
+
end
|
54
|
+
if defined?(GPGME_KEYLIST_MODE_EPHEMERAL)
|
55
|
+
KEYLIST_MODE_EPHEMERAL = GPGME_KEYLIST_MODE_EPHEMERAL
|
56
|
+
end
|
48
57
|
MD_CRC24_RFC2440 = GPGME_MD_CRC24_RFC2440
|
49
58
|
MD_CRC32 = GPGME_MD_CRC32
|
50
59
|
MD_CRC32_RFC1510 = GPGME_MD_CRC32_RFC1510
|
@@ -58,17 +67,30 @@ module GPGME
|
|
58
67
|
MD_SHA384 = GPGME_MD_SHA384
|
59
68
|
MD_SHA512 = GPGME_MD_SHA512
|
60
69
|
MD_TIGER = GPGME_MD_TIGER
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
70
|
+
if defined?(GPGME_PINENTRY_MODE_DEFAULT)
|
71
|
+
PINENTRY_MODE_DEFAULT = GPGME_PINENTRY_MODE_DEFAULT
|
72
|
+
end
|
73
|
+
if defined?(GPGME_PINENTRY_MODE_ASK)
|
74
|
+
PINENTRY_MODE_ASK = GPGME_PINENTRY_MODE_ASK
|
75
|
+
end
|
76
|
+
if defined?(GPGME_PINENTRY_MODE_CANCEL)
|
77
|
+
PINENTRY_MODE_CANCEL = GPGME_PINENTRY_MODE_CANCEL
|
78
|
+
end
|
79
|
+
if defined?(GPGME_PINENTRY_MODE_ERROR)
|
80
|
+
PINENTRY_MODE_ERROR = GPGME_PINENTRY_MODE_ERROR
|
81
|
+
end
|
82
|
+
if defined?(GPGME_PINENTRY_MODE_LOOPBACK)
|
83
|
+
PINENTRY_MODE_LOOPBACK = GPGME_PINENTRY_MODE_LOOPBACK
|
84
|
+
end
|
66
85
|
PK_DSA = GPGME_PK_DSA
|
67
86
|
PK_ELG = GPGME_PK_ELG
|
68
87
|
PK_ELG_E = GPGME_PK_ELG_E
|
69
88
|
PK_RSA = GPGME_PK_RSA
|
70
89
|
PROTOCOL_CMS = GPGME_PROTOCOL_CMS
|
71
90
|
PROTOCOL_OpenPGP = GPGME_PROTOCOL_OpenPGP
|
91
|
+
if defined?(GPGME_PROTOCOL_ASSUAN)
|
92
|
+
PROTOCOL_ASSUAN = GPGME_PROTOCOL_ASSUAN
|
93
|
+
end
|
72
94
|
SIGSUM_BAD_POLICY = GPGME_SIGSUM_BAD_POLICY
|
73
95
|
SIGSUM_CRL_MISSING = GPGME_SIGSUM_CRL_MISSING
|
74
96
|
SIGSUM_CRL_TOO_OLD = GPGME_SIGSUM_CRL_TOO_OLD
|
@@ -141,6 +163,12 @@ module GPGME
|
|
141
163
|
STATUS_NO_PUBKEY = GPGME_STATUS_NO_PUBKEY
|
142
164
|
STATUS_NO_RECP = GPGME_STATUS_NO_RECP
|
143
165
|
STATUS_NO_SECKEY = GPGME_STATUS_NO_SECKEY
|
166
|
+
if defined?(GPGME_STATUS_PKA_TRUST_BAD)
|
167
|
+
STATUS_PKA_TRUST_BAD = GPGME_STATUS_PKA_TRUST_BAD
|
168
|
+
end
|
169
|
+
if defined?(GPGME_STATUS_PKA_TRUST_GOOD)
|
170
|
+
STATUS_PKA_TRUST_GOOD = GPGME_STATUS_PKA_TRUST_GOOD
|
171
|
+
end
|
144
172
|
STATUS_POLICY_URL = GPGME_STATUS_POLICY_URL
|
145
173
|
STATUS_PROGRESS = GPGME_STATUS_PROGRESS
|
146
174
|
STATUS_RSA_OR_IDEA = GPGME_STATUS_RSA_OR_IDEA
|
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.5
|
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: 2014-03-
|
12
|
+
date: 2014-03-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mini_portile
|