checkr-official 1.2.0 → 1.2.1

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: 3f6f8e7728235f664dd469823cba36fb43579c62
4
- data.tar.gz: ce422753b6aa3970255925acd63e842289bad87d
3
+ metadata.gz: ddf3564caa67a9d76f33081ebbe8a889c43aa911
4
+ data.tar.gz: ee4f0219b03a8f6d7e46e6e736c14637b8f3ad64
5
5
  SHA512:
6
- metadata.gz: 00b977c5fda42d85f1ebcdeea088499c8ee462c74148d15639d953eea6e6e7ffc19ababc88c544dd1fcb72aab82c1de4460b707ca674360e2c74de681af51feb
7
- data.tar.gz: b2795ecaf64392d8bf4c0e40bf79d2422d8f530bb484247ff9d876cbb394089a6bf408a5878af009e4871534b2699a8fb6b2df07ba4b0cd5c400119eb771ccd4
6
+ metadata.gz: 46e1febb7312c67a30b568ea6dbc54378a180e531783eaa0f7891ef2294148534487c775e1af3c05cbc81b7d4f36fca25306ac43b007595bb894414fa86ea4e9
7
+ data.tar.gz: 9ab891fd506d0b456a6a5bf35589ff0544b951fb8222b256576662a52b1f07d1710c897c9747840e57c51d654ea281c27bf9a6b51e2b9cd09bb8042f8d666458
@@ -1,3 +1,9 @@
1
+ ## 1.2.1 (2017-10-25)
2
+
3
+ Fixes:
4
+
5
+ - Add `type` to Document (#33)
6
+
1
7
  ## 1.2.0 (2017-04-14)
2
8
 
3
9
  Features:
@@ -5,6 +5,7 @@ module Checkr
5
5
  attribute :filesize
6
6
  attribute :filename
7
7
  attribute :content_type
8
+ attribute :type
8
9
 
9
10
  api_class_method :all, :get, "/v1/candidates/:candidate_id/documents", :constructor => :DocumentList
10
11
  api_class_method :create, :post, "/v1/candidates/:candidate_id/documents"
@@ -1,3 +1,3 @@
1
1
  module Checkr
2
- VERSION = '1.2.0'.freeze
2
+ VERSION = '1.2.1'.freeze
3
3
  end
@@ -84,6 +84,10 @@ module Checkr
84
84
  assert_equal(test_document[:content_type], @document.content_type)
85
85
  end
86
86
 
87
+ should 'have the type attribute' do
88
+ assert_equal(test_document[:type], @document.type)
89
+ end
90
+
87
91
  end
88
92
 
89
93
  should 'be registered' do
@@ -408,6 +408,7 @@ module Checkr
408
408
  :download_uri=>"https://checkr-documents.checkr.com/download_path",
409
409
  :filesize=>8576,
410
410
  :filename=>"1423684910_candidate_driver_license.jpg",
411
+ :type=>"driver_license",
411
412
  :content_type=>"image/jpeg"}
412
413
  end
413
414
  def test_document_list
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkr-official
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Calhoun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-24 00:00:00.000000000 Z
11
+ date: 2017-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client