curses 1.5.1 → 1.5.3
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/.github/workflows/gh-pages.yml +48 -0
- data/.github/workflows/push_gem.yml +1 -1
- data/.gitignore +1 -0
- data/Rakefile +11 -0
- data/curses.gemspec +8 -1
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6a0461f1259694a891fe0a6afeed1e0923a80f6b2b9972c400290050885bcb9
|
4
|
+
data.tar.gz: 923973e1b27938952e0ab91bea5a29d1b035a4ea3120b35c6f44275a159e4b46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f86162cf8616fc888a560b79cb6159325fc07718d563f28757f37c6cde521cc357a48f42010dd223453b71b27afec04c14e0307c2b744c5b0e032113bc2dd37
|
7
|
+
data.tar.gz: 240ef48206f9a494e4eec48fd570f9d79d1792d2ab2a29bbedc2744e64d4f478f29f60e0a3c00477c972c184455f3e69421af1d4050ecf01883180d03f288a54
|
@@ -0,0 +1,48 @@
|
|
1
|
+
name: Deploy RDoc site to Pages
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ 'master' ]
|
6
|
+
workflow_dispatch:
|
7
|
+
|
8
|
+
permissions:
|
9
|
+
contents: read
|
10
|
+
pages: write
|
11
|
+
id-token: write
|
12
|
+
|
13
|
+
concurrency:
|
14
|
+
group: "pages"
|
15
|
+
cancel-in-progress: true
|
16
|
+
|
17
|
+
jobs:
|
18
|
+
build:
|
19
|
+
runs-on: ubuntu-latest
|
20
|
+
steps:
|
21
|
+
- name: Checkout
|
22
|
+
uses: actions/checkout@v4
|
23
|
+
- name: Setup Ruby
|
24
|
+
uses: ruby/setup-ruby@a4effe49ee8ee5b8b5091268c473a4628afb5651 # v1.245.0
|
25
|
+
with:
|
26
|
+
ruby-version: '3.4'
|
27
|
+
bundler-cache: true
|
28
|
+
- name: Setup Pages
|
29
|
+
id: pages
|
30
|
+
uses: actions/configure-pages@v5
|
31
|
+
- name: Install dependencies
|
32
|
+
run: gem install rdoc
|
33
|
+
- name: Build with RDoc
|
34
|
+
# Outputs to the './_site' directory by default
|
35
|
+
run: rake rdoc
|
36
|
+
- name: Upload artifact
|
37
|
+
uses: actions/upload-pages-artifact@v3
|
38
|
+
|
39
|
+
deploy:
|
40
|
+
environment:
|
41
|
+
name: github-pages
|
42
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
43
|
+
runs-on: ubuntu-latest
|
44
|
+
needs: build
|
45
|
+
steps:
|
46
|
+
- name: Deploy to GitHub Pages
|
47
|
+
id: deployment
|
48
|
+
uses: actions/deploy-pages@v4
|
@@ -24,7 +24,7 @@ jobs:
|
|
24
24
|
steps:
|
25
25
|
# Set up
|
26
26
|
- name: Harden Runner
|
27
|
-
uses: step-security/harden-runner@
|
27
|
+
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
|
28
28
|
with:
|
29
29
|
egress-policy: audit
|
30
30
|
|
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -1,3 +1,14 @@
|
|
1
1
|
require "bundler"
|
2
2
|
|
3
3
|
Bundler::GemHelper.install_tasks
|
4
|
+
|
5
|
+
begin
|
6
|
+
require "rdoc/task"
|
7
|
+
RDoc::Task.new do |doc|
|
8
|
+
doc.main = "README.md"
|
9
|
+
doc.title = "Curses: A Ruby binding for curses, ncurses, and PDCurses."
|
10
|
+
doc.rdoc_files = FileList.new %w[ext/curses/curses.c lib README.md BSDL COPYING]
|
11
|
+
doc.rdoc_dir = "_site" # for github pages
|
12
|
+
end
|
13
|
+
rescue LoadError
|
14
|
+
end
|
data/curses.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new { |s|
|
2
2
|
s.name = "curses"
|
3
|
-
s.version = "1.5.
|
3
|
+
s.version = "1.5.3"
|
4
4
|
s.author = ["Shugo Maeda", 'Eric Hodel']
|
5
5
|
s.email = ["shugo@ruby-lang.org", 'drbrain@segment7.net']
|
6
6
|
s.homepage = "https://github.com/ruby/curses"
|
@@ -11,6 +11,13 @@ Gem::Specification.new { |s|
|
|
11
11
|
s.require_path = "lib"
|
12
12
|
s.required_ruby_version = Gem::Requirement.new('>= 3.0')
|
13
13
|
s.licenses = ['Ruby', 'BSD-2-Clause']
|
14
|
+
s.homepage = "https://github.com/ruby/curses"
|
15
|
+
|
16
|
+
s.metadata["homepage_uri"] = s.homepage
|
17
|
+
s.metadata["source_code_uri"] = s.homepage
|
18
|
+
s.metadata["changelog_uri"] = "#{s.homepage}/releases"
|
19
|
+
s.metadata["documentation_uri"] = "https://ruby.github.io/curses/"
|
20
|
+
|
14
21
|
s.add_development_dependency 'bundler'
|
15
22
|
s.add_development_dependency 'rake'
|
16
23
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: curses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shugo Maeda
|
@@ -47,6 +47,7 @@ extensions:
|
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
49
|
- ".github/dependabot.yml"
|
50
|
+
- ".github/workflows/gh-pages.yml"
|
50
51
|
- ".github/workflows/macos.yml"
|
51
52
|
- ".github/workflows/push_gem.yml"
|
52
53
|
- ".github/workflows/ubuntu.yml"
|
@@ -324,7 +325,11 @@ homepage: https://github.com/ruby/curses
|
|
324
325
|
licenses:
|
325
326
|
- Ruby
|
326
327
|
- BSD-2-Clause
|
327
|
-
metadata:
|
328
|
+
metadata:
|
329
|
+
homepage_uri: https://github.com/ruby/curses
|
330
|
+
source_code_uri: https://github.com/ruby/curses
|
331
|
+
changelog_uri: https://github.com/ruby/curses/releases
|
332
|
+
documentation_uri: https://ruby.github.io/curses/
|
328
333
|
rdoc_options: []
|
329
334
|
require_paths:
|
330
335
|
- lib
|