etda_utilities 0.21.1 → 0.21.2

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: 70ab9c687aa369e9234f52996e0ad801baf529df76fead2f86b6675e8e11053d
4
- data.tar.gz: ae323e34c32a5d93ef00d03064a5e90c3035a5b2a1477e59e46bc0d7138129e3
3
+ metadata.gz: 49318d5e71e0d59cc273dd5680c8d0d4a2d211ff88ca26607a611f438db1c7f9
4
+ data.tar.gz: fde28d6e663111a68b1b311b56ad73f2bec2d2a061dc4387da739bc0c85a77d7
5
5
  SHA512:
6
- metadata.gz: de7307cb38eaf1dfff96b9ddb85f074c9ddf120a3fbb243602ec61dcab23cf92282ff05d18f4e81ca726fd75a2a7bc9645fd158f7bc6ea529f4975f152eac51a
7
- data.tar.gz: d48cd5da7f6eac751a92fd87afe3487e6a9149d36ebbc2cdbf47f2a231808ecb9b07dee65c41908a9220757f5848f340dac332ee4f43f3bd09165cb6bb6d507b
6
+ metadata.gz: 2bb14bcdebe245fc2143fddf6dad1ac37c0fcce4386f3a7c7db751861c003b5a68941b29080cc92b723585a7ef17fdf2da981d7a2a385248c1a7062131986615
7
+ data.tar.gz: 6b509d848b0e69fd68b29260308edd7769e835660804fdcfb447a586b3fbfeeae74caedc1bf221f18d5f409553bf8a0a1d9252b0f5a143f1b4dbf49ba5afeff5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- etda_utilities (0.21.1)
4
+ etda_utilities (0.21.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -30,6 +30,10 @@ honors:
30
30
  restricted_to_institution_attr:
31
31
  description_html: 'Access restricted to individuals having a valid Penn State Access Account, for a period of two years. Allows restricted access of the entire work beginning immediately after degree conferral. At the end of the two-year period, the status will automatically change to Open Access. <i>Intended for use by authors in cases where prior public release of the work may compromise its acceptance for publication.</i>'
32
32
  scope: final_restricted_institution
33
+ restricted_liberal_arts: 'Restricted (Liberal Arts Only)'
34
+ restricted_liberal_arts_attr:
35
+ description_html: 'Immediately after the conferral of the degree, the abstract becomes accessible worldwide. All other parts of the document are restricted to Penn State only for an embargo period of five (5) years for dissertations from the College of the Liberal Arts. No extensions will be granted beyond five (5) years.'
36
+ scope: final_restricted_liberal_arts
33
37
  restricted: 'Restricted'
34
38
  restricted_attr:
35
39
  description_html: 'The option selected secures the body of the thesis for a period of two years. Selection of this option requires that an invention disclosure (ID) be filed with the Office of Technology Management (OTM) prior to submission of the final honors thesis and confirmed by OTM. At the end of the two-year period, the work will be released automatically for open access unless a written request is made to extend this option for an additional year. The written request for an extension should be sent 30 days prior to the end of the two-year period to the Honors College Records Department, 10 Schreyer Honors College, The Pennsylvania State University, University Park, PA 16802, or by e-mail to <a href="mailto:SHCAcademics@psu.edu">SHCAcademics@psu.edu</a>. Please note: No one will be able to view your work under this option.'
@@ -48,6 +52,10 @@ milsch:
48
52
  restricted_to_institution_attr:
49
53
  description_html: 'Access restricted to individuals having a valid Penn State Access Account, for a period of two years. Allows restricted access of the entire work beginning immediately after degree conferral. At the end of the two-year period, the status will automatically change to Open Access. <i>Intended for use by authors in cases where prior public release of the work may compromise its acceptance for publication.</i>'
50
54
  scope: final_restricted_institution
55
+ restricted_liberal_arts: 'Restricted (Liberal Arts Only)'
56
+ restricted_liberal_arts_attr:
57
+ description_html: 'Immediately after the conferral of the degree, the abstract becomes accessible worldwide. All other parts of the document are restricted to Penn State only for an embargo period of five (5) years for dissertations from the College of the Liberal Arts. No extensions will be granted beyond five (5) years.'
58
+ scope: final_restricted_liberal_arts
51
59
  restricted: Restricted
52
60
  restricted_attr:
53
61
  description_html: 'The option selected secures the body of the thesis for a period of two years. Selection of this option requires that an invention disclosure (ID) be filed with the Office of Technology Management (OTM) prior to submission of the final thesis and confirmed by OTM. At the end of the two-year period, the work will be released automatically for open access unless a written request is made to extend this option for an additional year. The written request for an extension should be sent to Millennium Scholars Program, 130 Ritenour Building, University Park, PA 16802 or by email to <a href="mailto:millennium@psu.edu">millennium@psu.edu</a>. Please note: No one will be able to view your work under this option.'
@@ -66,6 +74,10 @@ sset:
66
74
  restricted_to_institution_attr:
67
75
  description_html: 'Access restricted to individuals having a valid Penn State Access Account, for a period of two years. Allows restricted access of the entire work beginning immediately after degree conferral. At the end of the two-year period, the status will automatically change to Open Access. <i>Intended for use by authors in cases where prior public release of the work may compromise its acceptance for publication.</i>'
68
76
  scope: final_restricted_institution
77
+ restricted_liberal_arts: 'Restricted (Liberal Arts Only)'
78
+ restricted_liberal_arts_attr:
79
+ description_html: 'Immediately after the conferral of the degree, the abstract becomes accessible worldwide. All other parts of the document are restricted to Penn State only for an embargo period of five (5) years for dissertations from the College of the Liberal Arts. No extensions will be granted beyond five (5) years.'
80
+ scope: final_restricted_liberal_arts
69
81
  restricted: Restricted
70
82
  restricted_attr:
71
83
  description_html: 'Restricts the entire work for the purpose of filing a patent. At the end of the two-year period, the status will automatically change to Open Access. Selection of this option requires that an invention disclosure (ID) be filed with the Office of Technology Management (OTM) prior to submission of the final paper , and confirmed by OTM. If no Penn State University funds were utilized in this final paper please enter “NOPSUFUNDS” for the Invention Disclosure Number field below.'
@@ -52,9 +52,7 @@ module EtdaUtilities
52
52
 
53
53
  return explore_open + detailed_file_path(file_id) + filename if access_level == 'open_access'
54
54
 
55
- return explore_psu_only + detailed_file_path(file_id) + filename if access_level == 'restricted_to_institution'
56
-
57
- return explore_liberal_arts_only + detailed_file_path(file_id) + filename if access_level == 'restricted_liberal_arts'
55
+ return explore_psu_only + detailed_file_path(file_id) + filename if ['restricted_to_institution', 'restricted_liberal_arts'].include?(access_level)
58
56
 
59
57
  nil
60
58
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EtdaUtilities
4
- VERSION = "0.21.1"
4
+ VERSION = "0.21.2"
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etda_utilities
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.1
4
+ version: 0.21.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ajk5603@psu.edu
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-12-17 00:00:00.000000000 Z
10
+ date: 2026-01-07 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bundler
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.6.2
104
+ rubygems_version: 3.6.6
105
105
  specification_version: 4
106
106
  summary: A gem containing common fuctions for the ETDA applications.
107
107
  test_files: []