ffi 1.12.1-x86-mingw32 → 1.12.2-x86-mingw32

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: b885cb64ff8dcf0a6c9cb7cc7dcb4f064376dc863b6eec69e6fd351c3be5d765
4
- data.tar.gz: d9255e1413cbdc24bb776ce00cfd1a79f202ea84634d7f9c55d477f46261fc41
3
+ metadata.gz: 98314604cac128526a2c1de3c6410b10bce3fc890db8368525f7b1d925a6af70
4
+ data.tar.gz: faa45f4021034466a83f9739bc28a341a1411c95812c584b4cf088464e053d4e
5
5
  SHA512:
6
- metadata.gz: f974e9e91bb7283227539689254d6e639a63d02878d28e8dfc30b9f725460997e2912389451b397564aec82a86181a1e5e28b45109543ca92f7f1bc6631b1b6e
7
- data.tar.gz: f78480da04f10ca3e618d80d3947bdb823a505db4728eaa3412406fbbb5f9e511fe73ef5d464631fefc192c27edda7e2a0194ea021393136ff88c1d3bd3f592f
6
+ metadata.gz: ea8d86eb2928358013d6b97e5283020ed3e57c452a282a4b5df885785e2aad8fb04adfa6bfd98ca00f1ce1aec3bbabafb8cfb91578514b72a8862adf22476842
7
+ data.tar.gz: 11a814350fbde9a0780c135f13b06b9f7f837d9275b9978bee61f90319dc00040c003590d844a09171ca5c0893101507ee318c168f0fb1e7165c3c4a88e5aa36
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ 1.12.2 / 2020-02-01
2
+ -------------------
3
+
4
+ * Fix possible segfault at FFI::Struct#[] and []= after GC.compact . #742
5
+
6
+
1
7
  1.12.1 / 2020-01-14
2
8
  -------------------
3
9
 
data/lib/ffi/struct.rb CHANGED
@@ -190,7 +190,7 @@ module FFI
190
190
  # :field2, :pointer, 6, # set offset to 6 for this field
191
191
  # :field3, :string
192
192
  # end
193
- # @example Creating a layout from a hash +spec+ (Ruby 1.9 only)
193
+ # @example Creating a layout from a hash +spec+
194
194
  # class MyStructFromHash < Struct
195
195
  # layout :field1 => :int,
196
196
  # :field2 => :pointer,
@@ -202,7 +202,6 @@ module FFI
202
202
  # :function2, callback([:pointer], :void),
203
203
  # :field3, :string
204
204
  # end
205
- # @note Creating a layout from a hash +spec+ is supported only for Ruby 1.9.
206
205
  def layout(*spec)
207
206
  warn "[DEPRECATION] Struct layout is already defined for class #{self.inspect}. Redefinition as in #{caller[0]} will be disallowed in ffi-2.0." if defined?(@layout)
208
207
  return @layout if spec.size == 0
data/lib/ffi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module FFI
2
- VERSION = '1.12.1'
2
+ VERSION = '1.12.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.1
4
+ version: 1.12.2
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Wayne Meissner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-14 00:00:00.000000000 Z
11
+ date: 2020-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake