takarabako 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1bc504b71f38af1ebea21c5af9d73cbd44099921
4
- data.tar.gz: efe4a855b2be1bde1434806ae0d41a416b7f9a24
2
+ SHA256:
3
+ metadata.gz: 02645e52ae375bf732fe280660b84f2d19bca2b2fe271dc0576907377e9d7ea0
4
+ data.tar.gz: ebf6566d8e28c4ea758079152e1e413cb0491f376842a5dae45d65061db56b7a
5
5
  SHA512:
6
- metadata.gz: 7c7692da26622dcd6523f93b0c41c8049cf7b64d96884f7955db6fe02bdf891a328f3a735653b0ab98d76a6206f06ac4e6cc95e5cb3c432c65adcc56679e2c71
7
- data.tar.gz: aefe3692f450f0d8fc410caf5eed1086f27b85f406796e45b8ac127b60fa92d7edc99e6ab7969dd0ef4c1e867a7de8c63d7b29cf16a91e8ea7c19e758a3f5216
6
+ metadata.gz: e74e67d20116bb5a1973a604e86da51cd128c800c74e3fc1a08e32eab2d7bc5abac597c91b7fbadce7f2efed279bcc3f9adfcf41a137a1f731b3dc8decf732c5
7
+ data.tar.gz: 45ff8d4ea7cbc4949a4c55fb0e8e80ee5149c2e8ec7f5f88147310f4c9a057327727ba386121738b8c13b172ff9b76bd2696d759a08dcb22fd014ad7f7df77c1
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "weekly"
@@ -0,0 +1,41 @@
1
+ name: test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ types:
9
+ - opened
10
+ - synchronize
11
+ - reopened
12
+
13
+ jobs:
14
+ test:
15
+ runs-on: ubuntu-latest
16
+
17
+ container: ${{ matrix.ruby }}
18
+
19
+ strategy:
20
+ fail-fast: false
21
+
22
+ matrix:
23
+ ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', 'head']
24
+ include:
25
+ - ruby-version: 'head'
26
+ allow_failures: 'true'
27
+
28
+ steps:
29
+ - uses: actions/checkout@v4
30
+ - name: Set up Ruby
31
+ uses: ruby/setup-ruby@v1
32
+ with:
33
+ ruby-version: ${{ matrix.ruby-version }}
34
+ bundler-cache: true
35
+
36
+ - name: Run test
37
+ run: |
38
+ set -xe
39
+ bundle exec rake
40
+ continue-on-error: ${{ matrix.allow_failures == 'true' }}
41
+
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.1.1
2
+
3
+ * グンマーなどの名前データを追加
4
+
1
5
  # 0.1.0
2
6
 
