fizx-ordered_json 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/extconf.rb +3 -6
  2. metadata +45 -3
data/ext/extconf.rb CHANGED
@@ -3,6 +3,9 @@ ENV["ARCHFLAGS"] = "-arch #{`uname -p` =~ /powerpc/ ? 'ppc' : 'i386'}"
3
3
 
4
4
  require 'mkmf'
5
5
 
6
+ json = File.dirname(__FILE__) + "/json-c-0.8"
7
+ system "cd #{json} && ./configure && make"
8
+
6
9
  ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
7
10
  LIBDIR = Config::CONFIG['libdir']
8
11
  INCLUDEDIR = Config::CONFIG['includedir']
@@ -16,10 +19,4 @@ end
16
19
 
17
20
  $CFLAGS << " -O3 -Wall -Wextra -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline"
18
21
 
19
- myincl = %w[/usr/local/include /opt/local/include /usr/include]
20
- mylib = %w[/usr/local/lib /opt/local/lib /usr/lib]
21
-
22
- find_header('json/json.h', INCLUDEDIR, *myincl) or abort "need json/json.h"
23
- find_library('json', 'json_object_new_string', LIBDIR, *mylib) or abort "need libjson"
24
-
25
22
  create_makefile('ordered_json_c')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fizx-ordered_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Maxwell
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-17 00:00:00 -08:00
12
+ date: 2009-02-24 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -31,13 +31,55 @@ extensions:
31
31
  extra_rdoc_files: []
32
32
 
33
33
  files:
34
+ - ./.gitignore
35
+ - ./CHANGELOG
34
36
  - ./ext/extconf.rb
37
+ - ./ext/json-c-0.8/aclocal.m4
38
+ - ./ext/json-c-0.8/arraylist.c
39
+ - ./ext/json-c-0.8/arraylist.h
40
+ - ./ext/json-c-0.8/AUTHORS
41
+ - ./ext/json-c-0.8/bits.h
42
+ - ./ext/json-c-0.8/ChangeLog
43
+ - ./ext/json-c-0.8/config.guess
44
+ - ./ext/json-c-0.8/config.h.in
45
+ - ./ext/json-c-0.8/config.sub
46
+ - ./ext/json-c-0.8/configure
47
+ - ./ext/json-c-0.8/configure.in
48
+ - ./ext/json-c-0.8/COPYING
49
+ - ./ext/json-c-0.8/debug.c
50
+ - ./ext/json-c-0.8/debug.h
51
+ - ./ext/json-c-0.8/depcomp
52
+ - ./ext/json-c-0.8/install-sh
53
+ - ./ext/json-c-0.8/json.h
54
+ - ./ext/json-c-0.8/json.pc.in
55
+ - ./ext/json-c-0.8/json_object.c
56
+ - ./ext/json-c-0.8/json_object.h
57
+ - ./ext/json-c-0.8/json_object_private.h
58
+ - ./ext/json-c-0.8/json_tokener.c
59
+ - ./ext/json-c-0.8/json_tokener.h
60
+ - ./ext/json-c-0.8/json_util.c
61
+ - ./ext/json-c-0.8/json_util.h
62
+ - ./ext/json-c-0.8/linkhash.c
63
+ - ./ext/json-c-0.8/linkhash.h
64
+ - ./ext/json-c-0.8/ltmain.sh
65
+ - ./ext/json-c-0.8/Makefile.am
66
+ - ./ext/json-c-0.8/Makefile.in
67
+ - ./ext/json-c-0.8/missing
68
+ - ./ext/json-c-0.8/NEWS
69
+ - ./ext/json-c-0.8/printbuf.c
70
+ - ./ext/json-c-0.8/printbuf.h
71
+ - ./ext/json-c-0.8/README
72
+ - ./ext/json-c-0.8/test1.c
73
+ - ./ext/json-c-0.8/test2.c
74
+ - ./ext/json-c-0.8/test3.c
75
+ - ./ext/mkmf.log
35
76
  - ./ext/ordered_json_c.c
36
77
  - ./lib/ordered_json.rb
37
78
  - ./ordered_json.gemspec
38
- - ./README
39
79
  - ./Rakefile
80
+ - ./README
40
81
  - ./test/ordered_json_test.rb
82
+ - ./test/pretty.json
41
83
  has_rdoc: true
42
84
  homepage:
43
85
  post_install_message: