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 +8 -8
- data/lib/IcentrisJira.rb +3 -1
- data/lib/IcentrisJira/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzFlMzdkMmRkZmI1MjgyMjEzZDExMDczZWNjZjAzOTA4NThmNGRiZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDFjYTQ5ZGU1NzUwMmU4OGQzOWFjMzEzYmUwM2M5NmI2YTdjMDEwMQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzVmYmM1MjQ3MjcxNDk4ZjZjYjNhZWZkMGEzZjg2NDA3ZDg1N2I3OThhNWY1
|
10
|
+
ZWYzNDU0ZGM4OGNkODQ4MjYyNTA1NWEyNTI3NWUwMmE1ZWQ3OWYyNDk1NDlk
|
11
|
+
MzZhZDVmMDhkZDNhNzNhMTQ0NDFmMGJjMDAyNDY1YjUwZWU1MmQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
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 "
|
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
|
data/lib/IcentrisJira/version.rb
CHANGED