yao-oj 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -6
- data/lib/yao/oj/version.rb +1 -1
- data/yao-oj.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2caf4d5f7ea7d1b0caddd827530fa1df1323026d
|
4
|
+
data.tar.gz: 31f57815dd9c55503b93d0e99fb9183b6096fefc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dc62a20dbc655d9a1f5492ed970ff0fa20c44ac3f9c4e2cf8c744927d09945803fa2775dc8751461deb02d096d13464f3002ce42db9e9c4daa83ebcbb6cd96d
|
7
|
+
data.tar.gz: bfc080f4feba54d47035fdc4a6b2e25cf521a873166e96e8f67f7453ee7cf6a00cdcb38ca6808f4ccdebb8ccdb2e18236f4c51a3a1d1c5e23f4a6de150424460
|
data/README.md
CHANGED
@@ -1,15 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# yao-oj
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Yao's http response parser using oj. This is a client generator plugin. [![Build Status](https://travis-ci.org/yaocloud/yao-oj.svg?branch=v0.2.0)](https://travis-ci.org/yaocloud/yao-oj)
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
7
|
Add this line to your application's Gemfile:
|
10
8
|
|
11
9
|
```ruby
|
12
|
-
gem 'yao-oj'
|
10
|
+
gem 'yao-oj', '>= 0.2'
|
13
11
|
```
|
14
12
|
|
15
13
|
And then execute:
|
@@ -20,9 +18,19 @@ Or install it yourself as:
|
|
20
18
|
|
21
19
|
$ gem install yao-oj
|
22
20
|
|
21
|
+
|
22
|
+
Note: `yao-oj` depends on `yao` itself.
|
23
|
+
|
23
24
|
## Usage
|
24
25
|
|
25
|
-
|
26
|
+
```ruby
|
27
|
+
require 'yao'
|
28
|
+
require 'yao-oj'
|
29
|
+
|
30
|
+
Yao.config.set :client_generator, :oj
|
31
|
+
```
|
32
|
+
|
33
|
+
And it rocks!
|
26
34
|
|
27
35
|
## Development
|
28
36
|
|
data/lib/yao/oj/version.rb
CHANGED
data/yao-oj.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_dependency 'yao', '~> 0.
|
22
|
+
spec.add_dependency 'yao', '~> 0.3.0'
|
23
23
|
spec.add_dependency 'faraday_middleware-parse_oj', '~> 0.3.0'
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.10"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yao-oj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uchio KONDO
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yao
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.3.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.3.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday_middleware-parse_oj
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
version: '0'
|
136
136
|
requirements: []
|
137
137
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.
|
138
|
+
rubygems_version: 2.6.11
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Yao's http response parser using oj.
|