yajl-ffi 0.1.0 → 0.1.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
  SHA1:
3
- metadata.gz: 1b714671d249f07a8fd35a4f13a236a572a57f17
4
- data.tar.gz: 8449424c54943747b93f9927e5bacc24969099d9
3
+ metadata.gz: 91b3e4f40a342d0b737483a32c14789d13901071
4
+ data.tar.gz: acfebb0bf6867ee99cc39f44411b394dd697acbf
5
5
  SHA512:
6
- metadata.gz: d1c3aaeeb4c9d8af71712bfbe420ec93c3ef9a664f59227eb619f1bc561c926b07ca82953317d015240ff594e61a61bf281d54ce8ba1b6a22829b5d453577bcf
7
- data.tar.gz: da1ea8c2301ea0020361de9cc56acde0fbe3bf13baeef046123c2d350cfe00a490b1e07f27cf8aa27909aef25c7d5033d3b5315f1a0a5c9e58d18de67bc3ce48
6
+ metadata.gz: 4894734f7816e431e19f05e81ddbc30e5e30aa79d1712d421af4f24f2b377b8868b4e1ff5324ff6a0bf49bceafd5cc79675ed495eaa63700502cbd1dcbb45e9e
7
+ data.tar.gz: 7dcc45a9609c6f9f99ff3db4fbdaa86e97e6a96ef247b7347dc418c56ba241f33e2a7a2848205b55db743f4bc5a4271da84189418e8d3cbb00200a4564facecf
data/README.md CHANGED
@@ -23,11 +23,10 @@ obj = Yajl::FFI::Parser.parse(json)
23
23
  ```
24
24
 
25
25
  While it's possible to do this with Yajl::FFI, we should really use the
26
- standard library's [json]([json](https://github.com/flori/json)
27
- gem for documents like this. It's faster because it doesn't need to generate
28
- events and notify observers each time the parser changes state. It parses and
29
- builds the Ruby object entirely in native code and hands it back to us, fully
30
- formed.
26
+ standard library's [json](https://github.com/flori/json) gem for documents
27
+ like this. It's faster because it doesn't need to generate events and notify
28
+ observers each time the parser changes state. It parses and builds the Ruby
29
+ object entirely in native code and hands it back to us, fully formed.
31
30
 
32
31
  For larger documents, we can use an IO object to stream it into the parser.
33
32
  We still need room for the parsed object, but the document itself is never
@@ -1,5 +1,5 @@
1
1
  module Yajl
2
2
  module FFI
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
data/lib/yajl/ffi.rb CHANGED
@@ -8,7 +8,7 @@ module Yajl
8
8
  module FFI
9
9
  extend ::FFI::Library
10
10
 
11
- ffi_lib 'yajl'
11
+ ffi_lib ['yajl', 'libyajl.so.2']
12
12
 
13
13
  enum :status, [
14
14
  :ok,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yajl-ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Graham