get_issues 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/get_issues/version.rb +1 -1
- data/lib/get_issues.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ff4965ee2a15026e76da7f53e59e46bb417ced215e9c57ddbaf34018a1937ba
|
4
|
+
data.tar.gz: 201ee4186126b26971162573f57f7bcb6c9d06621bfc055be406ddbe90dfc8f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e77dff0c2e04b0f5c41fe03372b6fb284cd5d9071b1bfb9a1b557a0bd2a2078f70addb5b5afcdfe33e3539100b7afe134cc4f80f9c95d74e227cd94ce879b472
|
7
|
+
data.tar.gz: 1275e869fdd8999bb68d5aa5be2a7c771cb0df273d3bcd88951e9540b3d1515e7031effcd4cfe017d5c39acdddcff21d61f1a93e3a79048999b6dbaafaf2db9f
|
data/lib/get_issues/version.rb
CHANGED
data/lib/get_issues.rb
CHANGED
@@ -34,7 +34,7 @@ module GetIssues
|
|
34
34
|
if project_id.nil?
|
35
35
|
p "找不到project"
|
36
36
|
end
|
37
|
-
milestones_string = `curl --header "PRIVATE-TOKEN: #{private_token}" "#{prefix_url}/projects/#{project_id}/milestones
|
37
|
+
milestones_string = `curl --header "PRIVATE-TOKEN: #{private_token}" "#{prefix_url}/projects/#{project_id}/milestones?per_page=1000"`
|
38
38
|
milestones_json = JSON.parse(milestones_string)
|
39
39
|
mile_stone_json = milestones_json.filter { |t| t["title"] == mile_stone_title }&.first || {}
|
40
40
|
mile_stone_id = mile_stone_json["id"]
|