citrix 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/citrix/version.rb +1 -1
- data/test/citrix/training/namespace/registrants_test.rb +1 -1
- data/test/citrix/training/resource/registrant_test.rb +1 -1
- data/test/citrix/training/resource/training_test.rb +1 -1
- data/test/citrix/training/serializer/registrant_test.rb +1 -1
- data/test/citrix/training/serializer/training_test.rb +1 -1
- 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: c0f74d88093813bb02cdba53bff4d1783eb82329
|
4
|
+
data.tar.gz: dcf4269169659b89f641dc1818dca1c59cdd56f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9aa812fb358abab306da6bbc6e320bfd1685458849119ec93f3302edcf9bb8ccafce7452ca524f60b74fd40d3468b679ff6c8ad3f84c66b409a4a65d5c2d8e62
|
7
|
+
data.tar.gz: 62e6155322fd0d7913cd7effbb145f89e67945713b39ad96e7abdbabed939ea1b57aa3d71f689bad36276b50aea0078c8afba137935b4e95874b077b73201c48
|
data/lib/citrix/version.rb
CHANGED
@@ -23,7 +23,7 @@ module RegistrantsTest
|
|
23
23
|
end
|
24
24
|
|
25
25
|
test "updates registrant with additional attributes" do
|
26
|
-
attrs = JSON.
|
26
|
+
attrs = JSON.parse(fixtures.join("register.json").read)
|
27
27
|
|
28
28
|
stub_request(:post, /.+/).to_return(
|
29
29
|
body: JSON.dump(attrs),
|
@@ -19,7 +19,7 @@ module RegistrantTest
|
|
19
19
|
|
20
20
|
class DeserializerTest < Minitest::Test
|
21
21
|
let(:serializer) { Citrix::Training::Serializer::Registrant }
|
22
|
-
let(:raw_attrs) { JSON.
|
22
|
+
let(:raw_attrs) { JSON.parse(fixtures.join("registrant.json").read) }
|
23
23
|
let(:attrs) { deserialize(raw_attrs) }
|
24
24
|
|
25
25
|
test "returns first name" do
|
@@ -39,7 +39,7 @@ module TrainingTest
|
|
39
39
|
class DeserializerTest < Minitest::Test
|
40
40
|
let(:serializer) { Citrix::Training::Serializer::Training }
|
41
41
|
let(:attrs) {
|
42
|
-
JSON.
|
42
|
+
JSON.parse(fixtures.join("training.json").read)
|
43
43
|
}
|
44
44
|
|
45
45
|
test "returns name" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: citrix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aitch
|