3
7
  * 和名と洋名を二つのファイルに分割
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  [![Build Status](https://travis-ci.org/willnet/takarabako.png)](https://travis-ci.org/willnet/takarabako)
4
4
  [![Gem Version](https://badge.fury.io/rb/takarabako.png)](http://badge.fury.io/rb/takarabako)
5
- [![endorse](https://api.coderwall.com/willnet/endorsecount.png)](https://coderwall.com/willnet)
6
5
 
7
6
  ランダムにアイテム名を返すツールです。ゲームを作る際のテストなどに使えます。
8
7
 
@@ -17,6 +16,31 @@ Takarabako.open #=> "ルシフェルレイピア"
17
16
 
18
17
  出力される名前の候補となるデータは `lib/data/names.ja.yml` と `lib/data/names.en.yml` にあるので、必要であればファイルを修正してください。
19
18
 
19
+ ### takarabakoコマンド
20
+
21
+ takarabakoをインストールすると
22
+
23
+ `takarabako` コマンドが使えるようになります。
24
+
25
+ ```
26
+ > takarabako
27
+ 雷神の剣
28
+ > takarabako
29
+ 賢者の鎧
30
+ ```
31
+ ## Supported versions
32
+
33
+ - 2.3.x
34
+ - 2.4.x
35
+ - 2.5.x
36
+ - 2.6.x
37
+ - 2.7.x
38
+ - 3.0.x
39
+ - 3.1.x
40
+ - 3.2.x
41
+ - 3.3.x
42
+
43
+
20
44
  ## Installation
21
45
 
22
46
  Add this line to your application's Gemfile:
@@ -44,6 +44,7 @@ head:
44
44
  - 'オーバーロード'
45
45
  - 'インフィニティ'
46
46
  - 'アルテマ'
47
+ - 'グンマー'
47
48
  tail:
48
49
  - 'ソード'
49
50
  - 'ランス'
@@ -4,6 +4,13 @@ head:
4
4
  - '黒の'
5
5
  - '異世界の王の'
6
6
  - '賢者の'
7
+ - '破邪の'
8
+ - '群馬の'
9
+ - '死神の'
10
+ - '終わりとハジマリの'
11
+ - '死せる英雄の'
12
+ - '星屑の'
13
+ - '神々が愛した'
7
14
  tail:
8
15
  - '杖'
9
16
  - 'つるぎ'
@@ -12,3 +19,6 @@ tail:
12
19
  - '靴'
13
20
  - '鎧'
14
21
  - '法衣'
22
+ - '首飾り'
23
+ - '魂'
24
+ - '鎮魂歌'
@@ -1,3 +1,3 @@
1
1
  class Takarabako
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
data/takarabako.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Takarabako::VERSION
9
9
  spec.authors = ["willnet"]
10
10
  spec.email = ["netwillnet@gmail.com"]
11
- spec.description = %q{random Japanese name generator}
12
- spec.summary = %q{random Japanese item name generator}
11
+ spec.description = %q{random Japanese name of game item generator}
12
+ spec.summary = %q{random Japanese name of game item generator}
13
13
  spec.homepage = "https://github.com/willnet/takarabako"
14
14
  spec.license = "MIT"
15
15
 
@@ -18,7 +18,6 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.3"
22
21
  spec.add_development_dependency "rake"
23
22
  spec.add_development_dependency "rspec"
24
23
  end
metadata CHANGED
@@ -1,58 +1,44 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: takarabako
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - willnet
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-05 00:00:00.000000000 Z
11
+ date: 2024-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: '1.3'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ~>
25
- - !ruby/object:Gem::Version
26
- version: '1.3'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: rake
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
- - - '>='
17
+ - - ">="
32
18
  - !ruby/object:Gem::Version
33
19
  version: '0'
34
20
  type: :development
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
- - - '>='
24
+ - - ">="
39
25
  - !ruby/object:Gem::Version
40
26
  version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rspec
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - '>='
31
+ - - ">="
46
32
  - !ruby/object:Gem::Version
47
33
  version: '0'
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - '>='
38
+ - - ">="
53
39
  - !ruby/object:Gem::Version
54
40
  version: '0'
55
- description: random Japanese name generator
41
+ description: random Japanese name of game item generator
56
42
  email:
57
43
  - netwillnet@gmail.com
58
44
  executables:
@@ -60,7 +46,9 @@ executables:
60
46
  extensions: []
61
47
  extra_rdoc_files: []
62
48
  files:
63
- - .gitignore
49
+ - ".github/dependabot.yml"
50
+ - ".github/workflows/test.yml"
51
+ - ".gitignore"
64
52
  - CHANGELOG.md
65
53
  - Gemfile
66
54
  - LICENSE.txt
@@ -78,26 +66,25 @@ homepage: https://github.com/willnet/takarabako
78
66
  licenses:
79
67
  - MIT
80
68
  metadata: {}
81
- post_install_message:
69
+ post_install_message:
82
70
  rdoc_options: []
83
71
  require_paths:
84
72
  - lib
85
73
  required_ruby_version: !ruby/object:Gem::Requirement
86
74
  requirements:
87
- - - '>='
75
+ - - ">="
88
76
  - !ruby/object:Gem::Version
89
77
  version: '0'
90
78
  required_rubygems_version: !ruby/object:Gem::Requirement
91
79
  requirements:
92
- - - '>='
80
+ - - ">="
93
81
  - !ruby/object:Gem::Version
94
82
  version: '0'
95
83
  requirements: []
96
- rubyforge_project:
97
- rubygems_version: 2.0.3
98
- signing_key:
84
+ rubygems_version: 3.4.20
85
+ signing_key:
99
86
  specification_version: 4
100
- summary: random Japanese item name generator
87
+ summary: random Japanese name of game item generator
101
88
  test_files:
102
89
  - spec/spec_helper.rb
103
90
  - spec/takarabako_spec.rb