oj 2.4.2 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of oj might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f86c65032eab3ae341bf09bede8c0fa8494a5443
4
- data.tar.gz: c62cd79d31ffa2035698a47ed2096e17513beb4c
3
+ metadata.gz: cdd58e56f91f91c1f5e3083766dd5aac66b9fa8b
4
+ data.tar.gz: 1c0c4cb8a0a39da1c7aac006bb83508c86308e9f
5
5
  SHA512:
6
- metadata.gz: c416b20f1d0972be265256950dcbf529802f92eda83b0f321f20a316a377a17cd3144267a70199f0640f975960bd8182e0bd31683baed77dcb1575fef67a88f8
7
- data.tar.gz: 7c52c57286ed461fba95108bba72a31eec77ca6340e4f6fe4e622abe31fdfad68dbd0b3f1c05558f225547762e8d024143477935618d6a4d7e21db3f3de03729
6
+ metadata.gz: 98ee0f6257164250f06e2c5be57d25c3f958985a0b31912c48f0391b8931d5c8e81f8159fd0061912dfd82e339a4584e3698de8395b2c112fbf0e9688ea69404
7
+ data.tar.gz: 583cdbe1a4d923dbd7815ac81e98636d545dcffed0a468d012b91c6ef1994ca84a68f9f29cce303c94bfc5a58a583320db770610ce5e72b1a73802f1b3791f9e
data/README.md CHANGED
@@ -20,10 +20,9 @@ Follow [@peterohler on Twitter](http://twitter.com/#!/peterohler) for announceme
20
20
 
21
21
  [![Build Status](https://secure.travis-ci.org/ohler55/oj.png?branch=master)](http://travis-ci.org/ohler55/oj)
22
22
 
23
+ ### Current Release 2.4.3
23
24
 
24
- ### Current Release 2.4.2
25
-
26
- - Thanks to Patrik Rak for a fix to a buffer short copy when dumping with 0 indent.
25
+ - Made include pthread.h conditional for Windows.
27
26
 
28
27
  [Older release notes](http://www.ohler.com/dev/oj_misc/release_notes.html).
29
28
 
@@ -34,7 +34,9 @@
34
34
  #include "ruby.h"
35
35
  #include "odd.h"
36
36
  #include <stdint.h>
37
+ #if USE_PTHREAD_MUTEX
37
38
  #include <pthread.h>
39
+ #endif
38
40
 
39
41
  #define STACK_INC 64
40
42
 
@@ -68,7 +70,6 @@ typedef struct _ValStack {
68
70
  Val head; // current stack
69
71
  Val end; // stack end
70
72
  Val tail; // pointer to one past last element name on stack
71
-
72
73
  #if USE_PTHREAD_MUTEX
73
74
  pthread_mutex_t mutex;
74
75
  #elif USE_RB_MUTEX
@@ -1,5 +1,5 @@
1
1
 
2
2
  module Oj
3
3
  # Current version of the module.
4
- VERSION = '2.4.2'
4
+ VERSION = '2.4.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oj
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Ohler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-14 00:00:00.000000000 Z
11
+ date: 2013-12-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'The fastest JSON parser and object serializer. '
14
14
  email: peter@ohler.com