jira-ruby 0.1.5 → 0.1.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 +4 -4
- data/README.rdoc +1 -7
- data/lib/jira/client.rb +2 -0
- data/lib/jira/http_client.rb +6 -1
- data/lib/jira/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: e56d3c10b1bc942098e389b4e46ed38d0abaa8da
|
|
4
|
+
data.tar.gz: 6722f5c8625620140783befd00318dab133e5a38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 452b60b173d0feff6bfeacbd448e5d859f817797a84b200bd77ef122e71b0b322727677f3a50cdad877df2d7b457621ad8a0b707506ca90d0bc34c1b9f68a7fa
|
|
7
|
+
data.tar.gz: 2f976948dc6ea42f2d73b3a09c9abd1bd8ece5ead29df5dca04c0936a3abee8d6c247c4ff65bd21e22f56f829388da0dda5bd05b38cb78c5b89822619652fa1d
|
data/README.rdoc
CHANGED
|
@@ -30,13 +30,7 @@ This gem provides access to the Atlassian JIRA REST API.
|
|
|
30
30
|
|
|
31
31
|
On Mac OS,
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
Otherwise:
|
|
36
|
-
|
|
37
|
-
* Download the SDK from https://developer.atlassian.com/ (You will need
|
|
38
|
-
an Atlassian login for this)
|
|
39
|
-
* Unpack the dowloaded archive
|
|
33
|
+
* Follow the instructions under "Mac OSX Installer" here: https://developer.atlassian.com/display/DOCS/Install+the+Atlassian+SDK+on+a+Linux+or+Mac+System
|
|
40
34
|
* From within the archive directory, run:
|
|
41
35
|
|
|
42
36
|
./bin/atlas-run-standalone --product jira
|
data/lib/jira/client.rb
CHANGED
data/lib/jira/http_client.rb
CHANGED
|
@@ -28,7 +28,12 @@ module JIRA
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def http_conn(uri)
|
|
31
|
-
|
|
31
|
+
if @options[:proxy_address]
|
|
32
|
+
http_class = Net::HTTP::Proxy(@options[:proxy_address], @options[:proxy_port] ? @options[:proxy_port] : 80)
|
|
33
|
+
else
|
|
34
|
+
http_class = Net::HTTP
|
|
35
|
+
end
|
|
36
|
+
http_conn = http_class.new(uri.host, uri.port)
|
|
32
37
|
http_conn.use_ssl = @options[:use_ssl]
|
|
33
38
|
http_conn.verify_mode = @options[:ssl_verify_mode]
|
|
34
39
|
http_conn
|
data/lib/jira/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jira-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SUMO Heavy Industries
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-01-
|
|
11
|
+
date: 2014-01-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oauth
|