libsecret 3.4.2 → 3.4.6
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/test/helper.rb +1 -3
- data/test/run-test.rb +20 -42
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f8e5ec197f57c3f8056b755aa4088217ab796d9679410da18f0bf6bfed84813
|
4
|
+
data.tar.gz: f466002b62eb4dcd2809a55cf577c0bde4a59afff472d80f98b1d63bd2ecdba1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0accffa33e055ce9eb3bbdd35492cace057eaefff1049adda6865c5d177b290a4a02aea6f8d50a0ad3119739854dab88a2d268da2d86cf927cc20e4781f782e
|
7
|
+
data.tar.gz: 6b404f7225cfe6c8275d8052c6e7c830370bf243e85445b1972060f83bcebc270732ab6531ea33d401dc5880c416b44cb3d0e5e29cd9b22a9cee59b565ab2e55
|
data/test/helper.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2019 Ruby-
|
1
|
+
# Copyright (C) 2019-2021 Ruby-GNOME Project Team
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -14,8 +14,6 @@
|
|
14
14
|
# License along with this library; if not, write to the Free Software
|
15
15
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
16
|
|
17
|
-
require "test-unit"
|
18
|
-
|
19
17
|
module SecretTestHelper
|
20
18
|
private
|
21
19
|
def only_version(major, minor, micro=nil)
|
data/test/run-test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C) 2019-
|
3
|
+
# Copyright (C) 2019-2021 Ruby-GNOME Project Team
|
4
4
|
#
|
5
5
|
# This library is free software; you can redistribute it and/or
|
6
6
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -16,48 +16,26 @@
|
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
17
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
modules.each do |target, module_name|
|
33
|
-
makefile = File.join(target, "Makefile")
|
34
|
-
if File.exist?(makefile) and system("which make > /dev/null")
|
35
|
-
`make -C #{target.dump} > /dev/null` or exit(false)
|
19
|
+
require_relative "../../glib2/test/run-test"
|
20
|
+
|
21
|
+
run_test(__dir__,
|
22
|
+
[
|
23
|
+
"glib2",
|
24
|
+
"gobject-introspection",
|
25
|
+
"libsecret",
|
26
|
+
]) do
|
27
|
+
begin
|
28
|
+
require "libsecret"
|
29
|
+
rescue GObjectIntrospection::RepositoryError
|
30
|
+
puts("Omit because typelib file doesn't exist: #{$!.message}")
|
31
|
+
exit(true)
|
36
32
|
end
|
37
|
-
$LOAD_PATH.unshift(File.join(target, "ext", module_name))
|
38
|
-
$LOAD_PATH.unshift(File.join(target, "lib"))
|
39
|
-
end
|
40
|
-
|
41
|
-
$LOAD_PATH.unshift(File.join(glib_base, "test"))
|
42
|
-
require "glib-test-init"
|
43
|
-
|
44
|
-
$LOAD_PATH.unshift(File.join(libsecret_base, "test"))
|
45
|
-
require_relative "helper"
|
46
33
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
puts("Omit because typelib file doesn't exist: #{$!.message}")
|
53
|
-
exit(true)
|
54
|
-
end
|
55
|
-
|
56
|
-
require "pkg-config"
|
34
|
+
require "pkg-config"
|
35
|
+
unless PKGConfig.check_version?("libsecret-1", 0, 18, 9)
|
36
|
+
puts("Omit because libsecret is old")
|
37
|
+
exit(true)
|
38
|
+
end
|
57
39
|
|
58
|
-
|
59
|
-
puts("Omit because libsecret is old")
|
60
|
-
exit(true)
|
40
|
+
require_relative "helper"
|
61
41
|
end
|
62
|
-
|
63
|
-
exit(Test::Unit::AutoRunner.run(true, File.join(libsecret_base, "test")))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libsecret
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gobject-introspection
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.4.
|
19
|
+
version: 3.4.6
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.4.
|
26
|
+
version: 3.4.6
|
27
27
|
description: Ruby/libsecret is a Ruby binding of libsecret.
|
28
28
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
29
29
|
executables: []
|
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
|
-
rubygems_version: 3.
|
64
|
+
rubygems_version: 3.3.0.dev
|
65
65
|
signing_key:
|
66
66
|
specification_version: 4
|
67
67
|
summary: Ruby/libsecret is a Ruby binding of libsecret.
|