ruby-jq 0.1.4 → 0.1.5

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
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1686a558eb0d5e65bc59781451693a7319f068ac
4
- data.tar.gz: 348a316f313679a31b785577767fbd03ce53e0c8
3
+ metadata.gz: 6544eb5b2c0024c37edcba02cd6c3e69ea326467
4
+ data.tar.gz: 16b1b9ed8b673d6ad48932dc2adac2ce0a5b7b9b
5
5
  SHA512:
6
- metadata.gz: 826ccd4663c65974003e5663d3f30bf858d4eb3571263a068fca965198569ab2ea4c223e09d90e4ad1c007df9ca8a0128b76943860e2aaa7f7233eaa661a33ae
7
- data.tar.gz: 42907adc91d968c9f723d0c58d035ac70b7f9782e836b4e911ca6de062ec30664a176bb1cb6bf41127a1c574f5b601e4898aa62b618d4604455d65b1fe75b2d6
6
+ metadata.gz: 91bb8715bc912d1bc180f963ae9b73a6516ba7750c57ce4f1722a91114a7d0b99ce05d0672792fa6a712fed824ee79a5bbc9d9a9f252c712849445e0b8eff155
7
+ data.tar.gz: 634e4146175d8913561fbeeb6e52d6b376a645b465bddcd34d2906df9d819ff7e0f4fde49f2e458d15f8252615129d786859b62c0ae0c42e2cc5060872aa0c58
@@ -0,0 +1,24 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ before_script:
5
+ - wget http://ftp.gnu.org/gnu/bison/bison-3.0.2.tar.gz
6
+ - tar xf bison-3.0.2.tar.gz
7
+ - cd bison-3.0.2
8
+ - ./configure
9
+ - make
10
+ - sudo make install
11
+ - cd ..
12
+ - sudo apt-get install flex libonig2 libonig-dev
13
+ - git clone https://github.com/stedolan/jq.git
14
+ - cd jq
15
+ - autoreconf -i
16
+ - ./configure --enable-shared
17
+ - BUNDLE_GEMFILE="$PWD/docs/Gemfile" bundle install
18
+ - BUNDLE_GEMFILE="$PWD/docs/Gemfile" bundle exec make
19
+ - sudo make install
20
+ - sudo ldconfig
21
+ - cd ..
22
+ script:
23
+ - bundle install
24
+ - bundle exec rake
data/README.md CHANGED
@@ -4,8 +4,8 @@ Ruby bindings for jq.
4
4
 
5
5
  see [http://stedolan.github.io/jq/](http://stedolan.github.io/jq/).
6
6
 
7
- [![Gem Version](https://badge.fury.io/rb/ruby-jq.png)](http://badge.fury.io/rb/ruby-jq)
8
- [![Build Status](https://drone.io/bitbucket.org/winebarrel/ruby-jq/status.png)](https://drone.io/bitbucket.org/winebarrel/ruby-jq/latest)
7
+ [![Gem Version](https://badge.fury.io/rb/ruby-jq.svg)](http://badge.fury.io/rb/ruby-jq)
8
+ [![Build Status](https://travis-ci.org/winebarrel/ruby-jq.svg?branch=master)](https://travis-ci.org/winebarrel/ruby-jq)
9
9
 
10
10
  ## Installation
11
11
 
@@ -21,9 +21,6 @@ sudo make install
21
21
  sudo ldconfig
22
22
  ```
23
23
 
24
- (You can download it from [here](https://bitbucket.org/winebarrel/ruby-jq/downloads/libjq-osx-10.8.5-2003a0440f3b75f7cdc216e8254a1eb2e466843c.tar.gz) if you're using OSX)
25
-
26
-
27
24
  Add this line to your application's Gemfile:
28
25
 
29
26
  gem 'ruby-jq'
@@ -99,8 +99,7 @@ static VALUE rb_jq_update(VALUE self, VALUE buf, VALUE v_is_partial) {
99
99
  Check_Type(buf, T_STRING);
100
100
 
101
101
  if (!p->parser) {
102
- jv_parser_flags parser_flags = 0;
103
- p->parser = jv_parser_new(parser_flags);
102
+ p->parser = jv_parser_new(0);
104
103
  }
105
104
 
106
105
  jv_parser_set_buf(p->parser, RSTRING_PTR(buf), RSTRING_LEN(buf), is_partial);
@@ -1,3 +1,3 @@
1
1
  module JQ
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = "sgwr_dts@yahoo.co.jp"
11
11
  spec.description = "Ruby bindings for jq"
12
12
  spec.summary = "Ruby bindings for jq"
13
- spec.homepage = "https://bitbucket.org/winebarrel/ruby-jq"
13
+ spec.homepage = "https://github.com/winebarrel/ruby-jq"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-jq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - winebarrel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-22 00:00:00.000000000 Z
11
+ date: 2014-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -88,6 +88,7 @@ extensions:
88
88
  extra_rdoc_files: []
89
89
  files:
90
90
  - .gitignore
91
+ - .travis.yml
91
92
  - Gemfile
92
93
  - LICENSE.txt
93
94
  - README.md
@@ -102,7 +103,7 @@ files:
102
103
  - ruby-jq.gemspec
103
104
  - spec/jq_spec.rb
104
105
  - spec/spec_helper.rb
105
- homepage: https://bitbucket.org/winebarrel/ruby-jq
106
+ homepage: https://github.com/winebarrel/ruby-jq
106
107
  licenses:
107
108
  - MIT
108
109
  metadata: {}