wankel 0.6.1 → 0.6.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +35 -0
- data/CHANGELOG.md +6 -0
- data/README.md +2 -2
- data/ext/wankel/yajl_helpers.c +1 -1
- data/wankel.gemspec +12 -5
- metadata +15 -11
- data/.travis.yml +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6d88ae2528344f1172c24b3f1841ba571b39358d67c5ba7eabc9ad4b9c407cf4
|
4
|
+
data.tar.gz: 8244fed74e2591bc0616948307ec047b171ab65a59c1d7612824530ce217cb98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41e74cb713d67bd4e349853015c56bd0d2a1a89467659b4e2fcfc4cd1aa58bbc95f0d817517547ef4a86a796033fec494ae9c37d8fe638162ee9287ef91de062
|
7
|
+
data.tar.gz: 1e902d83d953d9b083836718e75e108632077cf2167f405906e46e29e7d6b06f94772f1ff4368752d58e40a8dc8536763b29d97db015918b764cf0f22d765dfd
|
@@ -0,0 +1,35 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
test:
|
11
|
+
name: Wankel Test
|
12
|
+
runs-on: ubuntu-20.04
|
13
|
+
strategy:
|
14
|
+
matrix:
|
15
|
+
ruby: ['2.6', '2.7', '3.0']
|
16
|
+
|
17
|
+
steps:
|
18
|
+
- uses: ruby/setup-ruby@v1
|
19
|
+
with:
|
20
|
+
ruby-version: ${{ matrix.ruby }}
|
21
|
+
|
22
|
+
- uses: actions/checkout@v2
|
23
|
+
|
24
|
+
- name: Install YAJL
|
25
|
+
run: |
|
26
|
+
wget 'https://github.com/lloyd/yajl/archive/2.1.0.tar.gz'
|
27
|
+
tar -xvf '2.1.0.tar.gz'
|
28
|
+
cd 'yajl-2.1.0' && ./configure && make && sudo make install
|
29
|
+
sudo ldconfig
|
30
|
+
|
31
|
+
- name: Run tests
|
32
|
+
run: |
|
33
|
+
bundle install
|
34
|
+
bundle exec rake compile
|
35
|
+
bundle exec rake test
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
[![Wankel](logo.png)](http://wanklerb.org)
|
2
2
|
|
3
|
-
Wankel
|
4
|
-
|
3
|
+
Wankel
|
4
|
+
------
|
5
5
|
|
6
6
|
**Wankel** is a Ruby gem that provides C bindings to the
|
7
7
|
[YAJL 2](http://lloyd.github.io/yajl/) C Library.
|
data/ext/wankel/yajl_helpers.c
CHANGED
@@ -28,7 +28,7 @@ void yajl_helper_check_status(yajl_handle handle, yajl_status status, int verbos
|
|
28
28
|
if(status != yajl_status_ok) {
|
29
29
|
unsigned char * str = yajl_get_error(handle, verbose, jsonText, jsonTextLength);
|
30
30
|
yajl_free_error(handle, str);
|
31
|
-
rb_raise(rb_const_get(rb_const_get(rb_cObject, rb_intern("Wankel")), rb_intern("ParseError")), (const char*) str);
|
31
|
+
rb_raise(rb_const_get(rb_const_get(rb_cObject, rb_intern("Wankel")), rb_intern("ParseError")), "%s", (const char*) str);
|
32
32
|
}
|
33
33
|
}
|
34
34
|
|
data/wankel.gemspec
CHANGED
@@ -1,21 +1,28 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'wankel'
|
3
|
-
s.version = '0.6.1'
|
3
|
+
s.version = '0.6.2.1'
|
4
4
|
s.licenses = ['MIT']
|
5
5
|
s.authors = ['Jon Bracy']
|
6
6
|
s.email = ['jonbracy@gmail.com']
|
7
|
-
s.homepage = 'http://wankelrb.
|
7
|
+
s.homepage = 'http://wankelrb.org'
|
8
8
|
s.summary = 'Streaming JSON parser and encoder'
|
9
9
|
s.description = 'A JSON parser that enables streaming parsing and encoding of JSON'
|
10
|
-
|
10
|
+
s.metadata = {
|
11
|
+
"issue_tracker" => "https://github.com/malomalo/wankel/issues"
|
12
|
+
}
|
13
|
+
|
11
14
|
s.extra_rdoc_files = %w(README.md)
|
12
|
-
s.rdoc_options
|
15
|
+
s.rdoc_options << '--title' << 'Wankel'
|
16
|
+
s.rdoc_options << '--main' << 'README.md'
|
17
|
+
s.rdoc_options << '--line-numbers'
|
13
18
|
|
14
19
|
s.files = `git ls-files`.split("\n")
|
15
20
|
s.extensions = ['ext/wankel/extconf.rb']
|
16
21
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
22
|
s.require_paths = ['lib']
|
18
23
|
|
24
|
+
s.requirements << 'yajl, v2.1'
|
25
|
+
|
19
26
|
s.required_ruby_version = '>= 2.0.0'
|
20
27
|
|
21
28
|
s.add_development_dependency 'rake-compiler', '~> 0.9'
|
@@ -24,4 +31,4 @@ Gem::Specification.new do |s|
|
|
24
31
|
s.add_development_dependency 'mocha', '~> 1.1'
|
25
32
|
s.add_development_dependency 'sdoc', '~> 0.4'
|
26
33
|
s.add_development_dependency 'sdoc-templates-42floors', '~> 0.3'
|
27
|
-
end
|
34
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wankel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.1
|
4
|
+
version: 0.6.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Bracy
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -103,9 +103,9 @@ extensions:
|
|
103
103
|
extra_rdoc_files:
|
104
104
|
- README.md
|
105
105
|
files:
|
106
|
+
- ".github/workflows/ci.yml"
|
106
107
|
- ".gitignore"
|
107
108
|
- ".tm_properties"
|
108
|
-
- ".travis.yml"
|
109
109
|
- CHANGELOG.md
|
110
110
|
- Gemfile
|
111
111
|
- LICENSE
|
@@ -199,14 +199,18 @@ files:
|
|
199
199
|
- test/test_helper.rb
|
200
200
|
- test/wankel_test.rb
|
201
201
|
- wankel.gemspec
|
202
|
-
homepage: http://wankelrb.
|
202
|
+
homepage: http://wankelrb.org
|
203
203
|
licenses:
|
204
204
|
- MIT
|
205
|
-
metadata:
|
206
|
-
|
205
|
+
metadata:
|
206
|
+
issue_tracker: https://github.com/malomalo/wankel/issues
|
207
|
+
post_install_message:
|
207
208
|
rdoc_options:
|
209
|
+
- "--title"
|
210
|
+
- Wankel
|
208
211
|
- "--main"
|
209
212
|
- README.md
|
213
|
+
- "--line-numbers"
|
210
214
|
require_paths:
|
211
215
|
- lib
|
212
216
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -219,10 +223,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
223
|
- - ">="
|
220
224
|
- !ruby/object:Gem::Version
|
221
225
|
version: '0'
|
222
|
-
requirements:
|
223
|
-
|
224
|
-
rubygems_version:
|
225
|
-
signing_key:
|
226
|
+
requirements:
|
227
|
+
- yajl, v2.1
|
228
|
+
rubygems_version: 3.4.5
|
229
|
+
signing_key:
|
226
230
|
specification_version: 4
|
227
231
|
summary: Streaming JSON parser and encoder
|
228
232
|
test_files:
|
data/.travis.yml
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.0.0
|
4
|
-
- 2.1.2
|
5
|
-
- 2.2.0
|
6
|
-
cache: bundler
|
7
|
-
install:
|
8
|
-
- wget 'https://github.com/lloyd/yajl/archive/2.1.0.tar.gz'
|
9
|
-
- tar -xvf '2.1.0.tar.gz'
|
10
|
-
- cd 'yajl-2.1.0' && ./configure && make && sudo make install
|
11
|
-
- sudo ldconfig
|
12
|
-
- bundle install
|
13
|
-
- bundle exec rake compile
|
14
|
-
script: bundle exec rake test
|