libsecret 4.0.3 → 4.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/libsecret.gemspec +2 -3
- metadata +5 -8
- data/test/helper.rb +0 -25
- data/test/run-test.rb +0 -41
- data/test/test-schema.rb +0 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1c75322962700f45aaf81ae1ff6ef412d6e65c8331bda60b86bb7dff103af26
|
4
|
+
data.tar.gz: 433ca08627e67a2e487f7e9268c855d704a7456120291d62f82c38b7c4ffe592
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64ef8455adddf24e5fec6c3cb9e25477006ec488bd661503a25a0fa98e12c6bbcb15760c79e3fd84e1e195b16cf68ecf427562ee30d9b25c99081a41b01ebeb2
|
7
|
+
data.tar.gz: 4d8ab74433b025d7928c17a240b124451ea7ece14bd297976d0be524e528a8e1cb5bc8da25682a7e6765e0d69848a7f083e1b5db83338221033e789066f56e27
|
data/libsecret.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
#
|
3
|
-
# Copyright (C) 2019 Ruby-GNOME Project Team
|
3
|
+
# Copyright (C) 2019-2022 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
|
@@ -37,9 +37,8 @@ Gem::Specification.new do |s|
|
|
37
37
|
"dependency-check/Rakefile",
|
38
38
|
]
|
39
39
|
s.files += Dir.glob("lib/**/*.rb")
|
40
|
-
s.files += Dir.glob("test/**/*")
|
41
40
|
|
42
41
|
s.add_runtime_dependency("gobject-introspection", "= #{s.version}")
|
43
42
|
|
44
|
-
s.metadata["msys2_mingw_dependencies"] = "
|
43
|
+
s.metadata["msys2_mingw_dependencies"] = "libsecret"
|
45
44
|
end
|
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: 4.0.
|
4
|
+
version: 4.0.5
|
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: 2022-
|
11
|
+
date: 2022-12-12 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: 4.0.
|
19
|
+
version: 4.0.5
|
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: 4.0.
|
26
|
+
version: 4.0.5
|
27
27
|
description: Ruby/libsecret is a Ruby binding of libsecret.
|
28
28
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
29
29
|
executables: []
|
@@ -39,14 +39,11 @@ files:
|
|
39
39
|
- lib/libsecret/loader.rb
|
40
40
|
- lib/libsecret/schema.rb
|
41
41
|
- libsecret.gemspec
|
42
|
-
- test/helper.rb
|
43
|
-
- test/run-test.rb
|
44
|
-
- test/test-schema.rb
|
45
42
|
homepage: https://ruby-gnome2.osdn.jp/
|
46
43
|
licenses:
|
47
44
|
- LGPL-2.1+
|
48
45
|
metadata:
|
49
|
-
msys2_mingw_dependencies:
|
46
|
+
msys2_mingw_dependencies: libsecret
|
50
47
|
post_install_message:
|
51
48
|
rdoc_options: []
|
52
49
|
require_paths:
|
data/test/helper.rb
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# Copyright (C) 2019-2021 Ruby-GNOME Project Team
|
2
|
-
#
|
3
|
-
# This library is free software; you can redistribute it and/or
|
4
|
-
# modify it under the terms of the GNU Lesser General Public
|
5
|
-
# License as published by the Free Software Foundation; either
|
6
|
-
# version 2.1 of the License, or (at your option) any later version.
|
7
|
-
#
|
8
|
-
# This library is distributed in the hope that it will be useful,
|
9
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
-
# Lesser General Public License for more details.
|
12
|
-
#
|
13
|
-
# You should have received a copy of the GNU Lesser General Public
|
14
|
-
# License along with this library; if not, write to the Free Software
|
15
|
-
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
-
|
17
|
-
module SecretTestHelper
|
18
|
-
private
|
19
|
-
def only_version(major, minor, micro=nil)
|
20
|
-
micro ||= 0
|
21
|
-
unless Secret.or_later?(major, minor, micro)
|
22
|
-
omit("Require libsecret >= #{major}.#{minor}.#{micro}")
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
data/test/run-test.rb
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
#
|
3
|
-
# Copyright (C) 2019-2021 Ruby-GNOME Project Team
|
4
|
-
#
|
5
|
-
# This library is free software; you can redistribute it and/or
|
6
|
-
# modify it under the terms of the GNU Lesser General Public
|
7
|
-
# License as published by the Free Software Foundation; either
|
8
|
-
# version 2.1 of the License, or (at your option) any later version.
|
9
|
-
#
|
10
|
-
# This library is distributed in the hope that it will be useful,
|
11
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
-
# Lesser General Public License for more details.
|
14
|
-
#
|
15
|
-
# You should have received a copy of the GNU Lesser General Public
|
16
|
-
# License along with this library; if not, write to the Free Software
|
17
|
-
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
|
-
|
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)
|
32
|
-
end
|
33
|
-
|
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
|
39
|
-
|
40
|
-
require_relative "helper"
|
41
|
-
end
|
data/test/test-schema.rb
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
# Copyright (C) 2019-2022 Ruby-GNOME Project Team
|
2
|
-
#
|
3
|
-
# This library is free software; you can redistribute it and/or
|
4
|
-
# modify it under the terms of the GNU Lesser General Public
|
5
|
-
# License as published by the Free Software Foundation; either
|
6
|
-
# version 2.1 of the License, or (at your option) any later version.
|
7
|
-
#
|
8
|
-
# This library is distributed in the hope that it will be useful,
|
9
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
-
# Lesser General Public License for more details.
|
12
|
-
#
|
13
|
-
# You should have received a copy of the GNU Lesser General Public
|
14
|
-
# License along with this library; if not, write to the Free Software
|
15
|
-
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
-
|
17
|
-
class TestSecretSchema < Test::Unit::TestCase
|
18
|
-
test ".new" do
|
19
|
-
schema = Secret::Schema.new("jp.osdn.ruby-gnome2.test",
|
20
|
-
:none,
|
21
|
-
{"name" => Secret::SchemaAttributeType::STRING})
|
22
|
-
assert_equal([
|
23
|
-
"jp.osdn.ruby-gnome2.test",
|
24
|
-
Secret::SchemaFlags::NONE,
|
25
|
-
{
|
26
|
-
"name" => Secret::SchemaAttributeType::STRING,
|
27
|
-
},
|
28
|
-
],
|
29
|
-
[
|
30
|
-
schema.name,
|
31
|
-
schema.flags,
|
32
|
-
schema.attributes,
|
33
|
-
])
|
34
|
-
end
|
35
|
-
end
|