probedock-ruby 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/probe_dock_ruby.rb +1 -1
- data/lib/probe_dock_ruby/test_result.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 503f083dd07ffc3e14ade5832a8234476263b53d
|
4
|
+
data.tar.gz: 3655d8d871f0c420c246114fe460761bdccd6b33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ead83365ec209ef33f41e76d2afb8d2a8ed44480abaff6e46f164d06857f0c5129f087951ea2d347b433a035beee1f708e588deff1fd3bee366940c3580f0b0f
|
7
|
+
data.tar.gz: d91498750661c05a91308932eca7dc79b6b0f8856751c5454e18f0dca150a60eeb4575ff925c2ed83c8e78a81126559e19ebf1cb5ce88f3060e3d6254b781be6
|
data/README.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lib/probe_dock_ruby.rb
CHANGED
@@ -16,7 +16,7 @@ module ProbeDockProbe
|
|
16
16
|
|
17
17
|
@key = options[:key]
|
18
18
|
@fingerprint = options[:fingerprint]
|
19
|
-
@name = options[:name]
|
19
|
+
@name = options[:name].to_s
|
20
20
|
|
21
21
|
@category = options[:category] || project.category
|
22
22
|
@tags = (wrap(options[:tags]) + wrap(project.tags)).compact.collect(&:to_s).uniq
|
@@ -42,7 +42,7 @@ module ProbeDockProbe
|
|
42
42
|
}.tap do |h|
|
43
43
|
h['k'] = @key if @key
|
44
44
|
h['m'] = @message if @message
|
45
|
-
h['n'] = @name
|
45
|
+
h['n'] = @name.length > 255 ? "#{@name[0, 252]}..." : @name
|
46
46
|
h['c'] = @category
|
47
47
|
h['g'] = @tags
|
48
48
|
h['t'] = @tickets
|