IcentrisJira 0.0.5 → 0.0.6

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGUwNmQ4ZWU1YzRmNWY5MzZjYTQ2OTA4ZTJlY2M3NTgyZTcxZWRkNQ==
4
+ MzFlMzdkMmRkZmI1MjgyMjEzZDExMDczZWNjZjAzOTA4NThmNGRiZQ==
5
5
  data.tar.gz: !binary |-
6
- NWNmMzY2YWFhNDA2NWU5MDM3ZjdhNjAzM2RkZWFjZGJjZjQzNzFlYw==
6
+ ZDFjYTQ5ZGU1NzUwMmU4OGQzOWFjMzEzYmUwM2M5NmI2YTdjMDEwMQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YWM4MzVkYjkzMzU1ZGRiODQzY2FkMWE2NTliMDM2YmE3ZDEwMWQzMGUxOWMy
10
- MTc1ZTM2ZTE4MzZjZTQzMGE3MGEwNzUwZWMwMzEwMGMxMzY0ZjNjMjA4NjRm
11
- N2M2MTAwZWY0NmNiYTIxMDExY2E5YmU4OWM1OWEzMDgyNDJhMmQ=
9
+ NzVmYmM1MjQ3MjcxNDk4ZjZjYjNhZWZkMGEzZjg2NDA3ZDg1N2I3OThhNWY1
10
+ ZWYzNDU0ZGM4OGNkODQ4MjYyNTA1NWEyNTI3NWUwMmE1ZWQ3OWYyNDk1NDlk
11
+ MzZhZDVmMDhkZDNhNzNhMTQ0NDFmMGJjMDAyNDY1YjUwZWU1MmQ=
12
12
  data.tar.gz: !binary |-
13
- OTFiZDZhMDdjYjYxMDczZDY4YzYzNjNiNzIwMjBiYzMyODc4NjBjMTlhYjlk
14
- MTE4NDhmMmFjMzlhYTE2MWQxYWU4NzMzMGIyYWI5YWE0MTJhNDc2MTE0ZWZi
15
- MTljOTdlZWU3NGIyZDIyNWFhYTliYTQ3YTU4ZDgxMDBmZGNjYzY=
13
+ YmQ2NWNlNDg3MmI4ODkzZTBkMjVkZmMzYTk1YzFhMmJhOTY2MTMzY2NjMTk0
14
+ ZWU5Y2YzMjMxOTU4MmQ0Y2RlMGRjMWRlZDgyMGExZjZlZTY3MTBmMjE0ZjNm
15
+ YTc1NDg4M2IzY2M4NTMwNjU5OTBhOTE1NTUxZGU4ZWQ4YzJlZjg=
data/lib/IcentrisJira.rb CHANGED
@@ -7,6 +7,7 @@ module IcentrisJira
7
7
  require "net/http"
8
8
  require "uri"
9
9
 
10
+ <<-DOC
10
11
  def self.get_user_info(username, password)
11
12
  #uri = URI.parse("https://jira2.icentris.com/jira/rest/auth/1/session/")
12
13
  #uri = URI.parse("https://jira2.icentris.com/jira/rest/api/2/user?username=" + username)
@@ -20,6 +21,7 @@ module IcentrisJira
20
21
  jira_response = http.request(request)
21
22
  return jira_response.body
22
23
  end
24
+ DOC
23
25
 
24
26
  def self.getJSON(url, username, password)
25
27
  uri = URI.parse(url)
@@ -34,6 +36,6 @@ module IcentrisJira
34
36
  end
35
37
 
36
38
  def self.examples
37
- puts "methodname: getJSON\nUsage: IcentrisJira::getJSON jira_rest_api_url, username, password\n\n jira_rest_api_url will be different for different purposes.\n\n For example - To Authenticate - url = 'https://jira2.icentris.com/jira/rest/api/2/user?username=' + username \n\n So the call will look like - \njira_response = IcentrisJira::getJSON('https://jira2.icentris.com/jira/rest/api/2/user?username=' + username, username, password)"
39
+ puts "There is only 1 method in this gem.\n\n. Methodname: getJSON\nUsage: \n\tIcentrisJira::getJSON jira_rest_api_url, username, password\n\n jira_rest_api_url will be different for different purposes.\n\n For example - To Authenticate - url = 'https://jira2.icentris.com/jira/rest/api/2/user?username=' + username \n\n So the call will look like - \njira_response = IcentrisJira::getJSON('https://jira2.icentris.com/jira/rest/api/2/user?username=' + username, username, password)"
38
40
  end
39
41
  end
@@ -1,3 +1,3 @@
1
1
  module IcentrisJira
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: IcentrisJira
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sai Ponduru