ticket_abstractor_client 1.5.0 → 1.6.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 +5 -0
- data/lib/ticket_abstractor_client/jira_client.rb +4 -2
- data/lib/ticket_abstractor_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 505909a186f7ebd48629c855bf03380be9a19d2b
|
4
|
+
data.tar.gz: 5d5abd2061e6e1bc1ea2fa4f88edcd38b7c08f7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb036f20c3d313d6f6ba2a99428ec731c469cd64b0086a68e0e5468bc64735c0c7f15d30337103702b8d9aaf4c0b18a1a9a2956da3646bb8b8ceb46d4c1aebc3
|
7
|
+
data.tar.gz: 7693bba0275ce85f820fca067134202c6d3f801ffa4956ec0b332bbcb458fc01f7dcdc340467cf17d69af5322270d6507190227582fe15c5486a8273d68b8821
|
data/README.md
CHANGED
@@ -20,6 +20,11 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
[API Documentation](http://rubydoc.info/gems/ticket_abstractor_client/frames)
|
22
22
|
|
23
|
+
## Upgrading
|
24
|
+
|
25
|
+
Since version 1.5.0, `TicketAbstractorClient.initialize_client` returns an instance of `TicketAbstractorClient::Base`
|
26
|
+
instead of `TicketAbstractorClient` class.
|
27
|
+
|
23
28
|
## Usage
|
24
29
|
|
25
30
|
Initialize:
|
@@ -90,8 +90,10 @@ class TicketAbstractorClient::JiraClient < TicketAbstractorClient::Client
|
|
90
90
|
# # get the list of first 50 issues by filter 24320
|
91
91
|
# >> client.jira.get_issues_by_filter 24320, 1, 50
|
92
92
|
# => [{ 'id' => 'ID-1', ... }, { 'id' => 'ID-2', ... }]
|
93
|
-
|
94
|
-
|
93
|
+
# >> client.jira.get_issues_by_filter 24320, 1, 50, show_total: true
|
94
|
+
# => total: 2, issues: [{ 'id' => 'ID-1', ... }, { 'id' => 'ID-2', ... }]
|
95
|
+
def get_issues_by_filter(filter_id, page = 0, per_page = 50, opts = {})
|
96
|
+
get_with_endpoint 'jira/get_issues_by_filter', filter_id: filter_id, page: page, per_page: per_page, show_total: opts.delete(:show_total)
|
95
97
|
end
|
96
98
|
|
97
99
|
def get_fields_by_project(project_key)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ticket_abstractor_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rsamoilov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|