jira-ruby 2.1.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jira/client.rb +8 -1
- data/lib/jira/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18f32b82f867055dbbe2e3739e161f28dadb1fdbd7bfcf7f2c234a5ddeed145e
|
4
|
+
data.tar.gz: 592df66f2e4087f9bd7ae543293122f492798f7ddd674641dc4f1140cbcd941e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2d73633f872db6a3e200d7e50a354d8beb8d06c522ea697f69faf8e04cdbc9682900ce4b6b43475a173e2ab125a6429a896a9a23eb87259ad42c9fff05703b2
|
7
|
+
data.tar.gz: c2ec83715feaf7d693cc0aa519f5ba4fc3227ed439bbf1507e79fc0145a016a97f2f9eddb6fd04c701c1216bc7f6605b5f7510a74861eeeee7002d029208dfbe
|
data/lib/jira/client.rb
CHANGED
@@ -6,7 +6,7 @@ module JIRA
|
|
6
6
|
# This class is the main access point for all JIRA::Resource instances.
|
7
7
|
#
|
8
8
|
# The client must be initialized with an options hash containing
|
9
|
-
# configuration options.
|
9
|
+
# configuration options. The available options are:
|
10
10
|
#
|
11
11
|
# :site => 'http://localhost:2990',
|
12
12
|
# :context_path => '/jira',
|
@@ -29,6 +29,7 @@ module JIRA
|
|
29
29
|
# :proxy_port => nil,
|
30
30
|
# :proxy_username => nil,
|
31
31
|
# :proxy_password => nil,
|
32
|
+
# :use_cookies => nil,
|
32
33
|
# :additional_cookies => nil,
|
33
34
|
# :default_headers => {},
|
34
35
|
# :use_client_cert => false,
|
@@ -79,6 +80,7 @@ module JIRA
|
|
79
80
|
:proxy_port,
|
80
81
|
:proxy_username,
|
81
82
|
:proxy_password,
|
83
|
+
:use_cookies,
|
82
84
|
:additional_cookies,
|
83
85
|
:default_headers,
|
84
86
|
:use_client_cert,
|
@@ -299,6 +301,11 @@ module JIRA
|
|
299
301
|
@request_client.request(http_method, path, body, headers)
|
300
302
|
end
|
301
303
|
|
304
|
+
# Stops sensitive client information from being displayed in logs
|
305
|
+
def inspect
|
306
|
+
"#<JIRA::Client:#{object_id}>"
|
307
|
+
end
|
308
|
+
|
302
309
|
protected
|
303
310
|
|
304
311
|
def merge_default_headers(headers)
|
data/lib/jira/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jira-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SUMO Heavy Industries
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-12-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|