cm-admin 4.2.0 → 4.2.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 +4 -4
- data/.gem/credentials +5 -0
- data/.github/workflows/release-cm-gem.yml +105 -0
- data/Gemfile.lock +1 -1
- data/app/assets/stylesheets/cm_admin/base/navbar.scss +3 -0
- data/lib/cm_admin/version.rb +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c44311ddd3f0ebf6e1d4f95955770a545780720121c06fda39b9c54d9c9d0daa
|
4
|
+
data.tar.gz: cb582aaa8202e30c06d7c60bdc880d240d6175b4fb7b44d6636509a0a4da9c63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 756da465d4b28250f4f2fd9ea258660fde6fe75354c39c44d29c5081e47f07dbdaf12a42b2adfcd69f4c12cf6ff37c78f67e486ada7d5e34a1967083f3b4894d
|
7
|
+
data.tar.gz: 84d6e56e30f677f9dc996ff708bf43d0a754f2e776a3185ca22771a985a9bb471d7f1d44a62f959c194fc864f32556a45d3142b842a396d0e5e4455ffb82c2d6
|
data/.gem/credentials
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
name: Bump Gem to CM Gems
|
2
|
+
|
3
|
+
on:
|
4
|
+
workflow_dispatch:
|
5
|
+
inputs:
|
6
|
+
bump_type:
|
7
|
+
type: choice
|
8
|
+
description: "Bump Type ( Choosing None will bump build number and keep the same version )"
|
9
|
+
default: "patch"
|
10
|
+
options:
|
11
|
+
- patch
|
12
|
+
- minor
|
13
|
+
- major
|
14
|
+
|
15
|
+
permissions:
|
16
|
+
contents: read
|
17
|
+
|
18
|
+
jobs:
|
19
|
+
# build:
|
20
|
+
# name: Build gem
|
21
|
+
# runs-on: ubuntu-latest
|
22
|
+
|
23
|
+
# permissions:
|
24
|
+
# id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
|
25
|
+
# contents: write # IMPORTANT: this permission is required for `rake release` to push the release tag
|
26
|
+
|
27
|
+
# steps:
|
28
|
+
# # Set up
|
29
|
+
# - uses: actions/checkout@v4
|
30
|
+
|
31
|
+
# - name: set git config
|
32
|
+
# env:
|
33
|
+
# GH_TOKEN: ${{ github.token }}
|
34
|
+
# run: |
|
35
|
+
# git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
|
36
|
+
# git config --global user.name "$(gh api /users/${GITHUB_ACTOR} | jq .name -r)"
|
37
|
+
# git config -l
|
38
|
+
# - name: Set up Ruby
|
39
|
+
# uses: ruby/setup-ruby@v1
|
40
|
+
# with:
|
41
|
+
# bundler-cache: true
|
42
|
+
# ruby-version: ruby
|
43
|
+
|
44
|
+
# - name: Install the gem-release
|
45
|
+
# run: gem install gem-release
|
46
|
+
|
47
|
+
# - name: Bump the gem
|
48
|
+
# run: gem bump --version ${{ github.event.inputs.bump_type }} -p
|
49
|
+
|
50
|
+
# - name: Remove lock on bundle
|
51
|
+
# run: bundle config set frozen false
|
52
|
+
|
53
|
+
# - name: Bundle Install
|
54
|
+
# run: bundle install
|
55
|
+
|
56
|
+
# - name: Git Add files
|
57
|
+
# run: git add Gemfile.lock
|
58
|
+
|
59
|
+
# - name: Git Commit
|
60
|
+
# run: git commit -m "Add bundle files"
|
61
|
+
|
62
|
+
# - name: Push the new version
|
63
|
+
# run: git push origin ${{ github.ref_name }}
|
64
|
+
|
65
|
+
release:
|
66
|
+
name: Release gem
|
67
|
+
runs-on: ubuntu-latest
|
68
|
+
# needs: build
|
69
|
+
permissions:
|
70
|
+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
|
71
|
+
contents: write # IMPORTANT: this permission is required for `rake release` to push the release tag
|
72
|
+
|
73
|
+
steps:
|
74
|
+
- uses: actions/checkout@v4
|
75
|
+
|
76
|
+
- name: Git Pull
|
77
|
+
run: git pull
|
78
|
+
|
79
|
+
- name: Set up Ruby
|
80
|
+
uses: ruby/setup-ruby@v1
|
81
|
+
with:
|
82
|
+
ruby-version: ruby
|
83
|
+
bundler-cache: true
|
84
|
+
|
85
|
+
- name: Remove lock on bundle
|
86
|
+
run: bundle config set frozen false
|
87
|
+
|
88
|
+
- name: Update Rubygems
|
89
|
+
run: |
|
90
|
+
gem install rubygems-update
|
91
|
+
update_rubygems
|
92
|
+
gem update --system
|
93
|
+
|
94
|
+
- name: Build gem
|
95
|
+
run: |
|
96
|
+
gem build cm_admin.gemspec
|
97
|
+
GEM_FILE=$(ls *.gem | tail -n 1)
|
98
|
+
echo "GEM_FILE=$GEM_FILE" >> $GITHUB_ENV
|
99
|
+
|
100
|
+
- name: Push gem
|
101
|
+
env:
|
102
|
+
GEM_FILE: ${{ env.GEM_FILE }}
|
103
|
+
CM_GEMS_HOST: ${{ vars.CM_GEMS_HOST }}
|
104
|
+
run: |
|
105
|
+
gem push $GEM_FILE --host $CM_GEMS_HOST
|
data/Gemfile.lock
CHANGED
data/lib/cm_admin/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cm-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael
|
@@ -11,10 +11,10 @@ authors:
|
|
11
11
|
- Pranav
|
12
12
|
- Mahaveer
|
13
13
|
- Austin
|
14
|
-
autorequire:
|
14
|
+
autorequire:
|
15
15
|
bindir: exe
|
16
16
|
cert_chain: []
|
17
|
-
date: 2024-12-
|
17
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: caxlsx_rails
|
@@ -172,12 +172,14 @@ executables: []
|
|
172
172
|
extensions: []
|
173
173
|
extra_rdoc_files: []
|
174
174
|
files:
|
175
|
+
- ".gem/credentials"
|
175
176
|
- ".github/CODEOWNERS"
|
176
177
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
177
178
|
- ".github/ISSUE_TEMPLATE/config.yml"
|
178
179
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
179
180
|
- ".github/workflows/deploy-yard-docs.yml"
|
180
181
|
- ".github/workflows/linters.yml"
|
182
|
+
- ".github/workflows/release-cm-gem.yml"
|
181
183
|
- ".github/workflows/release-gem.yml"
|
182
184
|
- ".github/workflows/test.yml"
|
183
185
|
- ".gitignore"
|
@@ -505,7 +507,7 @@ metadata:
|
|
505
507
|
homepage_uri: https://github.com/commutatus/cm-admin
|
506
508
|
source_code_uri: https://github.com/commutatus/cm-admin
|
507
509
|
github_repo: ssh://github.com/commutatus/cm-admin
|
508
|
-
post_install_message:
|
510
|
+
post_install_message:
|
509
511
|
rdoc_options: []
|
510
512
|
require_paths:
|
511
513
|
- lib
|
@@ -521,7 +523,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
521
523
|
version: '0'
|
522
524
|
requirements: []
|
523
525
|
rubygems_version: 3.5.22
|
524
|
-
signing_key:
|
526
|
+
signing_key:
|
525
527
|
specification_version: 4
|
526
528
|
summary: CmAdmin is a robust gem designed to assist in creating admin panels for Rails
|
527
529
|
applications
|