esa 0.0.6 → 1.0.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: fd41d60034de3867a3aa0c0448471d36c03cea83
4
- data.tar.gz: 070a85d58193f6862f16e071b6604620da7c2293
3
+ metadata.gz: 68f57d011747ff152b15ebe7eccd82591ef53acc
4
+ data.tar.gz: bd1c794d59fffb421390f764e17eb5b4e35baedb
5
5
  SHA512:
6
- metadata.gz: f769d8c2bcb7937595ff504d406616bd17a37a9fdc9c801ade8896ecff8015b9d7c85e7ef84054ac04eb2e69344d352ed4a6fc51f14cfa473cfaea26b3667035
7
- data.tar.gz: 718e649d5044866dc5dbafbc4e1566744c6407b1d6a775b02d9dff5c78cdcbaed5aeaafd6e4caad64dac2f8bc3f359cfd64bbaf2a2d6a9141483918d827fcc93
6
+ metadata.gz: 2ac4eac59e6e15e59a1d8afa2debf2e2723f5b6760e3d3b734ad79650a0fe37764cc3a7cf2a69e585c8c1c3cb85ac3d9fc5867ce27b8ad87d618cfbe3a1e7b3a
7
+ data.tar.gz: 757bb7c3a20dc6bb22f312e5f16f6d2db2996a4c4854ba04b279f065b4a06968171ad3d1e874a5b53f2a0abac6a366d4690c73423cbbeb482d5c449768f88a50
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ - 2.1
5
+ - 2.2
@@ -1,3 +1,8 @@
1
+ ## 1.0.0 (2015-09-25)
2
+ - Production Ready (\\( ⁰⊖⁰)/)
3
+ - [Add Stats API by fukayatsu · Pull Request #12 · esaio/esa-ruby](https://github.com/esaio/esa-ruby/pull/12)
4
+ - [Use Travis CI for testing by hanachin · Pull Request #11 · esaio/esa-ruby](https://github.com/esaio/esa-ruby/pull/11)
5
+
1
6
  ## 0.0.6 (2015-06-21)
2
7
  - [Support Comment API by fukayatsu · Pull Request #9 · esaio/esa-ruby](https://github.com/esaio/esa-ruby/pull/9)
3
8
 
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # esa-ruby
2
+ [![Build Status](https://travis-ci.org/esaio/esa-ruby.svg)](https://travis-ci.org/esaio/esa-ruby)
2
3
 
3
4
  [WIP] esa API v1 client library, written in Ruby
4
5
 
@@ -31,6 +32,9 @@ client.teams
31
32
  client.team('bar')
32
33
  #=> GET /v1/teams/bar
33
34
 
35
+ client.stats
36
+ #=> GET /v1/teams/bar/stats
37
+
34
38
  # Post API
35
39
  client.posts
36
40
  #=> GET /v1/teams/foo/posts
@@ -8,6 +8,10 @@ module Esa
8
8
  send_get("/v1/teams/#{team_name}", params, headers)
9
9
  end
10
10
 
11
+ def stats(params = nil, headers = nil)
12
+ send_get("/v1/teams/#{current_team!}/stats", params, headers)
13
+ end
14
+
11
15
  def posts(params = nil, headers = nil)
12
16
  send_get("/v1/teams/#{current_team!}/posts", params, headers)
13
17
  end
@@ -1,3 +1,3 @@
1
1
  module Esa
2
- VERSION = "0.0.6"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - fukayatsu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-21 00:00:00.000000000 Z
11
+ date: 2015-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -173,6 +173,7 @@ extra_rdoc_files: []
173
173
  files:
174
174
  - ".gitignore"
175
175
  - ".rspec"
176
+ - ".travis.yml"
176
177
  - CHANGELOG.md
177
178
  - Gemfile
178
179
  - Guardfile
@@ -209,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
210
  version: '0'
210
211
  requirements: []
211
212
  rubyforge_project:
212
- rubygems_version: 2.4.5
213
+ rubygems_version: 2.4.5.1
213
214
  signing_key:
214
215
  specification_version: 4
215
216
  summary: "[WIP] esa API v1 client library, written in Ruby"