libsecret 4.0.3 → 4.0.4
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: 1dfbec68f3f087accf5ac4f98b2e46307cb3e7e35167685a4f080eb316406756
|
4
|
+
data.tar.gz: ac39fbbe0b9cf502dd6c134b7c7685ab12cc9cab8fd4a5f72c3068a77839b97b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 132b52023b5a8495e6817cc99e711085dc01ebeb58726ce7820fd1d6414b4775dcc076f535d3bb573e3b321acc554d3bc58f1b52437932ad8e87a60ee5083c7b
|
7
|
+
data.tar.gz: cffd0ad8d89c13bf8fe25eb65194758566ba952c8ea0a4bed9df94202b2581042f6012bf1272c647b20336bf5f09c557b38f7134b30e67145bfff806b675f5c9
|
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.4
|
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-09
|
11
|
+
date: 2022-12-09 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.4
|
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.4
|
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
|