bl 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bl/cli.rb +2 -12
- data/lib/bl/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: 4020d34190896ecce499b0c1d331304702f9f586
|
|
4
|
+
data.tar.gz: 4249701ff182c49cc03c8b4e4f7c0b44d83fde9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abc6107de265c852c761503c828c106a896a4a1d967c34582f8d52d48d62b8a248548ae843ed9ad6d1f1acac617b04f41bd208991a5c8cc3312e94b46e516531
|
|
7
|
+
data.tar.gz: c8fefda85bd40799d9079e890d44f01effc10e27052ab91bd978cad56792b004d159a2e72a61210b1cb25f5890d00fcc30da0ae71a53e28b9b209fba3a740d9f
|
data/lib/bl/cli.rb
CHANGED
|
@@ -109,15 +109,7 @@ module Bl
|
|
|
109
109
|
desc 'count', 'count issues'
|
|
110
110
|
options ISSUES_PARAMS
|
|
111
111
|
def count
|
|
112
|
-
puts client.get('issues/count',
|
|
113
|
-
end
|
|
114
|
-
|
|
115
|
-
desc 'issues', 'list issues'
|
|
116
|
-
options ISSUES_PARAMS
|
|
117
|
-
def issues
|
|
118
|
-
client.get('issues', {}.merge(options)).body.each do |i|
|
|
119
|
-
print_issue(i)
|
|
120
|
-
end
|
|
112
|
+
puts client.get('issues/count', options.to_h).body.count
|
|
121
113
|
end
|
|
122
114
|
|
|
123
115
|
desc 'list', 'list issues by typical ways'
|
|
@@ -148,9 +140,7 @@ module Bl
|
|
|
148
140
|
end
|
|
149
141
|
|
|
150
142
|
desc 'search', 'search issues'
|
|
151
|
-
|
|
152
|
-
option :categoryId, type: :array
|
|
153
|
-
option :assigneeId, type: :array
|
|
143
|
+
options ISSUES_PARAMS
|
|
154
144
|
def search
|
|
155
145
|
client.get('issues', options.to_h).body.each do |i|
|
|
156
146
|
print_issue(i)
|
data/lib/bl/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- saki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-05-
|
|
11
|
+
date: 2016-05-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|