ruby-ldap3 0.10.1 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ldap.c +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79d254fc29905797d534d704797c9d9d87986ab819707bc38607d103fbb5689b
4
- data.tar.gz: f297da03e165f882509ce8c94d22bfd9a653bc85201090d820e2b06994d04d49
3
+ metadata.gz: 7e95b5803604a211b957f2c4b47cf5ec11438e5ed88ffd8fdda03a51da94df71
4
+ data.tar.gz: 4629ddac3d4a5d9ff75c52a43e7f5b978ff9a608ec0404740944a42468b2a08d
5
5
  SHA512:
6
- metadata.gz: 410e587cb975091aa513bdff82785ea2d9f29f9f224f8462e4940dbd8fa57d39625ec3c48bef1674e4c06b21677de7e6186234fe6115278cce93250062a11389
7
- data.tar.gz: 3b17a5cdd8b103db034ca4b6cc9a5971162c41ff8e8b4cde0c0044a5bba8c9074b77cb19f5274613e18c7ba45812ffa3e63bb712eb719894b4d9d16286699db9
6
+ metadata.gz: 99f1c50af3132f1dd69c5e693f654cb92b513e1085d3c668e8bef88e084294c9e0ab6d3f02e715f250cb575087196e725f124cc545109fdbdb4ed8c941ca8766
7
+ data.tar.gz: b3c7f244a2762aa37460cd0fa50f61e219642ab2888a0fb1a55458c4c844bd322f1d7fc7fbe7fbb2589da841b2a5aec6da0b692e583cf07e251ab08c93c069f2
data/ldap.c CHANGED
@@ -201,7 +201,8 @@ rb_ldap_hash2mods (VALUE self, VALUE op, VALUE hash)
201
201
  VALUE tmp;
202
202
 
203
203
  tmp = rb_assoc_new (op, rb_ary_new ());
204
- rb_iterate (rb_each, hash, rb_ldap_hash2mods_i, tmp);
204
+ /* Explicitly cast value per: https://github.com/bearded/ruby-ldap/issues/47#issuecomment-1645066553 */
205
+ rb_iterate (rb_each, hash, (rb_block_call_func_t) rb_ldap_hash2mods_i, tmp);
205
206
 
206
207
  return rb_ary_entry (tmp, 1);
207
208
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-ldap3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Curcuru
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-01-25 00:00:00.000000000 Z
12
+ date: 2025-01-26 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: 'It provides the interface to some LDAP libraries (e.g. OpenLDAP, Netscape
15
15
  SDK and Active Directory). The common API for application development is described