libyajl2 0.0.4 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 017c1b5f4904371c834db6209a7e4daed099667f
4
- data.tar.gz: be09fb9c58b8baec900cb8aafe6beb6da272c6e0
5
- SHA512:
6
- metadata.gz: 2c7890ae2e41777f261bb10c23117455288e7b211a0486d906a618b81dd764aae341a38c9857a8a76506e7d37494cc176fba043c95691cecc2c682ab32d05036
7
- data.tar.gz: 5caf8ed901a79a00d981734a9aec96f2d711a0a7c9e372c0f902665748598037139f738e51cd1c31da8c3a8eda1b24895a195d1b24d6b73eda4e53f50ff8bd3e
1
+ ---
2
+ SHA512:
3
+ metadata.gz: 5dbedf1028114881a28ab6fc7b925d207690d7073eca4d73357844584ad9a76af5697ab06a505c5ae89d138ca53660bdc2cc40392f9df50ed9c2825a53c512e6
4
+ data.tar.gz: 1fbcf514126955bd725b0d5b75c115218d742794decfe3a24b4075ccb7d14c95840eacbf3c7bd03c5706b0029fff8577e1aec00f4dc0db13e72f753d92f8366b
5
+ SHA1:
6
+ metadata.gz: d7f4f98a8b1c0f6a2d8cf44edd8ece0cabd35dc0
7
+ data.tar.gz: 3f63bf8fa8e558b4efa3141e7ec834934d5e413c
data/.travis.yml CHANGED
@@ -4,5 +4,6 @@ rvm:
4
4
  - 1.9.3
5
5
  - 2.0.0
6
6
  - 2.1.1
7
+ bundler_args: --without development_extras
7
8
  script:
8
9
  - bundle exec rake travis --trace
data/Rakefile CHANGED
@@ -5,6 +5,7 @@ require 'rake'
5
5
 
6
6
  require 'rubygems/package_task'
7
7
  require 'rspec/core/rake_task'
8
+ require 'rake/extensiontask'
8
9
 
9
10
  GEM_NAME = "libyajl2"
10
11
 
@@ -18,27 +19,32 @@ end
18
19
  # build tasks
19
20
  #
20
21
 
