libyajl2 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/libyajl2/extconf.rb +17 -3
- data/lib/libyajl2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a43be175db1d44401e53fd3a2c53e011586cb17
|
4
|
+
data.tar.gz: 27f977dbb348673975141c17bac86d74ec8c03e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c61c1047c92caeb589a7f0b255e917ee0d30de203467cf64d5a8c82fe01b89e09538b9a80cc402970e6ff271e6d2569d2977e11bb86ce67d471ae77b44089e37
|
7
|
+
data.tar.gz: 394085b9ccc286d9b3f285ea931df7031bf44452059c85a4a8e90101a8f60e3a5d0e8b164490dc72b7999cbb8158c0e8ebd49d7c639190dbe319e333a79ec385
|
data/ext/libyajl2/extconf.rb
CHANGED
@@ -1,8 +1,21 @@
|
|
1
|
-
exit(0) if ENV["USE_SYSTEM_LIBYAJL2"]
|
2
1
|
|
3
2
|
require 'rbconfig'
|
4
3
|
require 'fileutils'
|
5
4
|
|
5
|
+
if ENV["USE_SYSTEM_LIBYAJL2"]
|
6
|
+
File.open("Makefile", "w+") do |f|
|
7
|
+
f.write <<EOF
|
8
|
+
# dummy Makefile when we're not really installing
|
9
|
+
all:
|
10
|
+
\ttrue
|
11
|
+
|
12
|
+
install:
|
13
|
+
\ttrue
|
14
|
+
EOF
|
15
|
+
end
|
16
|
+
exit(0)
|
17
|
+
end
|
18
|
+
|
6
19
|
module Libyajl2Build
|
7
20
|
class BuildError < StandardError; end
|
8
21
|
|
@@ -52,8 +65,9 @@ CC = gcc
|
|
52
65
|
TARGET = libyajl
|
53
66
|
DLLIB = $(TARGET).so
|
54
67
|
CFLAGS = -I. -I../../../../ext/libyajl2 -fPIC -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC -std=c99 -pedantic -Wpointer-arith -Wno-format-y2k -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wextra -Wundef -Wwrite-strings -Wold-style-definition -Wredundant-decls -Wno-unused-parameter -Wno-sign-compare -Wmissing-prototypes -O2 -DNDEBUG
|
55
|
-
LDFLAGS = -L. -fstack-protector -rdynamic
|
56
|
-
LIBS = -lpthread -ldl -lcrypt -lm -lc
|
68
|
+
LDFLAGS = -L. -fstack-protector -rdynamic
|
69
|
+
#LIBS = -lpthread -ldl -lcrypt -lm -lc
|
70
|
+
LIBS = -lpthread -ldl -lm -lc
|
57
71
|
OBJS = yajl_alloc.o yajl_tree.o yajl_gen.o yajl_buf.o yajl.o yajl_encode.o yajl_lex.o yajl_parser.o yajl_version.o
|
58
72
|
|
59
73
|
all: $(DLLIB)
|
data/lib/libyajl2/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libyajl2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lamont-granquist
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|