scimitar-rbac 0.1.0 → 0.1.1

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: b929a00ba99bad2e6348687d9d35a9731efcb4518a0288211b256fa64e7c1617
4
- data.tar.gz: c519a80e4dd3b773cb514c66d6ec3e2f155e7c0db1fa7287b6a7d011d14be1c4
3
+ metadata.gz: e7d92ae4e2d4141c2effce023804682d6872c29e8e5b993667213c99ded74478
4
+ data.tar.gz: 80aade5d0320d4f6f2b75eff8f63a24341634eb6855cc91794db148e1ad3ffc8
5
5
  SHA512:
6
- metadata.gz: 04ea059854ada6d9b225514ba27ce4d1f52e808b0141cb3e381655a509cd1d173192fa51b13f7c52af65b9182b26ed39c0059eb00f51ecddf14f1787ac5258f0
7
- data.tar.gz: a512523bcf0fbee0e2ab07d9cbbd75b211fa5d651c4d0f584e8b335eb973b30851ce044fe795a4fb95841e0d4940ac92a68df7214ba99aece08af0cef935e704
6
+ metadata.gz: 9b5cc2d0554bf1b0a456cb52a3ef2fae493d404f27f9f7a32ef4867de47ce5c4684f7ee74140922d5ae669920c37639fb839453a215a50111f4766b16dd6031f
7
+ data.tar.gz: 8b0efd9502b8aab45ed4e5922ea7c66fff5255114b89c2aa7d81b54c44b9658a21c0b6cb64395e0911af040ad8f143a062c4d7ec11ecf84392c6b6cfa82ca1f4
@@ -0,0 +1,26 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ ruby-version: ["3.2", "3.3", "3.4"]
15
+
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+
19
+ - name: Set up Ruby ${{ matrix.ruby-version }}
20
+ uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: ${{ matrix.ruby-version }}
23
+ bundler-cache: true
24
+
25
+ - name: Run tests
26
+ run: bundle exec rspec
@@ -0,0 +1,53 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ jobs:
9
+ test:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+
14
+ - name: Set up Ruby
15
+ uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: "3.4"
18
+ bundler-cache: true
19
+
20
+ - name: Run tests
21
+ run: bundle exec rspec
22
+
23
+ publish:
24
+ needs: test
25
+ runs-on: ubuntu-latest
26
+ permissions:
27
+ contents: write
28
+ id-token: write
29
+
30
+ steps:
31
+ - uses: actions/checkout@v4
32
+
33
+ - name: Set up Ruby
34
+ uses: ruby/setup-ruby@v1
35
+ with:
36
+ ruby-version: "3.4"
37
+
38
+ - name: Build gem
39
+ run: gem build scimitar-rbac.gemspec
40
+
41
+ - name: Push to RubyGems
42
+ run: |
43
+ mkdir -p ~/.gem
44
+ echo "---" > ~/.gem/credentials
45
+ echo ":rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}" >> ~/.gem/credentials
46
+ chmod 0600 ~/.gem/credentials
47
+ gem push scimitar-rbac-*.gem || echo "Gem version may already exist on RubyGems, continuing..."
48
+
49
+ - name: Create GitHub Release
50
+ uses: softprops/action-gh-release@v2
51
+ with:
52
+ files: scimitar-rbac-*.gem
53
+ generate_release_notes: true
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Ahmed Gasanov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Scimitar
4
4
  module Rbac
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scimitar-rbac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ahmed Gasanov
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '2.0'
18
+ version: '2.15'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '2.0'
25
+ version: '2.15'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rails
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -55,6 +55,9 @@ executables: []
55
55
  extensions: []
56
56
  extra_rdoc_files: []
57
57
  files:
58
+ - ".github/workflows/ci.yml"
59
+ - ".github/workflows/release.yml"
60
+ - LICENSE.txt
58
61
  - README.md
59
62
  - Rakefile
60
63
  - lib/generators/scimitar_rbac/install_generator.rb