yaji 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ === 0.3.1 / 2012-05-25
2
+
3
+ * Protect on_object callback from GC
4
+
1
5
  === 0.3.0 / 2012-04-18
2
6
 
3
7
  * Allow to specify filter at parser initialization
@@ -457,6 +457,7 @@ static void rb_yaji_parser_mark(void *parser)
457
457
  rb_gc_mark(p->path);
458
458
  rb_gc_mark(p->path_str);
459
459
  rb_gc_mark(p->parser_cb);
460
+ rb_gc_mark(p->on_object_cb);
460
461
  rb_gc_mark(p->chunk);
461
462
  }
462
463
  }
@@ -18,5 +18,5 @@
18
18
  #
19
19
 
20
20
  module YAJI
21
- VERSION = "0.3.0"
21
+ VERSION = "0.3.1"
22
22
  end
metadata CHANGED
@@ -1,103 +1,79 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: yaji
3
- version: !ruby/object:Gem::Version
4
- hash: 19
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.1
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 3
9
- - 0
10
- version: 0.3.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Couchbase
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-04-19 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-05-25 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rake
22
- prerelease: false
23
- type: :development
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &18195000 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
18
+ requirements:
27
19
  - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 49
30
- segments:
31
- - 0
32
- - 8
33
- - 7
20
+ - !ruby/object:Gem::Version
34
21
  version: 0.8.7
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: rake-compiler
38
- prerelease: false
39
22
  type: :development
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 3
46
- segments:
47
- - 0
48
- version: "0"
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: minitest
52
23
  prerelease: false
53
- type: :development
54
- requirement: &id003 !ruby/object:Gem::Requirement
24
+ version_requirements: *18195000
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake-compiler
27
+ requirement: &18175940 !ruby/object:Gem::Requirement
55
28
  none: false
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- hash: 3
60
- segments:
61
- - 0
62
- version: "0"
63
- version_requirements: *id003
64
- - !ruby/object:Gem::Dependency
65
- name: curb
66
- prerelease: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
67
33
  type: :development
68
- requirement: &id004 !ruby/object:Gem::Requirement
34
+ prerelease: false
35
+ version_requirements: *18175940
36
+ - !ruby/object:Gem::Dependency
37
+ name: minitest
38
+ requirement: &18175000 !ruby/object:Gem::Requirement
69
39
  none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- hash: 3
74
- segments:
75
- - 0
76
- version: "0"
77
- version_requirements: *id004
78
- - !ruby/object:Gem::Dependency
79
- name: ruby-debug
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
80
45
  prerelease: false
46
+ version_requirements: *18175000
47
+ - !ruby/object:Gem::Dependency
48
+ name: curb
49
+ requirement: &18173840 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
81
55
  type: :development
82
- requirement: &id005 !ruby/object:Gem::Requirement
56
+ prerelease: false
57
+ version_requirements: *18173840
58
+ - !ruby/object:Gem::Dependency
59
+ name: ruby-debug19
60
+ requirement: &18172520 !ruby/object:Gem::Requirement
83
61
  none: false
84
- requirements:
85
- - - ">="
86
- - !ruby/object:Gem::Version
87
- hash: 3
88
- segments:
89
- - 0
90
- version: "0"
91
- version_requirements: *id005
92
- description: YAJI is a ruby wrapper to YAJL providing iterator interface to streaming JSON parser
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *18172520
69
+ description: YAJI is a ruby wrapper to YAJL providing iterator interface to streaming
70
+ JSON parser
93
71
  email: info@couchbase.com
94
72
  executables: []
95
-
96
- extensions:
73
+ extensions:
97
74
  - ext/yaji/extconf.rb
98
75
  extra_rdoc_files: []
99
-
100
- files:
76
+ files:
101
77
  - .gitignore
102
78
  - .travis.yml
103
79
  - Gemfile
@@ -135,37 +111,30 @@ files:
135
111
  - test/test_parser.rb
136
112
  - yaji.gemspec
137
113
  homepage: https://github.com/avsej/yaji
138
- licenses:
114
+ licenses:
139
115
  - ASL-2
140
116
  post_install_message:
141
117
  rdoc_options: []
142
-
143
- require_paths:
118
+ require_paths:
144
119
  - lib
145
- required_ruby_version: !ruby/object:Gem::Requirement
120
+ required_ruby_version: !ruby/object:Gem::Requirement
146
121
  none: false
147
- requirements:
148
- - - ">="
149
- - !ruby/object:Gem::Version
150
- hash: 3
151
- segments:
152
- - 0
153
- version: "0"
154
- required_rubygems_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ required_rubygems_version: !ruby/object:Gem::Requirement
155
127
  none: false
156
- requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- hash: 3
160
- segments:
161
- - 0
162
- version: "0"
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
163
132
  requirements: []
164
-
165
133
  rubyforge_project: yaji
166
- rubygems_version: 1.8.18
134
+ rubygems_version: 1.8.10
167
135
  signing_key:
168
136
  specification_version: 3
169
137
  summary: Yet another JSON iterator
170
- test_files: []
171
-
138
+ test_files:
139
+ - test/fixture.json
140
+ - test/test_parser.rb