yajl-ruby 0.7.8 → 0.7.9

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

Potentially problematic release.


This version of yajl-ruby might be problematic. Click here for more details.

Files changed (55) hide show
  1. data/.gitignore +2 -1
  2. data/.rspec +2 -0
  3. data/CHANGELOG.md +12 -2
  4. data/Gemfile +7 -0
  5. data/Gemfile.lock +28 -0
  6. data/MIT-LICENSE +1 -1
  7. data/Rakefile +5 -37
  8. data/VERSION.yml +2 -2
  9. data/benchmark/encode.rb +2 -1
  10. data/benchmark/encode_json_and_marshal.rb +2 -1
  11. data/benchmark/encode_json_and_yaml.rb +2 -1
  12. data/benchmark/http.rb +1 -0
  13. data/benchmark/parse.rb +2 -1
  14. data/benchmark/parse_json_and_marshal.rb +2 -1
  15. data/benchmark/parse_json_and_yaml.rb +2 -1
  16. data/benchmark/parse_stream.rb +2 -1
  17. data/examples/encoding/chunked_encoding.rb +1 -0
  18. data/examples/encoding/one_shot.rb +1 -0
  19. data/examples/encoding/to_an_io.rb +1 -0
  20. data/examples/http/twitter_search_api.rb +1 -0
  21. data/examples/http/twitter_stream_api.rb +1 -0
  22. data/examples/parsing/from_file.rb +1 -0
  23. data/examples/parsing/from_stdin.rb +1 -0
  24. data/examples/parsing/from_string.rb +1 -0
  25. data/ext/{api → yajl/api}/yajl_common.h +5 -1
  26. data/ext/{api → yajl/api}/yajl_gen.h +1 -1
  27. data/ext/{api → yajl/api}/yajl_parse.h +3 -3
  28. data/ext/yajl/api/yajl_version.h +23 -0
  29. data/ext/yajl/extconf.rb +8 -0
  30. data/ext/{yajl.c → yajl/yajl.c} +0 -0
  31. data/ext/{yajl_alloc.c → yajl/yajl_alloc.c} +0 -0
  32. data/ext/{yajl_alloc.h → yajl/yajl_alloc.h} +0 -0
  33. data/ext/{yajl_buf.c → yajl/yajl_buf.c} +0 -0
  34. data/ext/{yajl_buf.h → yajl/yajl_buf.h} +0 -0
  35. data/ext/{yajl_bytestack.h → yajl/yajl_bytestack.h} +0 -0
  36. data/ext/{yajl_encode.c → yajl/yajl_encode.c} +0 -0
  37. data/ext/{yajl_encode.h → yajl/yajl_encode.h} +0 -0
  38. data/ext/{yajl_ext.c → yajl/yajl_ext.c} +27 -13
  39. data/ext/{yajl_ext.h → yajl/yajl_ext.h} +2 -1
  40. data/ext/{yajl_gen.c → yajl/yajl_gen.c} +2 -2
  41. data/ext/{yajl_lex.c → yajl/yajl_lex.c} +4 -3
  42. data/ext/{yajl_lex.h → yajl/yajl_lex.h} +0 -0
  43. data/ext/{yajl_parser.c → yajl/yajl_parser.c} +0 -0
  44. data/ext/{yajl_parser.h → yajl/yajl_parser.h} +0 -0
  45. data/ext/yajl/yajl_version.c +7 -0
  46. data/lib/yajl.rb +2 -17
  47. data/spec/parsing/chunked_spec.rb +0 -1
  48. data/spec/spec_helper.rb +2 -1
  49. data/tasks/compile.rake +37 -0
  50. data/tasks/jeweler.rake +17 -0
  51. data/tasks/rspec.rake +16 -0
  52. data/yajl-ruby.gemspec +183 -171
  53. metadata +90 -41
  54. data/ext/extconf.rb +0 -9
  55. data/spec/spec.opts +0 -2
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yajl-ruby
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease: false
4
+ hash: 17
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 8
10
- version: 0.7.8
9
+ - 9
10
+ version: 0.7.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Lopez
@@ -16,22 +16,67 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-09-27 00:00:00 -07:00
19
+ date: 2011-01-11 00:00:00 -08:00
20
20
  default_executable:
21
- dependencies: []
22
-
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ prerelease: false
24
+ name: rake-compiler
25
+ type: :development
26
+ version_requirements: &id001 !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ hash: 9
32
+ segments:
33
+ - 0
34
+ - 7
35
+ - 5
36
+ version: 0.7.5
37
+ requirement: *id001
38
+ - !ruby/object:Gem::Dependency
39
+ prerelease: false
40
+ name: jeweler
41
+ type: :development
42
+ version_requirements: &id002 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ hash: 3
48
+ segments:
49
+ - 0
50
+ version: "0"
51
+ requirement: *id002
52
+ - !ruby/object:Gem::Dependency
53
+ prerelease: false
54
+ name: rspec
55
+ type: :development
56
+ version_requirements: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ hash: 3
62
+ segments:
63
+ - 0
64
+ version: "0"
65
+ requirement: *id003
23
66
  description:
24
67
  email: seniorlopez@gmail.com
25
68
  executables: []
26
69
 
27
70
  extensions:
28
- - ext/extconf.rb
71
+ - ext/yajl/extconf.rb
29
72
  extra_rdoc_files:
30
73
  - README.rdoc
31
- - ext/yajl.c
32
74
  files:
33
75
  - .gitignore
