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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c8e726648c7d8372d2ff15eca2efcff273c0afd6e840a36b02c77c0f26ae2af
4
- data.tar.gz: 882f96e570f3c3237263d5fe375812a87e5850abdaa1ca29526c0404878bd8bc
3
+ metadata.gz: af1fb290246cefb9de256f1b1de1f5c2b5de7d188355617fe0c18cbb22ae0327
4
+ data.tar.gz: b70b387d333f4cbc489bb2077fdcb7f9e5b442276eacaa9d1596c659c65027f7
5
5
  SHA512:
6
- metadata.gz: 176919069f645a17b7d68a69eb3105d25934b1bf2f4d2ae81e985b8ce7e87fe012a72459c138e4a52fac730dedd9ecc1a145f649ee523b24fc16ebdefbf7980a
7
- data.tar.gz: 13564687aadca18d1a65d14e500aad64a1362924b314e248dddfabf0eea41e39ff77cc3cee08001c0c68aa9df2a492cccbfb89bf1aea64674a56604bd8562fb0
6
+ metadata.gz: fbb41b2c6114f3c80e14bdd4e939050b51478ee5cd51f9e6c260f23fcdbb203a05604a93adb028fa356bdb428393e2efd0a889f5cc7e26f1cfa8d6f68c9ae71f
7
+ data.tar.gz: 86350c3d58b4e2bc97fe8515669fdac64993c3d77e62803ddef098dae6a556a49b15aa34f6b639bb53982f4c096bbdf0a6033d41c41693f51adca1b2e247288a
@@ -19,6 +19,9 @@ class RubeePass::Entry
19
19
  end
20
20
 
21
21
  def <=>(other)
22
+ if (self.title.downcase == other.title.downcase)
23
+ return (self.uuid <=> other.uuid)
24
+ end
22
25
  return (self.title.downcase <=> other.title.downcase)
23
26
  end
24
27
 
@@ -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, found, target = search.rpartition("/")
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, found, target = path.rpartition("/")
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, found, target = path.rpartition("/")
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, found, target = path.rpartition("/")
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.8
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-02-23 00:00:00.000000000 Z
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.1'
59
+ version: '2.2'
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 2.1.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.1'
69
+ version: '2.2'
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 2.1.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.3
225
+ rubygems_version: 2.7.6
226
226
  signing_key:
227
227
  specification_version: 4
228
228
  summary: Ruby KeePass 2.x implementation