zenhub_ruby 0.1.0 → 0.1.1

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: a14e2084faadd08af3422e4b48c9da858daf389a
4
- data.tar.gz: e2c8942b6966b8ff6e563a35d6cc1720c9796c85
3
+ metadata.gz: 481f5482147c50065cce36312f9a581e5eacccd0
4
+ data.tar.gz: e1e5af1336b9b4928469a41136a058d37b370a53
5
5
  SHA512:
6
- metadata.gz: 290ace6a6c01e305a11503a707e98dad638e6c1c31ce5dea28513c19e3c5faa3d9086929910e49a9da6c2ddca4ac0939ce6453eb1e47e0f9f2a5ddcf85dc5f34
7
- data.tar.gz: 092e799506bd795310e56365814a5cf77c84aa5001ad06c9232cf55c1670152dee20551c3e50551eb4511fb4563c8d36d5e2c5f4c2f44c24fe353a20831b426f
6
+ metadata.gz: 7e0b4ab352e5d9765b0e4f189935833b325d3d9379109c0e62387bd688ffe4a8a4e304d644ece79323d6731bf30d295b8feb5558bb9ee47b552709f0f9dd2ffb
7
+ data.tar.gz: 0a2c07982b27dde6fb8e7a6381d509490254b6d1716a372c460bc3aac1a096a4ebe8f03d6fa2e84d23b934d0f4623fd0fa4bfecda6107f5a4276ba821be1aeec
data/README.md CHANGED
@@ -31,19 +31,19 @@ client = ZenhubRuby::Client.new('YOUR_ACCESS_TOKEN')
31
31
  ### Get issue data
32
32
 
33
33
  ```ruby
34
- client.issue_data(repo_id: 'REPO_ID', issue_number: 'ISSUE_NUMBER')
34
+ client.issue_data(REPO_ID, ISSUE_NUMBER)
35
35
  ```
36
36
 
37
37
  ### Get issue events
38
38
 
39
39
  ```ruby
40
- client.issue_events(repo_id: 'REPO_ID', issue_number: 'ISSUE_NUMBER')
40
+ client.issue_events(REPO_ID, ISSUE_NUMBER)
41
41
  ```
42
42
 
43
43
  ### Get the ZenHub Board data for a repository
44
44
 
45
45
  ```ruby
46
- client.board_data(repo_id: 'REPO_ID')
46
+ client.board_data(REPO_ID)
47
47
  ```
48
48
 
49
49
  ## Contributing
@@ -1,5 +1,5 @@
1
1
  require 'zenhub_ruby/client'
2
2
 
3
3
  module ZenhubRuby
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -1,15 +1,15 @@
1
1
  module ZenhubRuby
2
2
  class Client
3
3
  module Api
4
- def issue_data(repo_id: nil, issue_number: nil)
4
+ def issue_data(repo_id, issue_number)
5
5
  get "/p1/repositories/#{repo_id}/issues/#{issue_number}"
6
6
  end
7
7
 
8
- def issue_events(repo_id: nil, issue_number: nil)
8
+ def issue_events(repo_id, issue_number)
9
9
  get "/p1/repositories/#{repo_id}/issues/#{issue_number}/events"
10
10
  end
11
11
 
12
- def board_data(repo_id: nil)
12
+ def board_data(repo_id)
13
13
  get "/p1/repositories/#{repo_id}/board"
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zenhub_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takumi Kaji
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-02 00:00:00.000000000 Z
11
+ date: 2016-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -165,4 +165,3 @@ signing_key:
165
165
  specification_version: 4
166
166
  summary: Ruby client of ZenHub API.
167
167
  test_files: []
168
- has_rdoc: