citrix 0.2.1 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7109ce3e2498799d2c4da324d633c8ba0e72fd01
4
- data.tar.gz: 996f1d6711209f2ed53f3c618cb24ddfe0bfeb40
3
+ metadata.gz: c0f74d88093813bb02cdba53bff4d1783eb82329
4
+ data.tar.gz: dcf4269169659b89f641dc1818dca1c59cdd56f1
5
5
  SHA512:
6
- metadata.gz: e4ad01c7ba733da8aa9a42e9c9c34f773df5952475cb05ac364528ac2f57761654725a1fa0ba8c9aa74b906fe5130e00e9921055e225d0e447380256cda2d31f
7
- data.tar.gz: 296844f93c20d33c323bb7635dba14b79da3c5cd3ed8a28a5c925be6c1453e9cb0c442bc2758757c9982815113a16743b474d84cebde22a00a99a915bcfbf650
6
+ metadata.gz: 9aa812fb358abab306da6bbc6e320bfd1685458849119ec93f3302edcf9bb8ccafce7452ca524f60b74fd40d3468b679ff6c8ad3f84c66b409a4a65d5c2d8e62
7
+ data.tar.gz: 62e6155322fd0d7913cd7effbb145f89e67945713b39ad96e7abdbabed939ea1b57aa3d71f689bad36276b50aea0078c8afba137935b4e95874b077b73201c48
@@ -1,3 +1,3 @@
1
1
  module Citrix
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -23,7 +23,7 @@ module RegistrantsTest
23
23
  end
24
24
 
25
25
  test "updates registrant with additional attributes" do
26
- attrs = JSON.load(fixtures.join("register.json").read)
26
+ attrs = JSON.parse(fixtures.join("register.json").read)
27
27
 
28
28
  stub_request(:post, /.+/).to_return(
29
29
  body: JSON.dump(attrs),
@@ -3,7 +3,7 @@ require "test_helper"
3
3
  module RegistrantTest
4
4
  class ResourceTest < Minitest::Test
5
5
  let(:attributes) {
6
- JSON.load(fixtures.join("registrant.json").read)
6
+ JSON.parse(fixtures.join("registrant.json").read)
7
7
  }
8
8
 
9
9
  test "loads all attributes" do
@@ -3,7 +3,7 @@ require "test_helper"
3
3
  module TrainingTest
4
4
  class ResourceTest < Minitest::Test
5
5
  let(:attributes) {
6
- JSON.load(fixtures.join("training.json").read)
6
+ JSON.parse(fixtures.join("training.json").read)
7
7
  }
8
8
 
9
9
  test "loads all attributes" do
@@ -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.load(fixtures.join("registrant.json").read) }
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.load(fixtures.join("training.json").read)
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.1
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-04-03 00:00:00.000000000 Z
11
+ date: 2016-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aitch