kuali_toolbox 0.44 → 0.45
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/.gitignore +1 -0
- data/README.md +6 -0
- data/bin/transform_CSV_to_HR_XML +3 -3
- data/lib/kuali_toolbox/version.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: 796d5f4e1bfee544239a53dafd9a5ccc978c8528
|
|
4
|
+
data.tar.gz: 4c959cc4ee41db9cae66b03639eefaddf0c98bd2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df65604dfe3d9b432ae5cd99f6afdafd6587ff00be5a42db0fbc53548c5ab0d45c7bdf0c563c8f3a92f798ed9d1ab5b5a4a17adc02d934f8b11f6ed743846e5b
|
|
7
|
+
data.tar.gz: 1cb251565506c62ae2171fead21b29dab853145965a84465c8b074b5a055a64bb04bd9d12d05e55b4d0a908fb94ff07676471eb8ebce45d571a62a0b3f40b0b8
|
data/.gitignore
CHANGED
data/README.md
CHANGED
|
@@ -37,6 +37,7 @@ Usage: transform_CSV_to_HR_XML [options] csv_file
|
|
|
37
37
|
-u, --username [username] The username used to authenticate to the HR REST API.
|
|
38
38
|
-p, --password [password] The password used to authenticate to the HR REST API.
|
|
39
39
|
-l, --url [url] The full URL of the HR REST API; e.g. https://localhost/kc-dev/hr-import/hrimport/import
|
|
40
|
+
-c, --continue Skips bad records and continues processing a CSV file if errors are found.
|
|
40
41
|
-h, --help Display this screen
|
|
41
42
|
```
|
|
42
43
|
> Note: Please be sure to use the [Account_Provisioning_CSV_Template.xlsx](https://github.com/KualiCo/kuali_toolbox/raw/master/Account_Provisioning_CSV_Template.xlsx) template with this tool.
|
|
@@ -55,3 +56,8 @@ Usage: validate_HR_XML xml_file
|
|
|
55
56
|
3. Commit your changes: `git commit -am 'Add some feature'`
|
|
56
57
|
4. Push to the branch: `git push origin my-new-feature`
|
|
57
58
|
5. Create a new Pull Request
|
|
59
|
+
|
|
60
|
+
## Pushing a Gem upgrade (must be a project owner on rubygems.org)
|
|
61
|
+
1 - update <base>/lib/kuali_toolbox/version.rb with the new version number
|
|
62
|
+
2 - gem build kuali_toolbox.gemspec
|
|
63
|
+
3 - gem push kuali_toolbox-0.43.gem
|
data/bin/transform_CSV_to_HR_XML
CHANGED
|
@@ -207,9 +207,9 @@ end
|
|
|
207
207
|
def buildAddress(row)
|
|
208
208
|
address = {}
|
|
209
209
|
addr_typ_cd = GRM.parse_address_type_code( row[:addr_typ_cd] )
|
|
210
|
-
addr_line_1 = ETL.parse_string( row[:addr_line_1], name: 'ADDR_LINE_1', length:
|
|
211
|
-
addr_line_2 = ETL.parse_string( row[:addr_line_2], name: 'ADDR_LINE_2', length:
|
|
212
|
-
addr_line_3 = ETL.parse_string( row[:addr_line_3], name: 'ADDR_LINE_3', length:
|
|
210
|
+
addr_line_1 = ETL.parse_string( row[:addr_line_1], name: 'ADDR_LINE_1', length: 128 )
|
|
211
|
+
addr_line_2 = ETL.parse_string( row[:addr_line_2], name: 'ADDR_LINE_2', length: 128 )
|
|
212
|
+
addr_line_3 = ETL.parse_string( row[:addr_line_3], name: 'ADDR_LINE_3', length: 128 )
|
|
213
213
|
city = ETL.parse_string( row[:city], name: 'CITY', length: 30 )
|
|
214
214
|
state_pvc_cd = ETL.parse_string( row[:state_pvc_cd], name: 'STATE_PVC_CD', length: 2 )
|
|
215
215
|
postal_cd = ETL.parse_string( row[:postal_cd], name: 'POSTAL_CD', length: 20 )
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kuali_toolbox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.45'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- KualiCo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-05-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: builder
|