usd 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/change_log.md +1 -1
- data/lib/usd.rb +1 -1
- data/usd.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f3f388a3efedae368a6a99c7169029d78f92e11179ca97ad8edb196a125be5d
|
4
|
+
data.tar.gz: ed31ec8a487df5132d06fd71cb77e301017b5292fcd6dde662359d169a0a27cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d0d07c311dcc0b1b20c41ea818a08d3e910ae47e6909c0df1a00e4143ab4c190fdaaa9cf3da522bdbf104e54cf2a6404504261edb4d68e80084ca85cd90eb4d
|
7
|
+
data.tar.gz: ad097417d07cec1dc9c097dea1785f91fb4b3ff737abb03840e05d4e779b31a2176ed47f5e53e841ce72c261da6dc8fb15cf831fd7887c95f21b9c1a103bff34
|
data/change_log.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
- new functions:
|
6
6
|
- `chg_add_attachment`
|
7
7
|
- `nr_add_attachment`
|
8
|
-
- `
|
8
|
+
- `in_add_attachment`
|
9
9
|
- `vcard_via_email`
|
10
10
|
|
11
11
|
with the first three funtions you are able to upload files to changeorders, configurationitems and incidents and it does not matter if it is text or binary. the last new function creates vcards in version 2.1 from a contact via its email as identifier.
|
data/lib/usd.rb
CHANGED
@@ -251,7 +251,7 @@ class Usd
|
|
251
251
|
# if wc contains no sql-compare operater, it will be changed to "COMMON_NAME like '%<wc-before>%'"
|
252
252
|
wc = attr.pop
|
253
253
|
wc.gsub!(/^WC=/,'')
|
254
|
-
if ([" like ","<",">","="," is "].find {|e| wc =~ /#{e}/}).nil?
|
254
|
+
if ([" like ","<",">","="," is "," in "].find {|e| wc =~ /#{e}/}).nil?
|
255
255
|
wc = "#{CN[object]} like '%#{wc}%'"
|
256
256
|
end
|
257
257
|
attr.push "WC=#{wc}"
|
data/usd.gemspec
CHANGED