faker-pretty_series 0.1.2 → 0.1.5
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 +20 -0
- data/.github/release.yml +31 -0
- data/.github/workflows/dependabot-manager.yml +28 -0
- data/.github/workflows/pages.yml +18 -0
- data/.github/workflows/release_gem.yml +14 -0
- data/.github/workflows/test.yml +53 -60
- data/.yardopts +2 -0
- data/CHANGELOG.md +19 -1
- data/Gemfile +6 -0
- data/README.md +2 -2
- data/faker-pretty_series.gemspec +4 -0
- data/lib/faker/pretty_series/version.rb +1 -1
- metadata +39 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a75d571f894260d292288861d08e321e836a8934a99cea9f1d70fe87d974e37
|
|
4
|
+
data.tar.gz: 7aaeb4bba68d8f072b5574d3325817a10df4521e144c52352fbc74ed26f0265b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 583df6fa5143a3ec91af4a38c4b4eef18f1dd2b5aeedc8fb6cd1e7a517293c5cf9689935577c5e6bafeb3af822a2f6c871a06e85bf1d19b9640440c2497e4870
|
|
7
|
+
data.tar.gz: 20c3c95800c81c92911474285df276e1c14888ab56da870cf84d7c601b73008a241b0cffa98b0d16a7b07dbeb23ef51bed6668acb7968712dd4e6c92199f6d86
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
###########################################################
|
|
6
|
+
# NOTE: following sections are auto generated. DO NOT EDIT!
|
|
7
|
+
###########################################################
|
|
8
|
+
- package-ecosystem: github-actions
|
|
9
|
+
directory: /
|
|
10
|
+
schedule:
|
|
11
|
+
interval: monthly
|
|
12
|
+
time: "05:00"
|
|
13
|
+
timezone: Asia/Tokyo
|
|
14
|
+
assignees:
|
|
15
|
+
- sue445
|
|
16
|
+
cooldown:
|
|
17
|
+
default-days: 7
|
|
18
|
+
exclude:
|
|
19
|
+
- ruby/setup-ruby
|
|
20
|
+
###########################################################
|
data/.github/release.yml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# ref. https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes
|
|
2
|
+
|
|
3
|
+
changelog:
|
|
4
|
+
exclude:
|
|
5
|
+
labels:
|
|
6
|
+
- chore
|
|
7
|
+
|
|
8
|
+
categories:
|
|
9
|
+
- title: ":bomb: Breaking Changes"
|
|
10
|
+
labels:
|
|
11
|
+
- breaking change
|
|
12
|
+
|
|
13
|
+
- title: ":lock: Security Fix"
|
|
14
|
+
labels:
|
|
15
|
+
- security
|
|
16
|
+
|
|
17
|
+
- title: ":rocket: Features"
|
|
18
|
+
labels:
|
|
19
|
+
- enhancement
|
|
20
|
+
|
|
21
|
+
- title: ":bug: Bug Fixes"
|
|
22
|
+
labels:
|
|
23
|
+
- bug
|
|
24
|
+
|
|
25
|
+
- title: ":dependabot: Dependency updates"
|
|
26
|
+
labels:
|
|
27
|
+
- dependencies
|
|
28
|
+
|
|
29
|
+
- title: ":pencil: Other Changes"
|
|
30
|
+
labels:
|
|
31
|
+
- "*"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: dependabot-manager
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types:
|
|
6
|
+
- opened
|
|
7
|
+
- synchronize # PR branch is rebased
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
dependabot-auto-merge:
|
|
11
|
+
uses: sue445/workflows/.github/workflows/dependabot-auto-merge.yml@main
|
|
12
|
+
with:
|
|
13
|
+
repo-name: sue445/faker-pretty_series
|
|
14
|
+
secrets:
|
|
15
|
+
# TODO: Set secrets to Dependabot secrets
|
|
16
|
+
app-id: ${{ secrets.GH_APP_ID }}
|
|
17
|
+
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
|
18
|
+
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
|
|
19
|
+
|
|
20
|
+
dependabot-security-alert:
|
|
21
|
+
uses: sue445/workflows/.github/workflows/dependabot-security-alert.yml@main
|
|
22
|
+
with:
|
|
23
|
+
repo-name: sue445/faker-pretty_series
|
|
24
|
+
secrets:
|
|
25
|
+
# TODO: Set secrets to Dependabot secrets
|
|
26
|
+
app-id: ${{ secrets.GH_APP_ID }}
|
|
27
|
+
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
|
|
28
|
+
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: Deploy yard to Pages
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
pages: write
|
|
12
|
+
id-token: write
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
deploy:
|
|
16
|
+
uses: sue445/workflows/.github/workflows/pages-yard.yml@main
|
|
17
|
+
secrets:
|
|
18
|
+
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
name: Publish gem to rubygems.org
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
release:
|
|
8
|
+
uses: sue445/workflows/.github/workflows/release_gem.yml@main
|
|
9
|
+
with:
|
|
10
|
+
repo-name: sue445/faker-pretty_series
|
|
11
|
+
gem-name: faker-pretty_series
|
|
12
|
+
permissions:
|
|
13
|
+
contents: write
|
|
14
|
+
id-token: write
|
data/.github/workflows/test.yml
CHANGED
|
@@ -12,95 +12,88 @@ 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"
|
|
32
|
+
- "4.0"
|
|
37
33
|
|
|
38
34
|
steps:
|
|
39
|
-
- uses: actions/checkout@
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
id: cache_gem
|
|
35
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
36
|
+
|
|
37
|
+
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
43
38
|
with:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
39
|
+
ruby-version: ${{ matrix.ruby }}
|
|
40
|
+
bundler-cache: true
|
|
41
|
+
|
|
42
|
+
- run: bundle update --all --jobs $(nproc) --retry 3
|
|
43
|
+
|
|
44
|
+
- run: bundle exec rspec
|
|
45
|
+
|
|
46
|
+
- name: Slack Notification (not success)
|
|
47
|
+
uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
|
|
48
|
+
if: "! success()"
|
|
49
|
+
continue-on-error: true
|
|
50
|
+
with:
|
|
51
|
+
status: ${{ job.status }}
|
|
52
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
53
|
+
matrix: ${{ toJson(matrix) }}
|
|
54
|
+
|
|
55
|
+
yard:
|
|
56
|
+
runs-on: ubuntu-latest
|
|
57
|
+
|
|
58
|
+
steps:
|
|
59
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
60
|
+
|
|
61
|
+
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
62
|
+
with:
|
|
63
|
+
ruby-version: ruby
|
|
64
|
+
bundler-cache: true
|
|
49
65
|
|
|
50
66
|
- name: bundle update
|
|
51
67
|
run: |
|
|
52
68
|
set -xe
|
|
53
69
|
bundle config path vendor/bundle
|
|
54
|
-
bundle update --jobs $(nproc) --retry 3
|
|
55
|
-
continue-on-error: ${{ matrix.allow_failures == 'true' }}
|
|
56
|
-
|
|
57
|
-
- name: Setup Code Climate Test Reporter
|
|
58
|
-
uses: aktions/codeclimate-test-reporter@v1
|
|
59
|
-
with:
|
|
60
|
-
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
61
|
-
command: before-build
|
|
62
|
-
if: matrix.ruby >= 'ruby:2.4'
|
|
63
|
-
continue-on-error: true
|
|
70
|
+
bundle update --all --jobs $(nproc) --retry 3
|
|
64
71
|
|
|
65
|
-
- name:
|
|
72
|
+
- name: yard generating test
|
|
66
73
|
run: |
|
|
67
74
|
set -xe
|
|
68
|
-
bundle exec
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
- name: Teardown Code Climate Test Reporter
|
|
72
|
-
uses: aktions/codeclimate-test-reporter@v1
|
|
73
|
-
with:
|
|
74
|
-
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
75
|
-
command: after-build
|
|
76
|
-
if: matrix.ruby >= 'ruby:2.4' && always()
|
|
77
|
-
continue-on-error: true
|
|
75
|
+
bundle exec yard
|
|
76
|
+
ls -ld doc/
|
|
78
77
|
|
|
79
78
|
- name: Slack Notification (not success)
|
|
80
|
-
uses:
|
|
79
|
+
uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
|
|
81
80
|
if: "! success()"
|
|
82
81
|
continue-on-error: true
|
|
83
82
|
with:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
83
|
+
status: ${{ job.status }}
|
|
84
|
+
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
|
|
85
|
+
|
|
86
|
+
all-pass:
|
|
87
|
+
if: always()
|
|
89
88
|
|
|
90
|
-
notify:
|
|
91
89
|
needs:
|
|
92
90
|
- test
|
|
91
|
+
- yard
|
|
93
92
|
|
|
94
|
-
runs-on: ubuntu-
|
|
93
|
+
runs-on: ubuntu-slim
|
|
95
94
|
|
|
96
95
|
steps:
|
|
97
|
-
- name:
|
|
98
|
-
uses:
|
|
99
|
-
if: always()
|
|
100
|
-
continue-on-error: true
|
|
96
|
+
- name: check dependent jobs
|
|
97
|
+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
|
|
101
98
|
with:
|
|
102
|
-
|
|
103
|
-
type: ${{ job.status }}
|
|
104
|
-
icon_emoji: ":octocat:"
|
|
105
|
-
url: ${{ secrets.SLACK_WEBHOOK }}
|
|
106
|
-
token: ${{ secrets.GITHUB_TOKEN }}
|
|
99
|
+
jobs: ${{ toJSON(needs) }}
|
data/.yardopts
ADDED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
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.5...master)
|
|
3
|
+
|
|
4
|
+
## [v0.1.5](https://github.com/sue445/faker-pretty_series/releases/tag/v0.1.4)
|
|
5
|
+
[full changelog](http://github.com/sue445/faker-pretty_series/compare/v0.1.4...v0.1.5)
|
|
6
|
+
|
|
7
|
+
* Fix error in gem releasing
|
|
8
|
+
* https://github.com/sue445/faker-pretty_series/pull/69
|
|
9
|
+
|
|
10
|
+
## [v0.1.4](https://github.com/sue445/faker-pretty_series/releases/tag/v0.1.4)
|
|
11
|
+
[full changelog](http://github.com/sue445/faker-pretty_series/compare/v0.1.3...v0.1.4)
|
|
12
|
+
|
|
13
|
+
* Migrate release_gem workflow to sue445/workflows (Also testing the gem release)
|
|
14
|
+
* https://github.com/sue445/faker-pretty_series/pull/68
|
|
15
|
+
|
|
16
|
+
## [v0.1.3](https://github.com/sue445/faker-pretty_series/releases/tag/v0.1.3)
|
|
17
|
+
[full changelog](http://github.com/sue445/faker-pretty_series/compare/v0.1.2...v0.1.3)
|
|
18
|
+
|
|
19
|
+
* Release gem from GitHub Actions
|
|
20
|
+
* https://github.com/sue445/faker-pretty_series/pull/30
|
|
3
21
|
|
|
4
22
|
## v0.1.2
|
|
5
23
|
[full changelog](http://github.com/sue445/faker-pretty_series/compare/v0.1.1...v0.1.2)
|
data/Gemfile
CHANGED
|
@@ -4,6 +4,7 @@ source "https://rubygems.org"
|
|
|
4
4
|
gemspec
|
|
5
5
|
|
|
6
6
|
gem "coveralls"
|
|
7
|
+
gem "ostruct"
|
|
7
8
|
gem "prismdb"
|
|
8
9
|
gem "rake", "~> 12.0"
|
|
9
10
|
gem "rspec", "~> 3.0"
|
|
@@ -12,3 +13,8 @@ gem "rspec", "~> 3.0"
|
|
|
12
13
|
# Stop upgrading SimpleCov until the following issue will be resolved.
|
|
13
14
|
# https://github.com/codeclimate/test-reporter/issues/418
|
|
14
15
|
gem "simplecov", "~> 0.10", "< 0.18"
|
|
16
|
+
|
|
17
|
+
if Gem::Version.create(RUBY_VERSION) >= Gem::Version.create("4.0.0")
|
|
18
|
+
# rdoc is bundled gem since ruby 4.0
|
|
19
|
+
gem "rdoc"
|
|
20
|
+
end
|
data/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
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
|
-
[](https://qlty.sh/gh/sue445/projects/faker-pretty_series)
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
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.5
|
|
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,15 @@ extensions: []
|
|
|
18
45
|
extra_rdoc_files: []
|
|
19
46
|
files:
|
|
20
47
|
- ".coveralls.yml"
|
|
48
|
+
- ".github/dependabot.yml"
|
|
49
|
+
- ".github/release.yml"
|
|
50
|
+
- ".github/workflows/dependabot-manager.yml"
|
|
51
|
+
- ".github/workflows/pages.yml"
|
|
52
|
+
- ".github/workflows/release_gem.yml"
|
|
21
53
|
- ".github/workflows/test.yml"
|
|
22
54
|
- ".gitignore"
|
|
23
55
|
- ".rspec"
|
|
56
|
+
- ".yardopts"
|
|
24
57
|
- CHANGELOG.md
|
|
25
58
|
- Gemfile
|
|
26
59
|
- LICENSE.txt
|
|
@@ -46,8 +79,8 @@ metadata:
|
|
|
46
79
|
homepage_uri: https://github.com/sue445/faker-pretty_series
|
|
47
80
|
source_code_uri: https://github.com/sue445/faker-pretty_series
|
|
48
81
|
changelog_uri: https://github.com/sue445/faker-pretty_series/blob/master/CHANGELOG.md
|
|
82
|
+
documentation_uri: https://sue445.github.io/faker-pretty_series
|
|
49
83
|
rubygems_mfa_required: 'true'
|
|
50
|
-
post_install_message:
|
|
51
84
|
rdoc_options: []
|
|
52
85
|
require_paths:
|
|
53
86
|
- lib
|
|
@@ -62,8 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
62
95
|
- !ruby/object:Gem::Version
|
|
63
96
|
version: '0'
|
|
64
97
|
requirements: []
|
|
65
|
-
rubygems_version:
|
|
66
|
-
signing_key:
|
|
98
|
+
rubygems_version: 4.0.16
|
|
67
99
|
specification_version: 4
|
|
68
100
|
summary: Test data generator using PrettySeries
|
|
69
101
|
test_files: []
|