itrp-client 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +13 -2
- data/README.md +4 -0
- data/lib/itrp/client.rb +3 -1
- data/lib/itrp/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OWRlZjNjMmZlMmJjNTVjZDg1NDI4NWU0Zjc3NTAzMWIwZWRjMzkxZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGRjYWY1MzJhMDk5OTA1ODU2MzdmMzRhNzE1OTAzZDAzNTdjZDExYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGI3NjMwNTYwNTQ2MzRhOTZhMGQ4NzMwYjYwMDkwZWIxMWMxNzdjMzYyYjQz
|
10
|
+
YTMzZjg3MDE2MDUzZDBkYzU1NzIwMGNkMmY3OWM3MWRhY2ZhYTFmNGYwNDVh
|
11
|
+
YTljMzgyNWU5YzY5ZTNlMGU0YTg4N2NkOTllNWM0MjMwMzZhOWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDY3ODg4MzhkOTc4OTNkNTgyNGMzMDExZTIwOTQzMzUwMmM4MzA0MGZhZDg4
|
14
|
+
M2VmZDVmZmMxMjNhMTFiZGQ1Yzg2ZTQ1NTIwMzk3YzgzZjQ3YWQxOTUwZTJi
|
15
|
+
MjM5M2EzNjBjNGI2NTlhYWJlZTFkZWI4ZTUzYWQ1ZmQwYWY5MTQ=
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
itrp-client (1.0.
|
4
|
+
itrp-client (1.0.5)
|
5
5
|
activesupport
|
6
6
|
gem_config
|
7
7
|
mime-types
|
@@ -9,13 +9,21 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (
|
12
|
+
activesupport (4.0.1)
|
13
|
+
i18n (~> 0.6, >= 0.6.4)
|
14
|
+
minitest (~> 4.2)
|
15
|
+
multi_json (~> 1.3)
|
16
|
+
thread_safe (~> 0.1)
|
17
|
+
tzinfo (~> 0.3.37)
|
13
18
|
addressable (2.3.5)
|
19
|
+
atomic (1.1.14)
|
14
20
|
crack (0.4.1)
|
15
21
|
safe_yaml (~> 0.9.0)
|
16
22
|
diff-lcs (1.2.4)
|
17
23
|
gem_config (0.2.4)
|
24
|
+
i18n (0.6.5)
|
18
25
|
mime-types (2.0)
|
26
|
+
minitest (4.7.5)
|
19
27
|
multi_json (1.8.0)
|
20
28
|
rake (10.1.0)
|
21
29
|
rspec (2.14.1)
|
@@ -31,6 +39,9 @@ GEM
|
|
31
39
|
multi_json (~> 1.0)
|
32
40
|
simplecov-html (~> 0.7.1)
|
33
41
|
simplecov-html (0.7.1)
|
42
|
+
thread_safe (0.1.3)
|
43
|
+
atomic
|
44
|
+
tzinfo (0.3.38)
|
34
45
|
webmock (1.13.0)
|
35
46
|
addressable (>= 2.2.7)
|
36
47
|
crack (>= 0.3.2)
|
data/README.md
CHANGED
@@ -56,6 +56,10 @@ Each time an ITRP Client is instantiated it is possible to override the [global
|
|
56
56
|
client = Itrp::Client.new(account: 'trusted-sandbox', source: 'my special integration')
|
57
57
|
```
|
58
58
|
|
59
|
+
### Proxy
|
60
|
+
|
61
|
+
The proxy settings are limited to basic authentication only. In case ISA-NTLM authentication is required, make sure to setup a local proxy configured to forward the requests. And example local proxy host for Windows is [Fiddle](http://www.telerik.com/fiddler).
|
62
|
+
|
59
63
|
## ITRP Client
|
60
64
|
|
61
65
|
Minimal example:
|
data/lib/itrp/client.rb
CHANGED
@@ -239,7 +239,9 @@ module Itrp
|
|
239
239
|
when :Time then value.strftime("%H:%M")
|
240
240
|
# do not convert arrays in put/post requests as squashing arrays is only used in filtering
|
241
241
|
when :Array then escape ? value.map{ |v| typecast(v, escape) }.join(',') : value
|
242
|
-
|
242
|
+
# TODO: temporary for special constructions to update contact details, see Request #1444166
|
243
|
+
when :Hash then escape ? value.to_s : value
|
244
|
+
else value.to_json
|
243
245
|
end
|
244
246
|
end
|
245
247
|
|
data/lib/itrp/client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itrp-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ITRP
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_config
|