oracle_hcm 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30217904bdaf7fe51c434bad5e420ff155c706d17dc24ff900bd3e99c7b52f3c
4
- data.tar.gz: aa624f11420a5dd1bbc2c3ed476f340df630eeb5fa052a09c50a66a2166ae974
3
+ metadata.gz: 79fe6f2368afc81131380be65181574d90fac3a88e76b17050dbdc0d069962e7
4
+ data.tar.gz: 59a8996394a223f2b5b6eaa6ab3749b05500f68e05b5073daadbfbd89add825b
5
5
  SHA512:
6
- metadata.gz: b66c7269e95b9e228ceac55ea66a01ea0deb72a7cb4260d3573542224f947f960fd74a39518fcb17383b795e66b1468ebc14d6138cc1db1906826fdd1a5e1c50
7
- data.tar.gz: 7411fd20bbfc8b52386578b91709efbef07c7470ec94e29ab9c2cfab1d29d335a03991611571267e743205f6268558091ee722430c2b33b5ee08474398a2fc40
6
+ metadata.gz: c24749c6bb8912a8861f1fcf84c1bca430dd03c3fe15663dfdb7211dee9eecb7fddc73af4127f19dc54907dd1668ec4285fbacf5fa5020b1cc67f8722e678c76
7
+ data.tar.gz: 129444c699e6ce29edc61a7408ac89e6d08481e82e9076e1bde8320789c7c28feb8b6be4744b359086d0829789b96723fdc468750b8cf9409a81f340c4acd210
@@ -4,9 +4,9 @@ module OracleHcm
4
4
  # An Attachment is a child resource of a Document Record (or Document of
5
5
  # Record), and stores upload file data and metadata.
6
6
  class Attachment < Resource
7
- property :attachment_document_id, key: "AttachmentDocumentId"
8
- property :content_type, key: "UploadFileContentType"
9
- property :content_size, key: "UploadFileContentLength"
7
+ property :attachment_document_id, key: "AttachedDocumentId"
8
+ property :content_type, key: "UploadedFileContentType"
9
+ property :content_size, key: "UploadedFileContentLength"
10
10
  property :title, key: "Title"
11
11
 
12
12
  # Download the file via a readable IO object.
@@ -10,6 +10,11 @@ module OracleHcm
10
10
  property :subcategory_code, key: "SubCategoryCode"
11
11
  property :document_type, key: "DocumentType"
12
12
  property :system_document_type, key: "SystemDocumentType"
13
+ property :person_id, key: "PersonId"
14
+ property :person_number, key: "PersonNumber"
15
+ property :display_name, key: "DisplayName"
16
+ property :creation_date, key: "CreationDate"
17
+ property :last_update_date, key: "LastUpdateDate"
13
18
  child_resource :attachments, resource: Attachment
14
19
 
15
20
  def canonical_id
@@ -1,3 +1,3 @@
1
1
  module OracleHcm
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  # Specify which files should be added to the gem when it is released.
22
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
23
  spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
24
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(pkg|test|spec|features)/}) }
25
25
  end
26
26
  spec.bindir = "exe"
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oracle_hcm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Holden
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-27 00:00:00.000000000 Z
11
+ date: 2020-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -94,7 +94,6 @@ files:
94
94
  - lib/oracle_hcm/version.rb
95
95
  - lib/oracle_hcm/worker.rb
96
96
  - oracle_hcm.gemspec
97
- - pkg/.gitignore
98
97
  homepage: https://github.com/paulholden2/oracle_hcm
99
98
  licenses:
100
99
  - MIT
@@ -1 +0,0 @@
1
- *.gem