maxirmx_test_gem 0.3.5 → 0.4.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: bab0662f346abb9f54e9735421397e7f34d346b14a809ea50302c534a16d1738
4
- data.tar.gz: 556ad640ced61fa5bf57907d0a3335ae274235eb6508c8fc938fecf1d5a9816b
3
+ metadata.gz: a2fbdfe78d363dc73c55b59b6abeca7308a32a000dc545727d4c722148f4ba6a
4
+ data.tar.gz: 46be16302dd34d106c9bdd17f6a8dd2a28fcb6611734c7328de3c718e6d0a3b0
5
5
  SHA512:
6
- metadata.gz: b26027f02a5d9d002e37e1c352ce8193b7cad164eb48d2da0d11e597c8ab9de914d61ef024626b173f7c755f42ea3d25ae78052ab3951811e7447ee85aeea6c7
7
- data.tar.gz: 3d4e6271e746f81be551607f9bcc4d6421841756101abe2038c621ddd8c05586736a5f0211e91a855c763624450f11709e515f2c83a3c7c0279216037bc7823a
6
+ metadata.gz: 59fcc6d0af01f6fd167b554758ca17856a4c5d56135951807a8458f53ea21b6ca2c08f6c99b1b6960e742801ff16c1918b0eb5123d291e4b0a6a945480c5e64b
7
+ data.tar.gz: f88f397875203e108dde012c203a83acd3a51304539aef6c8c9c8f54ac299e8f1943cb6b1f09e22172f36bcc1a7c607e75a27ed55a352c89423058e91be490a9
@@ -12,6 +12,7 @@ on:
12
12
  # tags: [ v* ]
13
13
  permissions:
14
14
  contents: write
15
+ packages: write
15
16
 
16
17
  jobs:
17
18
  bump:
@@ -138,4 +139,19 @@ jobs:
138
139
  for gem in $(find pkg -name "*.gem"); do
139
140
  echo "Publishing $gem"
140
141
  gem push $gem -V
141
- done
142
+ done
143
+
144
+ - name: Publish to GitHub Packages
145
+ env:
146
+ GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
147
+ run: |
148
+ mkdir -p ~/.gem
149
+ cat > ~/.gem/credentials << EOF
150
+ ---
151
+ :github: Bearer ${GITHUB_API_KEY}
152
+ EOF
153
+ chmod 0600 ~/.gem/credentials
154
+ for gem in $(find pkg -name "*.gem"); do
155
+ echo "Publishing to GitHub Packages: $gem"
156
+ gem push --key github --host https://rubygems.pkg.github.com/${GITHUB_REPOSITORY_OWNER} $gem
157
+ done
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TestGem
4
- VERSION = "0.3.5"
4
+ VERSION = "0.4.1"
5
5
  end
@@ -9,10 +9,10 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ["maxirmx@sw.consulting"]
10
10
 
11
11
  spec.summary = "Test gem"
12
- spec.description = "Test gem"
13
- spec.homepage = "https://github.com/sw-consulting/maxirmx_test_gem"
12
+ spec.homepage = "https://github.com/sw-consulting/test-gem"
14
13
  spec.license = "MIT"
15
14
  spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
15
+ spec.metadata["github_repo"] = spec.homepage
16
16
 
17
17
 
18
18
  spec.metadata["homepage_uri"] = spec.homepage
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxirmx_test_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxim [maxirmx] Samsonov
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.11'
41
- description: Test gem
41
+ description:
42
42
  email:
43
43
  - maxirmx@sw.consulting
44
44
  executables: []
@@ -61,12 +61,13 @@ files:
61
61
  - lib/maxirmx_test_gem.rb
62
62
  - lib/maxirmx_test_gem/version.rb
63
63
  - maxirmx_test_gem.gemspec
64
- homepage: https://github.com/sw-consulting/maxirmx_test_gem
64
+ homepage: https://github.com/sw-consulting/test-gem
65
65
  licenses:
66
66
  - MIT
67
67
  metadata:
68
- homepage_uri: https://github.com/sw-consulting/maxirmx_test_gem
69
- source_code_uri: https://github.com/sw-consulting/maxirmx_test_gem
68
+ github_repo: https://github.com/sw-consulting/test-gem
69
+ homepage_uri: https://github.com/sw-consulting/test-gem
70
+ source_code_uri: https://github.com/sw-consulting/test-gem
70
71
  post_install_message:
71
72
  rdoc_options: []
72
73
  require_paths: