gir_ffi-gnome_keyring 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.0.2 / 2013-08-03
2
+
3
+ * Depend on GirFFI 0.6.6
4
+ * Remove override for AttributeList#index
5
+
1
6
  ### 0.0.1 / 2013-08-03
2
7
 
3
8
  * Initial release
@@ -19,12 +19,6 @@ module GnomeKeyring
19
19
  end
20
20
  end
21
21
 
22
- # FIXME: Remove once GLib::Array#index has been fixed
23
- def index idx
24
- ptr = @struct[:data] + idx * get_element_size
25
- GnomeKeyring::Attribute.wrap(ptr)
26
- end
27
-
28
22
  def append_string name, value
29
23
  _v2 = GirFFI::InPointer.from(:utf8, name)
30
24
  _v3 = GirFFI::InPointer.from(:utf8, value)
@@ -4,6 +4,9 @@ module GnomeKeyring
4
4
  load_class :Found
5
5
 
6
6
  class Found
7
+ remove_method :attributes
8
+ remove_method :attributes=
9
+
7
10
  def attributes
8
11
  struct = GnomeKeyring::Found::Struct.new(@struct.to_ptr)
9
12
  GnomeKeyring::AttributeList.wrap(struct[:attributes])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gir_ffi-gnome_keyring
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-03 00:00:00.000000000 Z
12
+ date: 2013-08-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gir_ffi
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.6.5
21
+ version: 0.6.6
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 0.6.5
29
+ version: 0.6.6
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: minitest
32
32
  requirement: !ruby/object:Gem::Requirement