21
- desc "repackage and install #{GEM_NAME}-#{Libyajl2::VERSION}.gem"
22
- task :install => :repackage do
23
- sh %{gem install pkg/#{GEM_NAME}-#{Libyajl2::VERSION}.gem --no-rdoc --no-ri}
24
- end
25
-
26
- desc "uninstall #{GEM_NAME}-#{Libyajl2::VERSION}.gem"
27
- task :uninstall do
28
- sh %{gem uninstall #{GEM_NAME} -x -v #{Libyajl2::VERSION} }
29
- end
30
-
31
- desc "compile native gem"
32
- task :compile do
33
- cd "ext/libyajl2"
34
- ruby "extconf.rb"
35
- end
36
-
37
- desc "clean the git repo"
38
- task :clean do
39
- sh "git clean -fdx"
40
- cd "ext/libyajl2/vendor/yajl"
41
- sh "git clean -fdx"
22
+ #desc "repackage and install #{GEM_NAME}-#{Libyajl2::VERSION}.gem"
23
+ #task :install => :repackage do
24
+ # sh %{gem install pkg/#{GEM_NAME}-#{Libyajl2::VERSION}.gem --no-rdoc --no-ri}
25
+ #end
26
+ #
27
+ #desc "uninstall #{GEM_NAME}-#{Libyajl2::VERSION}.gem"
28
+ #task :uninstall do
29
+ # sh %{gem uninstall #{GEM_NAME} -x -v #{Libyajl2::VERSION} }
30
+ #end
31
+ #
32
+ #desc "compile native gem"
33
+ #task :compile do
34
+ # cd "ext/libyajl2"
35
+ # ruby "extconf.rb"
36
+ #end
37
+ #
38
+ #desc "clean the git repo"
39
+ #task :clean do
40
+ # sh "git clean -fdx"
41
+ # cd "ext/libyajl2/vendor/yajl"
42
+ # sh "git clean -fdx"
43
+ #end
44
+
45
+ Rake::ExtensionTask.new('libyajl', gemspec) do |ext|
46
+ ext.lib_dir = 'lib/libyajl2/vendored-libyajl2/lib'
47
+ ext.ext_dir = 'ext/libyajl2'
42
48
  end
43
49
 
44
50
  # FIXME: need a rake task to update the git submodule and need to do that before shipping
@@ -138,9 +144,9 @@ desc 'Run all style checks'
138
144
  task :style => ['style:rubocop', 'style:reek']
139
145
 
140
146
  desc 'Run style + spec tests by default on travis'
141
- task :travis => ['style', 'spec']
147
+ task :travis => ['compile', 'spec', 'style']
142
148
 
143
149
  desc 'Run style, spec and test kichen on travis'
144
- task :travis_all => ['style', 'spec', 'integration:cloud']
150
+ task :travis_all => ['compile', 'spec', 'integration:cloud', 'style']
145
151
 
146
- task :default => ['style', 'spec', 'integration:vagrant']
152
+ task :default => ['compile', 'spec', 'integration:vagrant', 'style']
@@ -1,7 +1,9 @@
1
- # We do all the work in extconf.rb, so we just have a dummy makefile here to
2
- # make rubygems happy.
3
-
1
+ TARGET = libyajl
2
+ DLLIB = $(TARGET).bundle
4
3
  all:
5
-
4
+ cd /Users/lamont/git/libyajl2-gem/ext/libyajl2/vendor/yajl/src && make
5
+ cp /Users/lamont/git/libyajl2-gem/ext/libyajl2/vendor/yajl/src/$(DLLIB) .
6
6
  install:
7
-
7
+ cp $(DLLIB) /Users/lamont/git/libyajl2-gem/lib/libyajl2/vendored-libyajl2
8
+ clean:
9
+ cd /Users/lamont/git/libyajl2-gem/ext/libyajl2/vendor/yajl/src && make clean
@@ -1,5 +1,6 @@
1
1
  exit(0) if ENV["USE_SYSTEM_LIBYAJL2"]
2
2
 
3
+ require 'rbconfig'
3
4
  require 'pp'
4
5
 
5
6
  module Libyajl2Build
@@ -17,31 +18,31 @@ module Libyajl2Build
17
18
  LIBYAJL2_VENDOR_DIR
18
19
  end
19
20
 
20
- def self.configure
21
- File.join(LIBYAJL2_VENDOR_DIR, "configure")
22
- end
23
-
24
21
  def self.prefix
25
22
  PREFIX
26
23
  end
27
24
 
28
- def self.configure_cmd
29
- # NB: this is not a gnu configure command
30
- %W[
31
- sh
32
- #{configure}
33
- -p
34
- #{prefix}
35
- ]
25
+ def self.setup_env
36
26
  end
37
27
 
38
- def self.setup_env
39
- if windows?
40
- ENV['PATH'] ||= 'C:\Ruby\DevKit\bin;C:\Ruby\DevKit\mingw\bin;' + ENV['PATH']
41
- ENV['RI_DEVKIT'] ||= 'C:\Ruby\DevKit'
42
- ENV['CC'] ||= 'gcc'
43
- ENV['CPP'] ||= 'cpp'
44
- ENV['CXX'] ||= 'g++'
28
+ # for mkmf.rb compat
29
+ CONFIG = RbConfig::MAKEFILE_CONFIG
30
+
31
+ def self.mkintpath(path)
32
+ case CONFIG['build_os']
33
+ when 'mingw32'
34
+ path = path.dup
35
+ path.tr!('\\', '/')
36
+ path.sub!(/\A([A-Za-z]):(?=\/)/, '/\1')
37
+ path
38
+ when 'cygwin'
39
+ if CONFIG['target_os'] != 'cygwin'
40
+ IO.popen(["cygpath", "-u", path], &:read).chomp
41
+ else
42
+ path
43
+ end
44
+ else
45
+ path
45
46
  end
46
47
  end
47
48
 
@@ -50,20 +51,170 @@ module Libyajl2Build
50
51
  super(*args)
51
52
  end
52
53
 
53
- def self.run_build_commands
54
- setup_env
55
- puts `pwd`
56
- puts `env`
57
- puts configure_cmd
58
- system(*configure_cmd) &&
59
- system("make", "-j", "5", "install")
54
+ # since we're not using cmake we have to mangle up yajl_version.h ourselves
55
+ def self.generate_yajl_version
56
+ yajl_major = yajl_minor = yajl_micro = nil
57
+ File.open("#{libyajl2_vendor_dir}/CMakeLists.txt").each do |line|
58
+ if m = line.match(/YAJL_MAJOR (\d+)/)
59
+ yajl_major = m[1]
60
+ end
61
+ if m = line.match(/YAJL_MINOR (\d+)/)
62
+ yajl_minor = m[1]
63
+ end
64
+ if m = line.match(/YAJL_MICRO (\d+)/)
65
+ yajl_micro = m[1]
66
+ end
67
+ end
68
+ File.open("#{libyajl2_vendor_dir}/src/api/yajl_version.h", "w+") do |out|
69
+ File.open("#{libyajl2_vendor_dir}/src/api/yajl_version.h.cmake").each do |line|
70
+ line.gsub!(/\$\{YAJL_MAJOR\}/, yajl_major)
71
+ line.gsub!(/\$\{YAJL_MINOR\}/, yajl_minor)
72
+ line.gsub!(/\$\{YAJL_MICRO\}/, yajl_micro)
73
+ out.write(line)
74
+ end
75
+ end
60
76
  end
61
77
 
62
- def self.run
63
- Dir.chdir(libyajl2_vendor_dir) do
64
- run_build_commands or raise BuildError, "Failed to build libyajl2 library."
78
+ def self.yajl_makefile
79
+ File.open("Makefile", "w+") do |f|
80
+ f.write <<EOF
81
+ SHELL = /bin/sh
82
+
83
+ # V=0 quiet, V=1 verbose. other values don't work.
84
+ V = 0
85
+ Q1 = $(V:1=)
86
+ Q = $(Q1:0=@)
87
+ ECHO1 = $(V:1=@:)
88
+ ECHO = $(ECHO1:0=@echo)
89
+
90
+ #### Start of system configuration section. ####
91
+
92
+ srcdir = .
93
+ prefix = #{mkintpath(CONFIG['prefix'])}
94
+ rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
95
+ exec_prefix = $(prefix)
96
+ sitearchdir = $(sitelibdir)/$(sitearch)
97
+ sitelibdir = $(sitedir)/$(ruby_version)
98
+ sitedir = $(rubylibprefix)/site_ruby
99
+ libdir = $(exec_prefix)/lib
100
+
101
+ CC = #{CONFIG['CC']}
102
+ COUTFLAG = '-o'
103
+
104
+ cflags = #{CONFIG['cflags']}
105
+ optflags = #{CONFIG['optflags']}
106
+ debugflags = #{CONFIG['debugflags']}
107
+ warnflags = #{CONFIG['warnflags']}
108
+ CCDLFLAGS = #{CONFIG['CCDLFLAGS']}
109
+ CFLAGS = $(CCDLFLAGS) -I#{libyajl2_vendor_dir}/src/api -I. #{CONFIG['CFLAGS']} $(ARCH_FLAG)
110
+ INCFLAGS = -I. -I$(srcdir)
111
+ DEFS = #{CONFIG['DEFS']}
112
+ CPPFLAGS = #{CONFIG['CPPFLAGS']} $(cppflags)
113
+ ldflags = #{CONFIG['LDFLAGS']}
114
+ #dldflags = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress
115
+ dldflags = #{CONFIG['DLDFLAGS']} #{CONFIG['EXTDLDFLAGS']}
116
+ ARCH_FLAG = #{CONFIG['ARCH_FLAG']}
117
+ DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
118
+ LDSHARED = #{CONFIG['LDSHARED']}
119
+
120
+ RUBY_INSTALL_NAME = #{CONFIG['RUBY_INSTALL_NAME']}
121
+ RUBY_SO_NAME = #{CONFIG['RUBY_SO_NAME']}
122
+ RUBYW_INSTALL_NAME = #{CONFIG['RUBYW_INSTALL_NAME']}
123
+ RUBY_VERSION_NAME = #{CONFIG['RUBY_VERSION_NAME']}
124
+ RUBYW_BASE_NAME = #{CONFIG['RUBYW_BASE_NAME']}
125
+ RUBY_BASE_NAME = #{CONFIG['RUBY_BASE_NAME']}
126
+
127
+ arch = #{CONFIG['arch']}
128
+ sitearch = #{CONFIG['sitearch']}
129
+ ruby_version = #{RbConfig::CONFIG['ruby_version']}
130
+ ruby = #{File.join(RbConfig::CONFIG["bindir"], CONFIG["ruby_install_name"])}
131
+ RUBY = $(ruby)
132
+
133
+ RM = $(RUBY) -run -e rm -- -f
134
+ MAKEDIRS = $(RUBY) -run -e mkdir -- -p
135
+ INSTALL = $(RUBY) -run -e install -- -vp
136
+ INSTALL_PROG = $(INSTALL) -m 0755
137
+ TOUCH = exit >
138
+
139
+ #### End of system configuration section. ####
140
+
141
+ libpath = . $(libdir)
142
+ LIBPATH = -L. -L$(libdir)
143
+
144
+ CLEANFILES = mkmf.log
145
+
146
+ target_prefix =
147
+ LIBS = #{CONFIG['LIBS']} #{CONFIG['DLDLIBS']}
148
+ ORIG_SRCS = yajl.c yajl_alloc.c yajl_buf.c yajl_encode.c yajl_gen.c yajl_lex.c yajl_parser.c yajl_tree.c yajl_version.c
149
+ SRCS = $(ORIG_SRCS)
150
+ OBJS = yajl.o yajl_alloc.o yajl_buf.o yajl_encode.o yajl_gen.o yajl_lex.o yajl_parser.o yajl_tree.o yajl_version.o
151
+ HDRS = yajl_alloc.h yajl_buf.h yajl_bytestack.h yajl_encode.h yajl_lex.h yajl_parser.h
152
+ TARGET = libyajl
153
+ DLLIB = $(TARGET).#{CONFIG['DLEXT']}
154
+
155
+ TIMESTAMP_DIR = .
156
+ RUBYARCHDIR = $(sitearchdir)$(target_prefix)
157
+
158
+ CLEANLIBS = $(TARGET).bundle
159
+ CLEANOBJS = *.o *.bak
160
+
161
+ all: $(DLLIB)
162
+
163
+ clean:
164
+ \t-$(Q)$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
165
+
166
+ install: install-so install-rb
167
+
168
+ install-so: $(DLLIB) $(TIMESTAMP_DIR)/.RUBYARCHDIR.time
169
+ \t$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
170
+
171
+ install-rb:
172
+ \t$(ECHO) installing default libyajl libraries
173
+ $(TIMESTAMP_DIR)/.RUBYARCHDIR.time:
174
+ \t$(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
175
+ \t$(Q) $(TOUCH) $@
176
+
177
+ .SUFFIXES: .c .o
178
+
179
+ .c.o:
180
+ \t$(ECHO) compiling $(<)
181
+ \t$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $<
182
+
183
+ $(DLLIB): $(OBJS) Makefile
184
+ \t$(ECHO) linking shared-object $(DLLIB)
185
+ \t-$(Q)$(RM) $(@)
186
+ \t$(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LIBS)
187
+ \t$(Q) $(POSTLINK)
188
+
189
+ $(OBJS): $(HDRS)
190
+ EOF
191
+ end
192
+ end
193
+
194
+ def self.makemakefiles
195
+ setup_env
196
+ generate_yajl_version
197
+ Dir.chdir("#{libyajl2_vendor_dir}/src") do
198
+ # hack to make includes work
199
+ system("rm -f api/yajl")
200
+ system("ln -s . api/yajl")
201
+ yajl_makefile
202
+ end
203
+ File.open("Makefile", "w+") do |f|
204
+ f.write <<EOF
205
+ TARGET = libyajl
206
+ DLLIB = $(TARGET).#{CONFIG['DLEXT']}
207
+ all:
208
+ \tcd #{libyajl2_vendor_dir}/src && make
209
+ \tcp #{libyajl2_vendor_dir}/src/$(DLLIB) .
210
+ install:
211
+ \tcp $(DLLIB) #{prefix}
212
+ clean:
213
+ \tcd #{libyajl2_vendor_dir}/src && make clean
214
+ EOF
65
215
  end
66
216
  end
67
217
  end
68
218
 
69
- Libyajl2Build.run
219
+ Libyajl2Build.makemakefiles
220
+
@@ -1,3 +1,3 @@
1
1
  module Libyajl2
2
- VERSION = "0.0.4"
2
+ VERSION = "0.1.0"
3
3
  end
data/libyajl2.gemspec CHANGED
@@ -24,6 +24,9 @@ Gem::Specification.new do |spec|
24
24
  # required for 'rake spec'
25
25
  spec.add_development_dependency "bundler"
26
26
  spec.add_development_dependency "rake"
27
+ spec.add_development_dependency "rake-compiler"
28
+ # pin mime-types in order to work on ruby 1.8.7
29
+ spec.add_development_dependency "mime-types", "~> 1.16"
27
30
  spec.add_development_dependency "rspec", "~> 2.14"
28
31
  spec.add_development_dependency "ffi", "~> 1.9"
29
32
  end
metadata CHANGED
@@ -1,87 +1,91 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: libyajl2
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - lamont-granquist
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-10 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
11
+
12
+ date: 2014-05-14 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - &id002
18
+ - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: "0"
21
+ version_requirements: *id001
22
+ prerelease: false
20
23
  type: :development
24
+ name: bundler
25
+ - !ruby/object:Gem::Dependency
26
+ requirement: &id003 !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - *id002
29
+ version_requirements: *id003
21
30
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
31
+ type: :development
28
32
  name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
33
+ - !ruby/object:Gem::Dependency
34
+ requirement: &id004 !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - *id002
37
+ version_requirements: *id004
38
+ prerelease: false
34
39
  type: :development
40
+ name: rake-compiler
41
+ - !ruby/object:Gem::Dependency
42
+ requirement: &id005 !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: "1.16"
47
+ version_requirements: *id005
35
48
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '2.14'
48
49
  type: :development
50
+ name: mime-types
51
+ - !ruby/object:Gem::Dependency
52
+ requirement: &id006 !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ~>
55
+ - !ruby/object:Gem::Version
56
+ version: "2.14"
57
+ version_requirements: *id006
49
58
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '2.14'
55
- - !ruby/object:Gem::Dependency
56
- name: ffi
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.9'
62
59
  type: :development
60
+ name: rspec
61
+ - !ruby/object:Gem::Dependency
62
+ requirement: &id007 !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ version: "1.9"
67
+ version_requirements: *id007
63
68
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.9'
69
+ type: :development
70
+ name: ffi
69
71
  description: Installs a vendored copy of libyajl2 for distributions which lack it
70
- email:
72
+ email:
71
73
  - lamont@scriptkiddie.org
72
74
  executables: []
73
- extensions:
75
+
76
+ extensions:
74
77
  - ext/libyajl2/extconf.rb
75
78
  extra_rdoc_files: []
76
- files:
77
- - ".gitignore"
78
- - ".gitmodules"
79
- - ".kitchen.cloud.yml"
80
- - ".kitchen.yml"
81
- - ".reek.yml"
82
- - ".rspec"
83
- - ".rubocop.yml"
84
- - ".travis.yml"
79
+
80
+ files:
81
+ - .gitignore
82
+ - .gitmodules
83
+ - .kitchen.cloud.yml
84
+ - .kitchen.yml
85
+ - .reek.yml
86
+ - .rspec
87
+ - .rubocop.yml
88
+ - .travis.yml
85
89
  - CONTRIBUTING.md
86
90
  - Gemfile
87
91
  - LICENSE
@@ -90,6 +94,13 @@ files:
90
94
  - bootstrap.sh
91
95
  - ext/libyajl2/Makefile
92
96
  - ext/libyajl2/extconf.rb
97
+ - lib/libyajl2.rb
98
+ - lib/libyajl2/vendored-libyajl2/.gitkeep
99
+ - lib/libyajl2/version.rb
100
+ - libyajl2.gemspec
101
+ - spec/ffi_spec.rb
102
+ - spec/path_spec.rb
103
+ - spec/spec_helper.rb
93
104
  - ext/libyajl2/vendor/yajl/.gitignore
94
105
  - ext/libyajl2/vendor/yajl/BUILDING
95
106
  - ext/libyajl2/vendor/yajl/BUILDING.win32
@@ -259,38 +270,30 @@ files:
259
270
  - ext/libyajl2/vendor/yajl/test/parsing/yajl_test.c
260
271
  - ext/libyajl2/vendor/yajl/verify/CMakeLists.txt
261
272
  - ext/libyajl2/vendor/yajl/verify/json_verify.c
262
- - lib/libyajl2.rb
263
- - lib/libyajl2/vendored-libyajl2/.gitkeep
264
- - lib/libyajl2/version.rb
265
- - libyajl2.gemspec
266
- - spec/ffi_spec.rb
267
- - spec/path_spec.rb
268
- - spec/spec_helper.rb
269
273
  homepage: https://github.com/lamont-granquist/libyajl2-gem
270
- licenses:
274
+ licenses:
271
275
  - Apache 2.0
272
276
  metadata: {}
277
+
273
278
  post_install_message:
274
279
  rdoc_options: []
275
- require_paths:
280
+
281
+ require_paths:
276
282
  - lib
277
- required_ruby_version: !ruby/object:Gem::Requirement
278
- requirements:
279
- - - ">="
280
- - !ruby/object:Gem::Version
281
- version: '0'
282
- required_rubygems_version: !ruby/object:Gem::Requirement
283
- requirements:
284
- - - ">="
285
- - !ruby/object:Gem::Version
286
- version: '0'
283
+ required_ruby_version: !ruby/object:Gem::Requirement
284
+ requirements:
285
+ - *id002
286
+ required_rubygems_version: !ruby/object:Gem::Requirement
287
+ requirements:
288
+ - *id002
287
289
  requirements: []
290
+
288
291
  rubyforge_project:
289
- rubygems_version: 2.2.2
292
+ rubygems_version: 2.0.12
290
293
  signing_key:
291
294
  specification_version: 4
292
295
  summary: Installs a vendored copy of libyajl2 for distributions which lack it
293
- test_files:
296
+ test_files:
294
297
  - spec/ffi_spec.rb
295
298
  - spec/path_spec.rb
296
299
  - spec/spec_helper.rb