keylime 0.2.0 → 0.2.1

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: d004d9691c61d8045986433d201264fbcca3a61fcf612402c833dedd39c68859
4
- data.tar.gz: 26d2014a6565b5d17d13870e28fe1e56409391dbbb3acaf280aa12d16bbbcae4
3
+ metadata.gz: 0a21114a6aa5f7156a2e35579e1403489f4a9c0b2b4d7444ef5a0479fb5cf4dd
4
+ data.tar.gz: c2c3eb6b3c5dccc744d160e7ebd3a3e9115aacd08a84e690c288e833a365e59d
5
5
  SHA512:
6
- metadata.gz: fdf95c3ff6aa9c16043749270921270a4d6155c6b12b3026a16e103ce5b66930cb485a947b8b64b26daedb8bd9e99ce523ba95c0bf2941b00a629a337b138d77
7
- data.tar.gz: 2ec581fcc40e01c6abdeaec643d7bacc870d0a9b5fcf9f10131205686f45523af04f3ca1e8920a392f92d5ba4ade23318f2607c77e30f15e5305f7e52863a057
6
+ metadata.gz: 41f817258287dd2d1e2f5d9f4fcd1292b47aeca9e66eff4e5ec0269be281851cd960627387dd16e66bdef2dddeb2b12fa359154beec3adbc5207e8b357dab9af
7
+ data.tar.gz: 6987ae38b09ee19ede33a889ed025bb136aa97b61f1cb4aefc182a317737f5ac243882db05d6a305fa637669ed864a94390670c73a6c4904143b5a5a58cf7a47
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'keylime'
3
- s.version = '0.2.0'
3
+ s.version = '0.2.1'
4
4
  s.date = Time.now.strftime('%Y-%m-%d')
5
5
 
6
6
  s.summary = 'Simple wrapper for using Mac Keychain'
@@ -86,7 +86,7 @@ module Keylime
86
86
  def where(fields = {})
87
87
  fields = stringify(fields)
88
88
  entries.select do |x|
89
- fields.all? { |k, v| x[k] == v }
89
+ fields.all? { |k, v| x.fields[k] == v }
90
90
  end
91
91
  end
92
92
 
@@ -103,7 +103,7 @@ module Keylime
103
103
  raise('No fields given') if fields.empty?
104
104
  fields = stringify(fields)
105
105
  new = entries.select do |x|
106
- fields.any? { |k, v| x[k] != v }
106
+ fields.any? { |k, v| x.fields[k] != v }
107
107
  end
108
108
  write_file! new
109
109
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keylime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker