rt-client 0.7.1 → 0.7.2
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/rt_client.rb +3 -3
- 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: dab7272ab77c7f6521aa21b49b716db36a9d52cb
|
4
|
+
data.tar.gz: d257ad7b01a9c98e067cf23ce13ed1dc0ebc803c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dabbbc3961d59f93cbd4947fde9030d41387ef5f53222b9c210dd89f241cd47f774828803477c6e7d0d9f3bb2170fceffb804c20c356e6bc9c3d8191d745e4a
|
7
|
+
data.tar.gz: cc760d9f7f55459387239b259b22fc6888eb964144be9b83780e840328d9d79880d53880179491679f84f71852106ed75c13613c7b82ad8871d5ec532b4f6515
|
data/rt_client.rb
CHANGED
@@ -34,7 +34,7 @@ require "rest_client"
|
|
34
34
|
|
35
35
|
class RT_Client
|
36
36
|
|
37
|
-
UA = "Mozilla/5.0 ruby RT Client Interface 0.7.
|
37
|
+
UA = "Mozilla/5.0 ruby RT Client Interface 0.7.2"
|
38
38
|
attr_reader :status, :site, :version, :cookies, :server, :user, :cookie
|
39
39
|
|
40
40
|
# Create a new RT_Client object. Load up our stored cookie and check it.
|
@@ -67,7 +67,7 @@ class RT_Client
|
|
67
67
|
# cookies=<directory>
|
68
68
|
def initialize(*params)
|
69
69
|
@boundary = "----xYzZY#{rand(1000000).to_s}xYzZY"
|
70
|
-
@version = "0.7.
|
70
|
+
@version = "0.7.2"
|
71
71
|
@status = "Not connected"
|
72
72
|
@server = "http://localhost/"
|
73
73
|
@user = "rt_user"
|
@@ -783,7 +783,7 @@ class RT_Client
|
|
783
783
|
ln_a = ln.split(/:/,2)
|
784
784
|
ln_a.map! {|item| item.strip}
|
785
785
|
ln_a[0].downcase!
|
786
|
-
ret[ln_a[0]] = ln_a[1]
|
786
|
+
ret[ln_a[0]] = ln_a[1].tr("\u0000-\u001f\u007f\u2028",'')
|
787
787
|
end
|
788
788
|
|
789
789
|
return ret
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rt-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Lahti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|