rubeepass 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubeepass/entry.rb +3 -0
- data/lib/rubeepass/group.rb +4 -1
- data/lib/rubeepass/wish/copy_wish.rb +1 -1
- data/lib/rubeepass/wish/echo_wish.rb +1 -1
- data/lib/rubeepass/wish/show_wish.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af1fb290246cefb9de256f1b1de1f5c2b5de7d188355617fe0c18cbb22ae0327
|
4
|
+
data.tar.gz: b70b387d333f4cbc489bb2077fdcb7f9e5b442276eacaa9d1596c659c65027f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbb41b2c6114f3c80e14bdd4e939050b51478ee5cd51f9e6c260f23fcdbb203a05604a93adb028fa356bdb428393e2efd0a889f5cc7e26f1cfa8d6f68c9ae71f
|
7
|
+
data.tar.gz: 86350c3d58b4e2bc97fe8515669fdac64993c3d77e62803ddef098dae6a556a49b15aa34f6b639bb53982f4c096bbdf0a6033d41c41693f51adca1b2e247288a
|
data/lib/rubeepass/entry.rb
CHANGED
data/lib/rubeepass/group.rb
CHANGED
@@ -17,6 +17,9 @@ class RubeePass::Group
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def <=>(other)
|
20
|
+
if (self.name.downcase == other.name.downcase)
|
21
|
+
return (self.uuid <=> other.uuid)
|
22
|
+
end
|
20
23
|
return (self.name.downcase <=> other.name.downcase)
|
21
24
|
end
|
22
25
|
|
@@ -131,7 +134,7 @@ class RubeePass::Group
|
|
131
134
|
|
132
135
|
search = @path if (search.nil? || search.empty?)
|
133
136
|
search = @keepass.absolute_path(search, @path)
|
134
|
-
path,
|
137
|
+
path, _, target = search.rpartition("/")
|
135
138
|
|
136
139
|
new_cwd = find_group(path)
|
137
140
|
return [Array.new, Array.new] if (new_cwd.nil?)
|
@@ -31,7 +31,7 @@ class CopyWish < Djinni::Wish
|
|
31
31
|
cwd = djinni_env["cwd"]
|
32
32
|
|
33
33
|
path = keepass.absolute_path(path, cwd.path)
|
34
|
-
path,
|
34
|
+
path, _, target = path.rpartition("/")
|
35
35
|
new_cwd = keepass.find_group_like(path)
|
36
36
|
timeout = djinni_env["clipboard_timeout"]
|
37
37
|
|
@@ -31,7 +31,7 @@ class EchoWish < Djinni::Wish
|
|
31
31
|
cwd = djinni_env["cwd"]
|
32
32
|
|
33
33
|
path = keepass.absolute_path(path, cwd.path)
|
34
|
-
path,
|
34
|
+
path, _, target = path.rpartition("/")
|
35
35
|
new_cwd = keepass.find_group_like(path)
|
36
36
|
|
37
37
|
if (new_cwd.nil? || !new_cwd.has_entry_like?(target))
|
@@ -15,7 +15,7 @@ class ShowWish < Djinni::Wish
|
|
15
15
|
|
16
16
|
args = cwd.path if (args.empty?)
|
17
17
|
path = keepass.absolute_path(args, cwd.path)
|
18
|
-
path,
|
18
|
+
path, _, target = path.rpartition("/")
|
19
19
|
new_cwd = keepass.find_group_like(path)
|
20
20
|
|
21
21
|
if (new_cwd.nil?)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubeepass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Whittaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -56,20 +56,20 @@ dependencies:
|
|
56
56
|
requirements:
|
57
57
|
- - "~>"
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: '2.
|
59
|
+
version: '2.2'
|
60
60
|
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 2.
|
62
|
+
version: 2.2.0
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '2.
|
69
|
+
version: '2.2'
|
70
70
|
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: 2.
|
72
|
+
version: 2.2.0
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: hilighter
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -222,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
222
|
version: '0'
|
223
223
|
requirements: []
|
224
224
|
rubyforge_project:
|
225
|
-
rubygems_version: 2.7.
|
225
|
+
rubygems_version: 2.7.6
|
226
226
|
signing_key:
|
227
227
|
specification_version: 4
|
228
228
|
summary: Ruby KeePass 2.x implementation
|