etda_utilities 0.16.0 → 0.17.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77d38fc8a2f016ca6018857878f4bb0a4acd93e0a3bc3454a643fa9ca41228f8
4
- data.tar.gz: 7b5476defcd59ed704568482211e89de751d4591775276574237b2f16d438b50
3
+ metadata.gz: e32d2539c0a8c63a5919e46b43d95e259495eaaae56c1979e28f8b423f325bd4
4
+ data.tar.gz: 1040a84a4dcf29f4df15fae7c2b364bb186405673709e468b0ba8e60b36604a4
5
5
  SHA512:
6
- metadata.gz: 158a45acfd648d898ba2c5afee01b45aa4a3c89028437aa824026c54e67bea3a999dee2668d349d951e9c754862ebab801237d8523f5cb2f711c91140f7d0e48
7
- data.tar.gz: 6f11de8831051992b6eed890ed0b8c2dcae6ad80d608e3cbe3eb603dfe5e3ca7e31e813af66f86f2357519bf42534dd996fa1f5ac4b026fc0d7a09af04701f12
6
+ metadata.gz: 7add9928c36e4845f85c9ed15d329d93dc0ab40d3a53068be3af012f1642172741e4bac96e2fe26bad00e3d3309ba231ea4ea79159d8882910aca5fe24c1f839
7
+ data.tar.gz: 0eb9aef4bbf29a1463c1e4bc70c447664775867945b42ed7fea43b3c13ae54a5ed1b92f316d32f48cea1e28ddad4537e08168382bd1a002fcf93b49d464362fa
data/.rubocop.yml CHANGED
@@ -11,6 +11,7 @@ Metrics/AbcSize:
11
11
  Metrics/BlockLength:
12
12
  Exclude:
13
13
  - spec/lib/etda_utilities_etda_file_paths_spec.rb
14
+ - spec/lib/etda_utilities_partner_spec.rb
14
15
 
15
16
  Metrics/MethodLength:
16
17
  Enabled: false
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- etda_utilities (0.16.0)
4
+ etda_utilities (0.17.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -18,6 +18,34 @@ module EtdaUtilities
18
18
 
19
19
  attr_reader :id
20
20
 
21
+ def email_list
22
+ attributes['email']['list']
23
+ end
24
+
25
+ def email_address
26
+ attributes['email']['address']
27
+ end
28
+
29
+ def name
30
+ attributes['name']
31
+ end
32
+
33
+ def slug
34
+ attributes['slug']
35
+ end
36
+
37
+ def program_label
38
+ attributes['program']['label']
39
+ end
40
+
41
+ def committee_label
42
+ attributes['committee']['label']
43
+ end
44
+
45
+ def committee_list_label
46
+ attributes['committee']['list']['label']
47
+ end
48
+
21
49
  def graduate?
22
50
  id == 'graduate'
23
51
  end
@@ -33,5 +61,12 @@ module EtdaUtilities
33
61
  def sset?
34
62
  id == 'sset'
35
63
  end
64
+
65
+ private
66
+
67
+ def attributes
68
+ file_path = File.join(File.dirname(__FILE__), 'partner.yml')
69
+ YAML.load_file(file_path.to_s)[id]
70
+ end
36
71
  end
37
72
  end
@@ -0,0 +1,45 @@
1
+ graduate:
2
+ slug: eTD
3
+ name: Graduate School
4
+ email:
5
+ address: gradthesis@psu.edu
6
+ list: 'ul-etda-graduate-admin@pennstateoffice365.onmicrosoft.com'
7
+ program:
8
+ label: Graduate Program
9
+ committee:
10
+ label: Committee Member
11
+ list:
12
+ label: Committee Members
13
+
14
+ honors:
15
+ slug: eHT
16
+ name: Schreyer Honors College
17
+ email:
18
+ address: SHCAcademics@psu.edu
19
+ list: 'ul-etda-honors-admin@pennstateoffice365.onmicrosoft.com'
20
+ program:
21
+ label: Area of Honors
22
+ committee:
23
+ label: Thesis Supervisor
24
+ list:
25
+ label: Thesis Supervisors
26
+
27
+ milsch:
28
+ slug: MSPT
29
+ name: Millennium Scholars Program
30
+ email:
31
+ address: millennium@psu.edu
32
+ list: 'ul-etda-milsch-admin@pennstateoffice365.onmicrosoft.com'
33
+ program:
34
+ label: Millennium Scholars Program Name
35
+ committee:
36
+ label: Thesis Supervisor
37
+ list:
38
+ label: Thesis Supervisor
39
+
40
+ sset:
41
+ slug: SSETT
42
+ name: School of Science, Engineering, and Technology
43
+ email:
44
+ address: sset@psu.edu
45
+ list: 'ul-etda-sset-admin@pennstateoffice365.onmicrosoft.com'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EtdaUtilities
4
- VERSION = "0.16.0"
4
+ VERSION = "0.17.0"
5
5
  end
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.16.0
4
+ version: 0.17.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-03-10 00:00:00.000000000 Z
11
+ date: 2022-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -82,6 +82,7 @@ files:
82
82
  - lib/etda_utilities/etda_file_paths.rb
83
83
  - lib/etda_utilities/hosts.rb
84
84
  - lib/etda_utilities/partner.rb
85
+ - lib/etda_utilities/partner.yml
85
86
  - lib/etda_utilities/version.rb
86
87
  homepage: https://github.com/psu-stewardship/etda_utilities
87
88
  licenses: