faker-pretty_series 0.1.2 → 0.1.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/dependabot.yml +12 -0
- data/.github/workflows/pages.yml +59 -0
- data/.github/workflows/release_gem.yml +41 -0
- data/.github/workflows/test.yml +25 -49
- data/.yardopts +2 -0
- data/CHANGELOG.md +7 -1
- data/README.md +1 -1
- data/faker-pretty_series.gemspec +4 -0
- data/lib/faker/pretty_series/version.rb +1 -1
- metadata +37 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eae9cb6d58909d8f1b23a3bec5968001b78ad0e6e3176815dd7f09bedeb14655
|
|
4
|
+
data.tar.gz: fb10bafb9f736d15848823ee6253a5794897213d81b95507a3897934cf0aee26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e414c2df391fe4e66de60e38d7fa83aa367cfd055470bed106d722f3d36709fa99fb17df6be6b9339109bca8014cd78393e47a99b1284da71a9ed43792044a00
|
|
7
|
+
data.tar.gz: e4325f12d89a205947b4ce2dac2c7c2b072a209623ee0a261baba42ad66d2964a1e167a83730c53f4e5c149161ca71d4ab059563d6ade2dc61f2372b4f8524ca
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# c.f. https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
|
2
|
+
version: 2
|
|
3
|
+
|
|
4
|
+
updates:
|
|
5
|
+
- package-ecosystem: github-actions
|
|
6
|
+
directory: /
|
|
7
|
+
schedule:
|
|
8
|
+
interval: weekly
|
|
9
|
+
cooldown:
|
|
10
|
+
default-days: 7
|
|
11
|
+
assignees:
|
|
12
|
+
- sue445
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Simple workflow for deploying static content to GitHub Pages
|
|
2
|
+
name: Deploy static content to Pages
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
# Runs on pushes targeting the default branch
|
|
6
|
+
push:
|
|
7
|
+
branches:
|
|
8
|
+
- master
|
|
9
|
+
|
|
10
|
+
# Allows you to run this workflow manually from the Actions tab
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
|
|
13
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
pages: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
# Allow one concurrent deployment
|
|
20
|
+
concurrency:
|
|
21
|
+
group: "pages"
|
|
22
|
+
cancel-in-progress: true
|
|
23
|
+
|
|
24
|
+
jobs:
|
|
25
|
+
# Single deploy job since we're just deploying
|
|
26
|
+
deploy:
|
|
27
|
+
environment:
|
|
28
|
+
name: github-pages
|
|
29
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
30
|
+
runs-on: ubuntu-latest
|
|
31
|
+
steps:
|
|
32
|
+
- name: Checkout
|
|
33
|
+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
34
|
+
|
|
35
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
36
|
+
with:
|
|
37
|
+
ruby-version: ruby
|
|
38
|
+
bundler-cache: true
|
|
39
|
+
|
|
40
|
+
- run: bundle exec yard
|
|
41
|
+
|
|
42
|
+
- name: Setup Pages
|
|
43
|
+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
|
|
44
|
+
- name: Upload artifact
|
|
45
|
+
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
|
|
46
|
+
with:
|
|
47
|
+
# Upload entire repository
|
|
48
|
+
path: './doc'
|
|
49
|
+
- name: Deploy to GitHub Pages
|
|
50
|
+
id: deployment
|
|
51
|
+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
|
|
52
|
+
|
|
53
|
+
- name: Slack Notification (not success)
|
|
54
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
55
|
+
if: "! success()"
|
|
56
|
+
continue-on-error: true
|
|
57
|
+
with:
|
|
58
|
+
status: ${{ job.status }}
|
|
59
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: Publish gem to rubygems.org
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
release:
|
|
8
|
+
if: github.repository == 'sue445/faker-pretty_series'
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
environment:
|
|
12
|
+
name: rubygems.org
|
|
13
|
+
url: https://rubygems.org/gems/faker-pretty_series
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- name: Harden Runner
|
|
21
|
+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
|
|
22
|
+
with:
|
|
23
|
+
egress-policy: audit
|
|
24
|
+
|
|
25
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
26
|
+
|
|
27
|
+
- name: Set up Ruby
|
|
28
|
+
uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
|
|
29
|
+
with:
|
|
30
|
+
bundler-cache: true
|
|
31
|
+
ruby-version: ruby
|
|
32
|
+
|
|
33
|
+
- name: Publish to RubyGems
|
|
34
|
+
uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
|
|
35
|
+
|
|
36
|
+
- name: Create GitHub release
|
|
37
|
+
run: |
|
|
38
|
+
tag_name="$(git describe --tags --abbrev=0)"
|
|
39
|
+
gh release create "${tag_name}" --verify-tag --generate-notes
|
|
40
|
+
env:
|
|
41
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
data/.github/workflows/test.yml
CHANGED
|
@@ -12,80 +12,59 @@ on:
|
|
|
12
12
|
schedule:
|
|
13
13
|
- cron: "0 10 * * 5" # JST 19:00 (Fri)
|
|
14
14
|
|
|
15
|
-
env:
|
|
16
|
-
CI: "true"
|
|
17
|
-
|
|
18
15
|
jobs:
|
|
19
16
|
test:
|
|
20
17
|
runs-on: ubuntu-latest
|
|
21
18
|
|
|
22
|
-
container: ${{ matrix.ruby }}
|
|
23
|
-
|
|
24
19
|
strategy:
|
|
25
20
|
fail-fast: false
|
|
26
21
|
|
|
27
22
|
matrix:
|
|
28
23
|
ruby:
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
24
|
+
- "2.5"
|
|
25
|
+
- "2.6"
|
|
26
|
+
- "2.7"
|
|
27
|
+
- "3.0"
|
|
28
|
+
- "3.1"
|
|
29
|
+
- "3.2"
|
|
30
|
+
- "3.3"
|
|
31
|
+
- "3.4"
|
|
37
32
|
|
|
38
33
|
steps:
|
|
39
|
-
- uses: actions/checkout@
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
id: cache_gem
|
|
34
|
+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
35
|
+
|
|
36
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
43
37
|
with:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
restore-keys: |
|
|
47
|
-
v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
|
|
48
|
-
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
|
38
|
+
ruby-version: ${{ matrix.ruby }}
|
|
39
|
+
bundler-cache: true
|
|
49
40
|
|
|
50
|
-
-
|
|
51
|
-
run: |
|
|
52
|
-
set -xe
|
|
53
|
-
bundle config path vendor/bundle
|
|
54
|
-
bundle update --jobs $(nproc) --retry 3
|
|
55
|
-
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
|
41
|
+
- run: bundle update --jobs $(nproc) --retry 3
|
|
56
42
|
|
|
57
43
|
- name: Setup Code Climate Test Reporter
|
|
58
|
-
uses: aktions/codeclimate-test-reporter@v1
|
|
44
|
+
uses: aktions/codeclimate-test-reporter@7634aa9ac7883182f583f15ff7b6ff519939dd0a # v1.2.0
|
|
59
45
|
with:
|
|
60
46
|
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
61
47
|
command: before-build
|
|
62
|
-
if: matrix.ruby >= 'ruby:2.4'
|
|
63
48
|
continue-on-error: true
|
|
64
49
|
|
|
65
|
-
-
|
|
66
|
-
run: |
|
|
67
|
-
set -xe
|
|
68
|
-
bundle exec rspec
|
|
69
|
-
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
|
50
|
+
- run: bundle exec rspec
|
|
70
51
|
|
|
71
52
|
- name: Teardown Code Climate Test Reporter
|
|
72
|
-
uses: aktions/codeclimate-test-reporter@v1
|
|
53
|
+
uses: aktions/codeclimate-test-reporter@7634aa9ac7883182f583f15ff7b6ff519939dd0a # v1.2.0
|
|
73
54
|
with:
|
|
74
55
|
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
75
56
|
command: after-build
|
|
76
|
-
if:
|
|
57
|
+
if: always()
|
|
77
58
|
continue-on-error: true
|
|
78
59
|
|
|
79
60
|
- name: Slack Notification (not success)
|
|
80
|
-
uses:
|
|
61
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
81
62
|
if: "! success()"
|
|
82
63
|
continue-on-error: true
|
|
83
64
|
with:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
88
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
65
|
+
status: ${{ job.status }}
|
|
66
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
67
|
+
matrix: ${{ toJson(matrix) }}
|
|
89
68
|
|
|
90
69
|
notify:
|
|
91
70
|
needs:
|
|
@@ -95,12 +74,9 @@ jobs:
|
|
|
95
74
|
|
|
96
75
|
steps:
|
|
97
76
|
- name: Slack Notification (success)
|
|
98
|
-
uses:
|
|
77
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
99
78
|
if: always()
|
|
100
79
|
continue-on-error: true
|
|
101
80
|
with:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
icon_emoji: ":octocat:"
|
|
105
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
106
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
81
|
+
status: ${{ job.status }}
|
|
82
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
data/.yardopts
ADDED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
## Unreleased
|
|
2
|
-
[full changelog](http://github.com/sue445/faker-pretty_series/compare/v0.1.
|
|
2
|
+
[full changelog](http://github.com/sue445/faker-pretty_series/compare/v0.1.3...master)
|
|
3
|
+
|
|
4
|
+
## [v0.1.3](https://github.com/sue445/faker-pretty_series/releases/tag/v0.1.3)
|
|
5
|
+
[full changelog](http://github.com/sue445/faker-pretty_series/compare/v0.1.2...v0.1.3)
|
|
6
|
+
|
|
7
|
+
* Release gem from GitHub Actions
|
|
8
|
+
* https://github.com/sue445/faker-pretty_series/pull/30
|
|
3
9
|
|
|
4
10
|
## v0.1.2
|
|
5
11
|
[full changelog](http://github.com/sue445/faker-pretty_series/compare/v0.1.1...v0.1.2)
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Test data generator using [PrettySeries](https://en.wikipedia.org/wiki/Pretty_Rhythm)
|
|
3
3
|
|
|
4
4
|
[](https://badge.fury.io/rb/faker-pretty_series)
|
|
5
|
-
[](https://github.com/sue445/faker-pretty_series/actions/workflows/test.yml)
|
|
6
6
|
[](https://coveralls.io/github/sue445/faker-pretty_series?branch=master)
|
|
7
7
|
[](https://codeclimate.com/github/sue445/faker-pretty_series/maintainability)
|
|
8
8
|
|
data/faker-pretty_series.gemspec
CHANGED
|
@@ -15,6 +15,7 @@ Gem::Specification.new do |spec|
|
|
|
15
15
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
16
16
|
spec.metadata["source_code_uri"] = "https://github.com/sue445/faker-pretty_series"
|
|
17
17
|
spec.metadata["changelog_uri"] = "https://github.com/sue445/faker-pretty_series/blob/master/CHANGELOG.md"
|
|
18
|
+
spec.metadata["documentation_uri"] = "https://sue445.github.io/faker-pretty_series"
|
|
18
19
|
spec.metadata["rubygems_mfa_required"] = "true"
|
|
19
20
|
|
|
20
21
|
# Specify which files should be added to the gem when it is released.
|
|
@@ -25,4 +26,7 @@ Gem::Specification.new do |spec|
|
|
|
25
26
|
spec.bindir = "exe"
|
|
26
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
27
28
|
spec.require_paths = ["lib"]
|
|
29
|
+
|
|
30
|
+
spec.add_development_dependency "term-ansicolor", "!= 1.11.1" # ref. https://github.com/flori/term-ansicolor/issues/41
|
|
31
|
+
spec.add_development_dependency "yard"
|
|
28
32
|
end
|
metadata
CHANGED
|
@@ -1,15 +1,42 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: faker-pretty_series
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
-
dependencies:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: term-ansicolor
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "!="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: 1.11.1
|
|
19
|
+
type: :development
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "!="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: 1.11.1
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: yard
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
type: :development
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0'
|
|
13
40
|
description: Test data generator using PrettySeries
|
|
14
41
|
email:
|
|
15
42
|
- sue445@sue445.net
|
|
@@ -18,9 +45,13 @@ extensions: []
|
|
|
18
45
|
extra_rdoc_files: []
|
|
19
46
|
files:
|
|
20
47
|
- ".coveralls.yml"
|
|
48
|
+
- ".github/dependabot.yml"
|
|
49
|
+
- ".github/workflows/pages.yml"
|
|
50
|
+
- ".github/workflows/release_gem.yml"
|
|
21
51
|
- ".github/workflows/test.yml"
|
|
22
52
|
- ".gitignore"
|
|
23
53
|
- ".rspec"
|
|
54
|
+
- ".yardopts"
|
|
24
55
|
- CHANGELOG.md
|
|
25
56
|
- Gemfile
|
|
26
57
|
- LICENSE.txt
|
|
@@ -46,8 +77,8 @@ metadata:
|
|
|
46
77
|
homepage_uri: https://github.com/sue445/faker-pretty_series
|
|
47
78
|
source_code_uri: https://github.com/sue445/faker-pretty_series
|
|
48
79
|
changelog_uri: https://github.com/sue445/faker-pretty_series/blob/master/CHANGELOG.md
|
|
80
|
+
documentation_uri: https://sue445.github.io/faker-pretty_series
|
|
49
81
|
rubygems_mfa_required: 'true'
|
|
50
|
-
post_install_message:
|
|
51
82
|
rdoc_options: []
|
|
52
83
|
require_paths:
|
|
53
84
|
- lib
|
|
@@ -62,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
62
93
|
- !ruby/object:Gem::Version
|
|
63
94
|
version: '0'
|
|
64
95
|
requirements: []
|
|
65
|
-
rubygems_version: 3.
|
|
66
|
-
signing_key:
|
|
96
|
+
rubygems_version: 3.6.7
|
|
67
97
|
specification_version: 4
|
|
68
98
|
summary: Test data generator using PrettySeries
|
|
69
99
|
test_files: []
|