libyajl2 0.1.17 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0222174194de7fe3d97647c4ae36f05291600292
4
- data.tar.gz: aee3ce42d2dbea873ca1ebb679fe7257d898b249
3
+ metadata.gz: 0a43be175db1d44401e53fd3a2c53e011586cb17
4
+ data.tar.gz: 27f977dbb348673975141c17bac86d74ec8c03e1
5
5
  SHA512:
6
- metadata.gz: db3188ee1f24819652ffd52f796010765ff3c1ae6b7cbbfbe5e6146a7d4cf2b123da86cb54826034ee3a51d2d5314c8dc7c94137417188ef0adebb40c60fe6b0
7
- data.tar.gz: 526218da5db57efc70c19853f42b3ce8773475703f83f12ca244fc28e8ee2a9d931d81bdc62a49977ef5d2e9672da9db550c8cfb3d41be5d92427c35f7fddec4
6
+ metadata.gz: c61c1047c92caeb589a7f0b255e917ee0d30de203467cf64d5a8c82fe01b89e09538b9a80cc402970e6ff271e6d2569d2977e11bb86ce67d471ae77b44089e37
7
+ data.tar.gz: 394085b9ccc286d9b3f285ea931df7031bf44452059c85a4a8e90101a8f60e3a5d0e8b164490dc72b7999cbb8158c0e8ebd49d7c639190dbe319e333a79ec385
@@ -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 -Wl,-export-dynamic
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)
@@ -1,3 +1,3 @@
1
1
  module Libyajl2
2
- VERSION = "0.1.17"
2
+ VERSION = "0.1.18"
3
3
  end
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.17
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-06-05 00:00:00.000000000 Z
11
+ date: 2014-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler