get_issues 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
  SHA256:
3
- metadata.gz: 7d5f8f6265732e662fd4a7eaa45cbb68e50f4000d32ac6f5e9e6fb2a97371de9
4
- data.tar.gz: a571d91e5bca6f3b10f636c10ebe10e475c26b03a4370cd05c124a7991e7984b
3
+ metadata.gz: 34661abc538a1adc4907e7eb2e312f8f2e5b6f1b7971ed424dee266ff80c3737
4
+ data.tar.gz: 63171b876881280829529ac9efe650ead817b0658f8588561c1b3c38d01c857a
5
5
  SHA512:
6
- metadata.gz: 3baede88bbb75dfcd46c211673469f603515910f716f1cf92e8d95400d5940dcad6a2f60fbf78306d4eee9c0669977355b66c6cc758d46b37c11e4aa4793ec04
7
- data.tar.gz: 4db6b4057fdc47ec583ca4bcaa42ced1de17176663db90b12f407435b5f063a7dd04f167525e90018f5b77cbec67552f4e9915457cdf5d96ec7e6e46eca49a69
6
+ metadata.gz: e3a17ffd858660f8f32b3dc6dbee700df48cec0637e1431a75d90d2346f274754b53f7455037767f38ab5d77277cedb86f97ada52a72a291af4f23fe056c5989
7
+ data.tar.gz: 108950b36ddff39ecb35c830141419803991ebaa9e38b5ad953f68118b88a5d528a20083ff2bcc65b5240fa69a608f4f5059c32f0cf33644c1e41a0c93fd8594
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- get_issues (0.1.0)
4
+ get_issues (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/get_issues.rb CHANGED
@@ -2,7 +2,7 @@ require 'json'
2
2
 
3
3
  module GetIssues
4
4
  class Error < StandardError; end
5
- def self.start(prefix_url,private_token,group_name,project_name,mile_stone_title)
5
+ def self.start(prefix_url,private_token,project_name,mile_stone_title)
6
6
  projects_string = `curl --header "PRIVATE-TOKEN: #{private_token}" "#{prefix_url}"`
7
7
  projects_json = JSON.parse(projects_string)
8
8
  project_json = projects_json.filter{|t| t["name"]==project_name}&.first
@@ -11,11 +11,12 @@ module GetIssues
11
11
 
12
12
  milestones_string = `curl --header "PRIVATE-TOKEN: #{private_token}" "#{prefix_url}/#{project_id}/milestones"`
13
13
  milestones_json = JSON.parse(milestones_string)
14
- mile_stone_json = milestones_json.filter{|t| t["title"]==milestone_title}&.first
14
+ mile_stone_json = milestones_json.filter{|t| t["title"]==mile_stone_title}&.first
15
15
  mile_stone_id = mile_stone_json["id"]
16
16
 
17
17
 
18
18
  issues_string = `curl --header "PRIVATE-TOKEN: #{private_token}" "#{prefix_url}/#{project_id}/milestones/#{mile_stone_id}/issues"`
19
19
  issues_json = JSON.parse(issues_string)
20
+ issues_json
20
21
  end
21
22
  end
@@ -1,3 +1,3 @@
1
1
  module GetIssues
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: get_issues
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
  - '807715333'