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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fcf76c0c5b8744cd2d363236a8333ea1fff8be74
4
- data.tar.gz: 82b033055f7e1976f835d8df0cba5198ae0a251c
3
+ metadata.gz: 2caf4d5f7ea7d1b0caddd827530fa1df1323026d
4
+ data.tar.gz: 31f57815dd9c55503b93d0e99fb9183b6096fefc
5
5
  SHA512:
6
- metadata.gz: 85b56c1ad4840d2eab0bc18567e2f386d5e787aeb2327d36ca62544a7efe171fc063506fadca7b1828c10dfb9f28e0744feb7b49a67b176dacc07804f178abf4
7
- data.tar.gz: 595cae56b527dc4f730a33439e10393e76ee8cbcc24d6b7e211a50abb78b5442e34925862bce16a0cafa254db291f3cbafa3c032e1382a131e6bc596482f8f14
6
+ metadata.gz: 4dc62a20dbc655d9a1f5492ed970ff0fa20c44ac3f9c4e2cf8c744927d09945803fa2775dc8751461deb02d096d13464f3002ce42db9e9c4daa83ebcbb6cd96d
7
+ data.tar.gz: bfc080f4feba54d47035fdc4a6b2e25cf521a873166e96e8f67f7453ee7cf6a00cdcb38ca6808f4ccdebb8ccdb2e18236f4c51a3a1d1c5e23f4a6de150424460
data/README.md CHANGED
@@ -1,15 +1,13 @@
1
- # Yao::Oj
1
+ # yao-oj
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/yao/oj`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- TODO: Write usage instructions here
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
 
@@ -1,5 +1,5 @@
1
1
  module Yao
2
2
  module Oj
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
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.2.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.2.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: 2015-11-11 00:00:00.000000000 Z
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.2.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.2.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.2.5
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.