Skip to content

Commit 55fc3e4

Browse files
author
Sergii Solonyna
committed
Remove astroapi.gemspec file, update Gemfile.lock to reflect gem name change to astroapi-ruby, and adjust GitHub Actions workflow for gem publishing.
1 parent 31b14bc commit 55fc3e4

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ jobs:
4242
exit 1
4343
fi
4444
45-
- name: Build gem
46-
run: gem build astroapi.gemspec
47-
4845
- name: Publish to RubyGems (Trusted Publishing)
4946
uses: rubygems/release-gem@v1
5047

@@ -55,4 +52,4 @@ jobs:
5552
gh release create "$GITHUB_REF_NAME" \
5653
--title "$GITHUB_REF_NAME" \
5754
--generate-notes \
58-
astroapi-*.gem
55+
astroapi-ruby-*.gem

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
astroapi (1.0.0)
4+
astroapi-ruby (1.0.0)
55
faraday (~> 2.0)
66
faraday-retry (~> 2.0)
77

@@ -95,7 +95,7 @@ PLATFORMS
9595
ruby
9696

9797
DEPENDENCIES
98-
astroapi!
98+
astroapi-ruby!
9999
pry (~> 0.14)
100100
rake (~> 13.0)
101101
rspec (~> 3.12)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require_relative 'lib/astroapi/version'
44

55
Gem::Specification.new do |spec|
6-
spec.name = 'astroapi'
6+
spec.name = 'astroapi-ruby'
77
spec.version = Astroapi::VERSION
88
spec.authors = ['Astrology API']
99
spec.email = ['support@astrology-api.io']
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
1818
spec.metadata = {
1919
'bug_tracker_uri' => 'https://github.com/astro-api/astroapi-ruby/issues',
2020
'changelog_uri' => 'https://github.com/astro-api/astroapi-ruby/blob/main/CHANGELOG.md',
21-
'documentation_uri' => 'https://www.rubydoc.info/gems/astroapi',
21+
'documentation_uri' => 'https://www.rubydoc.info/gems/astroapi-ruby',
2222
'homepage_uri' => spec.homepage,
2323
'source_code_uri' => 'https://github.com/astro-api/astroapi-ruby',
2424
'rubygems_mfa_required' => 'true'

0 commit comments

Comments
 (0)