oracle_hcm 0.1.1 → 0.2.0
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 +4 -4
- data/lib/oracle_hcm/attachment.rb +3 -3
- data/lib/oracle_hcm/document_record.rb +5 -0
- data/lib/oracle_hcm/version.rb +1 -1
- data/oracle_hcm.gemspec +1 -1
- metadata +2 -3
- data/pkg/.gitignore +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 79fe6f2368afc81131380be65181574d90fac3a88e76b17050dbdc0d069962e7
|
|
4
|
+
data.tar.gz: 59a8996394a223f2b5b6eaa6ab3749b05500f68e05b5073daadbfbd89add825b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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: "
|
|
8
|
-
property :content_type, key: "
|
|
9
|
-
property :content_size, key: "
|
|
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
|
data/lib/oracle_hcm/version.rb
CHANGED
data/oracle_hcm.gemspec
CHANGED
|
@@ -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.
|
|
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-
|
|
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
|
data/pkg/.gitignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*.gem
|