etda_utilities 0.17.0 → 0.18.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/.rubocop.yml +1 -0
- data/Gemfile.lock +1 -1
- data/lib/etda_utilities/hosts.rb +22 -0
- data/lib/etda_utilities/partner.rb +4 -0
- data/lib/etda_utilities/partner.yml +12 -2
- data/lib/etda_utilities/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b10b643a58edd0dc56a49380d919d0461dcee1fd9c0d3c3d3bdefe4fc2a2e9ed
|
|
4
|
+
data.tar.gz: cabba43f45679fa74735e9cf7c64c3a0c9554c40c8b08614d6c931f436606c63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 31ebedf24fc8a06e54ef52130e0e0c7f513871aa057c8b3972566e349edb5e405f0ee41118130146722c353e3a57adfa176244e3426dfe1f8a89b3198a4e3ba5
|
|
7
|
+
data.tar.gz: 926a4349ae7bb6856d425370115f7823baa47342796c663868d76cef8bf3a0c9e13d89b2adc01da5969ae01fe9186484e3ea600210e44e2920198e4083ce1f0c
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
data/lib/etda_utilities/hosts.rb
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
module EtdaUtilities
|
|
4
4
|
class Hosts
|
|
5
|
+
class << self
|
|
6
|
+
def workflow_url(partner = nil, host = nil)
|
|
7
|
+
if ENV['WORKFLOW_HOST']
|
|
8
|
+
"https://#{ENV['WORKFLOW_HOST']}"
|
|
9
|
+
else
|
|
10
|
+
raise ArgumentError, "_partner and _host are required arguments" if partner.nil? || host.nil?
|
|
11
|
+
|
|
12
|
+
"https://" + new.workflow_submit_host(partner, host)
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def explore_url(partner = nil, host = nil)
|
|
17
|
+
if ENV['EXPLORE_HOST']
|
|
18
|
+
"https://#{ENV['EXPLORE_HOST']}"
|
|
19
|
+
else
|
|
20
|
+
raise ArgumentError, "_partner and _host are required arguments" if partner.nil? || host.nil?
|
|
21
|
+
|
|
22
|
+
"https://" + new.explore_host(partner, host)
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
5
27
|
def workflow_submit_host(partner, environment = 'prod')
|
|
6
28
|
host_builder(partner, environment, true)
|
|
7
29
|
end
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
graduate:
|
|
2
2
|
slug: eTD
|
|
3
3
|
name: Graduate School
|
|
4
|
+
header_title: Electronic Theses and Dissertations for Graduate School
|
|
4
5
|
email:
|
|
5
6
|
address: gradthesis@psu.edu
|
|
6
7
|
list: 'ul-etda-graduate-admin@pennstateoffice365.onmicrosoft.com'
|
|
@@ -14,6 +15,7 @@ graduate:
|
|
|
14
15
|
honors:
|
|
15
16
|
slug: eHT
|
|
16
17
|
name: Schreyer Honors College
|
|
18
|
+
header_title: Electronic Theses for Schreyer Honors College
|
|
17
19
|
email:
|
|
18
20
|
address: SHCAcademics@psu.edu
|
|
19
21
|
list: 'ul-etda-honors-admin@pennstateoffice365.onmicrosoft.com'
|
|
@@ -27,11 +29,12 @@ honors:
|
|
|
27
29
|
milsch:
|
|
28
30
|
slug: MSPT
|
|
29
31
|
name: Millennium Scholars Program
|
|
32
|
+
header_title: Electronic Theses for Millennium Scholars Program
|
|
30
33
|
email:
|
|
31
34
|
address: millennium@psu.edu
|
|
32
35
|
list: 'ul-etda-milsch-admin@pennstateoffice365.onmicrosoft.com'
|
|
33
36
|
program:
|
|
34
|
-
label: Millennium Scholars Program
|
|
37
|
+
label: Millennium Scholars Program
|
|
35
38
|
committee:
|
|
36
39
|
label: Thesis Supervisor
|
|
37
40
|
list:
|
|
@@ -40,6 +43,13 @@ milsch:
|
|
|
40
43
|
sset:
|
|
41
44
|
slug: SSETT
|
|
42
45
|
name: School of Science, Engineering, and Technology
|
|
46
|
+
header_title: Final Papers for the School of Science, Engineering, and Technology
|
|
43
47
|
email:
|
|
44
48
|
address: sset@psu.edu
|
|
45
|
-
list: 'ul-etda-sset-admin@pennstateoffice365.onmicrosoft.com'
|
|
49
|
+
list: 'ul-etda-sset-admin@pennstateoffice365.onmicrosoft.com'
|
|
50
|
+
program:
|
|
51
|
+
label: Program
|
|
52
|
+
committee:
|
|
53
|
+
label: Committee Member
|
|
54
|
+
list:
|
|
55
|
+
label: Committee Members
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: etda_utilities
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.18.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ajk5603@psu.edu
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-06-
|
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|