ffi 1.12.1-x64-mingw32 → 1.12.2-x64-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: 134c8d0016787dbc041a3fce686b59c75578b00a008ca378f5a98e3f1c338a73
4
- data.tar.gz: 425e97757817d2841873179a2456defb31ab603ec738210ed221d7aeeab4cd3b
3
+ metadata.gz: 6fe929f714bffd7ae2692dcfe1ce4b3b58d6279e857db53186515484cee8f441
4
+ data.tar.gz: 0f14cf5580c753abed78b6522a481ef4b5ba93af584eda2dcd3837c02c6c612f
5
5
  SHA512:
6
- metadata.gz: ca4a9cc1259c9e86c218b5f4ea87986022011c152c3532f2358f47623c9507198bf66f156654aef4f9581f207aabe3744a0474e06c9a63fe41e86b33e993684a
7
- data.tar.gz: cb30023cef17a7b22738d23174102811228420863bb5d1279d46b682dedbcae71a8528eb165f881719ae036bddbbf01b42e0045e9df1948fa24a265bbdddce37
6
+ metadata.gz: fbba6d1e42858d437fced00e16e57c8b9940d1bfdb2638e0e18007f19e4d73072d45ba6b39db765a6c0e65b74b880dcf74335f349c87ca0998fcdb5f5b6dd9c9
7
+ data.tar.gz: 83689909e9b90540f569e8d3634193e068de2cc216e2d7c04b77609b54f0750166e6dc6d487c5876d07c9f4c70465efd8cd4817340a31c7fab41d4db43237dac
@@ -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
 
@@ -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
@@ -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: x64-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