ood_support 0.0.3 → 0.0.5
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 +5 -5
- data/.github/dependabot.yml +8 -0
- data/.github/workflows/publish.yml +43 -0
- data/CHANGELOG.md +12 -1
- data/lib/ood_support/acl_entry.rb +2 -1
- data/lib/ood_support/acls/nfs4.rb +2 -2
- data/lib/ood_support/version.rb +1 -1
- data/ood_support.gemspec +2 -2
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 646b7459fdab45e78a1bc46aada89aa24c9434f0af8017e5086966e9c87db297
|
4
|
+
data.tar.gz: 79a6ff76689e1c71de156b0e48ac4fc92a76a994c16656dbe51005ff1fe39355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eb3570e062a7898aa88598b4991e6c1c5144be13ffc8cefad9eb76de6948808dae52ba237fa655c3c26d1cfec543a60e35c4754f13fb43bb0981ae0a5df794f
|
7
|
+
data.tar.gz: e56b1bc263ddc7f6cd9e5c6226d3ed99b37416455a10c2343168ea68aafb055d39d5ae233e35b0e2ec35a3f59cc2a3c88f51b9c2b30baa98b6851fcec1ca13ba
|
@@ -0,0 +1,43 @@
|
|
1
|
+
name: Publish Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- "*"
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
publish:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
|
12
|
+
steps:
|
13
|
+
- name: Set version
|
14
|
+
id: version
|
15
|
+
run: echo "version=${GITHUB_REF#refs/*/v}" >> $GITHUB_OUTPUT
|
16
|
+
|
17
|
+
- name: checkout
|
18
|
+
uses: actions/checkout@v3
|
19
|
+
|
20
|
+
- name: Setup Ruby using Bundler
|
21
|
+
uses: ruby/setup-ruby@v1
|
22
|
+
with:
|
23
|
+
ruby-version: "2.7.1"
|
24
|
+
bundler-cache: true
|
25
|
+
bundler: "2.2"
|
26
|
+
|
27
|
+
- name: install gems
|
28
|
+
run: bundle install
|
29
|
+
|
30
|
+
- name: Setup Rubygems credentials
|
31
|
+
run: |
|
32
|
+
set +x
|
33
|
+
mkdir -p ~/.gem
|
34
|
+
cat << EOF > ~/.gem/credentials
|
35
|
+
---
|
36
|
+
:rubygems_api_key: ${{ secrets.OSC_ROBOT_RUBYGEMS_TOKEN }}
|
37
|
+
EOF
|
38
|
+
chmod 0600 ~/.gem/credentials
|
39
|
+
|
40
|
+
- name: Publish Gem
|
41
|
+
run: |
|
42
|
+
bundle exec rake build
|
43
|
+
gem push pkg/ood_support-${{ steps.version.outputs.version }}.gem
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [0.0.5] - 2023-02-24
|
10
|
+
|
11
|
+
- No functional difference with 0.0.4. This is only updates to the automation.
|
12
|
+
|
13
|
+
## [0.0.4] - 2023-02-24
|
14
|
+
|
15
|
+
### Fixed
|
16
|
+
- [12](https://github.com/OSC/ood_support/issues/12) adds initial support for Ruby 3.
|
17
|
+
|
9
18
|
## [0.0.3] - 2017-11-17
|
10
19
|
### Changed
|
11
20
|
- Updated the `CHANGELOG.md` formatting.
|
@@ -25,6 +34,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
25
34
|
### Added
|
26
35
|
- Initial release!
|
27
36
|
|
28
|
-
[Unreleased]: https://github.com/OSC/ood_support/compare/v0.0.
|
37
|
+
[Unreleased]: https://github.com/OSC/ood_support/compare/v0.0.5...HEAD
|
38
|
+
[0.0.5]: https://github.com/OSC/ood_support/compare/v0.0.4...v0.0.5
|
39
|
+
[0.0.4]: https://github.com/OSC/ood_support/compare/v0.0.3...v0.0.4
|
29
40
|
[0.0.3]: https://github.com/OSC/ood_support/compare/v0.0.2...v0.0.3
|
30
41
|
[0.0.2]: https://github.com/OSC/ood_support/compare/v0.0.1...v0.0.2
|
@@ -13,7 +13,8 @@ module OodSupport
|
|
13
13
|
# @raise [InvalidACLEntry] unable to parse entry string
|
14
14
|
# @return [ACLEntry] entry generated by string
|
15
15
|
def self.parse(entry, **kwargs)
|
16
|
-
|
16
|
+
args = parse_entry(entry).merge(kwargs)
|
17
|
+
new(**args)
|
17
18
|
end
|
18
19
|
|
19
20
|
# @param principle [#to_s] principle for this ACL entry
|
@@ -93,7 +93,7 @@ module OodSupport
|
|
93
93
|
# @param group [#to_s] name of group
|
94
94
|
# @see ACL#initialize
|
95
95
|
def initialize(owner:, group:, **kwargs)
|
96
|
-
super(kwargs.merge(default: false))
|
96
|
+
super(**kwargs.merge(default: false))
|
97
97
|
@owner = owner.to_s
|
98
98
|
@group = group.to_s
|
99
99
|
end
|
@@ -160,7 +160,7 @@ module OodSupport
|
|
160
160
|
@flags = flags.map(&:to_sym)
|
161
161
|
@domain = domain.to_s
|
162
162
|
@permissions = permissions.map(&:to_sym)
|
163
|
-
super(kwargs)
|
163
|
+
super(**kwargs)
|
164
164
|
end
|
165
165
|
|
166
166
|
# Is this an "allow" ACL entry
|
data/lib/ood_support/version.rb
CHANGED
data/ood_support.gemspec
CHANGED
@@ -18,6 +18,6 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_development_dependency "bundler", "~>
|
22
|
-
spec.add_development_dependency "rake", "~>
|
21
|
+
spec.add_development_dependency "bundler", "~> 2.2"
|
22
|
+
spec.add_development_dependency "rake", "~> 13.0.1"
|
23
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ood_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Nicklas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.2'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 13.0.1
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 13.0.1
|
41
41
|
description: Provides an interface to working with the local OS installed on the HPC
|
42
42
|
Center's web node.
|
43
43
|
email:
|
@@ -46,6 +46,8 @@ executables: []
|
|
46
46
|
extensions: []
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
|
+
- ".github/dependabot.yml"
|
50
|
+
- ".github/workflows/publish.yml"
|
49
51
|
- ".gitignore"
|
50
52
|
- CHANGELOG.md
|
51
53
|
- Gemfile
|
@@ -82,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
84
|
- !ruby/object:Gem::Version
|
83
85
|
version: '0'
|
84
86
|
requirements: []
|
85
|
-
|
86
|
-
rubygems_version: 2.4.5
|
87
|
+
rubygems_version: 3.1.2
|
87
88
|
signing_key:
|
88
89
|
specification_version: 4
|
89
90
|
summary: Open OnDemand gem that adds useful support methods for an HPC Center.
|