76
+ - .rspec
34
77
  - CHANGELOG.md
78
+ - Gemfile
79
+ - Gemfile.lock
35
80
  - MIT-LICENSE
36
81
  - README.rdoc
37
82
  - Rakefile
@@ -59,25 +104,27 @@ files:
59
104
  - examples/parsing/from_file.rb
60
105
  - examples/parsing/from_stdin.rb
61
106
  - examples/parsing/from_string.rb
62
- - ext/api/yajl_common.h
63
- - ext/api/yajl_gen.h
64
- - ext/api/yajl_parse.h
65
- - ext/extconf.rb
66
- - ext/yajl.c
67
- - ext/yajl_alloc.c
68
- - ext/yajl_alloc.h
69
- - ext/yajl_buf.c
70
- - ext/yajl_buf.h
71
- - ext/yajl_bytestack.h
72
- - ext/yajl_encode.c
73
- - ext/yajl_encode.h
74
- - ext/yajl_ext.c
75
- - ext/yajl_ext.h
76
- - ext/yajl_gen.c
77
- - ext/yajl_lex.c
78
- - ext/yajl_lex.h
79
- - ext/yajl_parser.c
80
- - ext/yajl_parser.h
107
+ - ext/yajl/api/yajl_common.h
108
+ - ext/yajl/api/yajl_gen.h
109
+ - ext/yajl/api/yajl_parse.h
110
+ - ext/yajl/api/yajl_version.h
111
+ - ext/yajl/extconf.rb
112
+ - ext/yajl/yajl.c
113
+ - ext/yajl/yajl_alloc.c
114
+ - ext/yajl/yajl_alloc.h
115
+ - ext/yajl/yajl_buf.c
116
+ - ext/yajl/yajl_buf.h
117
+ - ext/yajl/yajl_bytestack.h
118
+ - ext/yajl/yajl_encode.c
119
+ - ext/yajl/yajl_encode.h
120
+ - ext/yajl/yajl_ext.c
121
+ - ext/yajl/yajl_ext.h
122
+ - ext/yajl/yajl_gen.c
123
+ - ext/yajl/yajl_lex.c
124
+ - ext/yajl/yajl_lex.h
125
+ - ext/yajl/yajl_parser.c
126
+ - ext/yajl/yajl_parser.h
127
+ - ext/yajl/yajl_version.c
81
128
  - lib/yajl.rb
82
129
  - lib/yajl/bzip2.rb
83
130
  - lib/yajl/bzip2/stream_reader.rb
@@ -169,16 +216,18 @@ files:
169
216
  - spec/parsing/fixtures_spec.rb
170
217
  - spec/parsing/one_off_spec.rb
171
218
  - spec/rcov.opts
172
- - spec/spec.opts
173
219
  - spec/spec_helper.rb
220
+ - tasks/compile.rake
221
+ - tasks/jeweler.rake
222
+ - tasks/rspec.rake
174
223
  - yajl-ruby.gemspec
175
224
  has_rdoc: true
176
225
  homepage: http://github.com/brianmario/yajl-ruby
177
226
  licenses: []
178
227
 
179
228
  post_install_message:
180
- rdoc_options:
181
- - --charset=UTF-8
229
+ rdoc_options: []
230
+
182
231
  require_paths:
183
232
  - lib
184
233
  - ext
@@ -202,12 +251,20 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
251
  version: "0"
203
252
  requirements: []
204
253
 
205
- rubyforge_project: yajl-ruby
206
- rubygems_version: 1.3.7
254
+ rubyforge_project:
255
+ rubygems_version: 1.4.2
207
256
  signing_key:
208
257
  specification_version: 3
209
258
  summary: Ruby C bindings to the excellent Yajl JSON stream-based parser library.
210
259
  test_files:
260
+ - examples/encoding/chunked_encoding.rb
261
+ - examples/encoding/one_shot.rb
262
+ - examples/encoding/to_an_io.rb
263
+ - examples/http/twitter_search_api.rb
264
+ - examples/http/twitter_stream_api.rb
265
+ - examples/parsing/from_file.rb
266
+ - examples/parsing/from_stdin.rb
267
+ - examples/parsing/from_string.rb
211
268
  - spec/encoding/encoding_spec.rb
212
269
  - spec/global/global_spec.rb
213
270
  - spec/http/http_delete_spec.rb
@@ -221,11 +278,3 @@ test_files:
221
278
  - spec/parsing/fixtures_spec.rb
222
279
  - spec/parsing/one_off_spec.rb
223
280
  - spec/spec_helper.rb
224
- - examples/encoding/chunked_encoding.rb
225
- - examples/encoding/one_shot.rb
226
- - examples/encoding/to_an_io.rb
227
- - examples/http/twitter_search_api.rb
228
- - examples/http/twitter_stream_api.rb
229
- - examples/parsing/from_file.rb
230
- - examples/parsing/from_stdin.rb
231
- - examples/parsing/from_string.rb
data/ext/extconf.rb DELETED
@@ -1,9 +0,0 @@
1
- # encoding: UTF-8
2
- require 'mkmf'
3
- require 'rbconfig'
4
-
5
- $CFLAGS << ' -Wall -funroll-loops'
6
- $CFLAGS << ' -Wextra' if ENV['DEBUG']
7
- # $CFLAGS << ' -O0 -ggdb'
8
-
9
- create_makefile("yajl_ext")
data/spec/spec.opts DELETED
@@ -1,2 +0,0 @@
1
- --format specdoc
2
- --colour