devil_fruit 0.1.0 → 0.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65e8460b443f7c8f365c26b3d254417a06d44429426bf1c767348d83727d6222
4
- data.tar.gz: 8e0f1667bd272e8af6635017f061a5ac04c94cf76f33d0253a7003667d2bbfe3
3
+ metadata.gz: c7360de3aea8046c8d526af6744821cc41efe3989a0e31baf94420cab7fe9d79
4
+ data.tar.gz: 5c4395bb3f8874f989163c3459732da26719f2d4d03bd3a2ab6f38160a808acf
5
5
  SHA512:
6
- metadata.gz: 2926169cb80e0b3741a28bab09b6ba8058391673f3b399651b7363734b190c848fdbd8a33a52fb15f7cb416d2664cccee675e3690aebaccd07430d8f0b43fda4
7
- data.tar.gz: 9d75f9863a7c7046b06974a1716b0ed3a954fefc999b2a3bd8c66692afee33309e6f686f7536637ab71965c72444c04130ea10b7ae7297559b4afa8531e8e791
6
+ metadata.gz: 40da1d90165c55f9c1bc35864efd6f202363546ad46bdb45ada9aa992172de71357b685df4170195691fde938b3420afec492e16a263e1390f70b899d2ada1a6
7
+ data.tar.gz: 4dfd72626e7067bafe43878c45853e1f9cd1a49e739f1edd9e025650df4e4e1aede25b4ec33a4b2f7096cb85790e4c0a4ff0005cb3777cb3ecfb7bd0f95f180c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.3.0] - 2025-10-25
4
+
5
+ - Version 0.3.0 release
6
+
7
+ ## [0.2.0] - 2023-08-11
8
+
9
+ - Version 0.2.0 release
10
+
3
11
  ## [0.1.0] - 2023-08-11
4
12
 
5
13
  - Initial release
data/README.md CHANGED
@@ -1,39 +1,54 @@
1
1
  # DevilFruit
2
-
3
- TODO: Delete this and the text below, and describe your gem
4
-
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/devil_fruit`. To experiment with that code, run `bin/console` for an interactive prompt.
2
+ Welcome to the DevilFruit gem! This gem allows you to generate random devil fruit names from the popular anime and manga series "One Piece". You can use this gem to add a fun and random element to your Ruby projects.
6
3
 
7
4
  ## Installation
8
-
9
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
-
11
- Install the gem and add to the application's Gemfile by executing:
12
-
13
- $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
14
-
15
- If bundler is not being used to manage dependencies, install the gem by executing:
16
-
17
- $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
5
+ Add this gem to your application's Gemfile:
6
+ ```
7
+ gem 'devil_fruit'
8
+ ```
9
+ And then execute:
10
+ ```
11
+ $ bundle install
12
+ ```
13
+ Or install it yourself with:
14
+ ```
15
+ $ gem install devil_fruit
16
+ ```
18
17
 
19
18
  ## Usage
19
+ To generate a random devil fruit name, you can use the following code:
20
+ ```
21
+ require 'devil_fruit'
20
22
 
21
- TODO: Write usage instructions here
23
+ random_fruit = DevilFruitGem::FormatDevilFruit.random_devil_fruit
22
24
 
23
- ## Development
24
-
25
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
25
+ puts "Random Devil Fruit: #{random_fruit}"
26
+ ```
26
27
 
27
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
+ ## Development
29
+ After cloning the repository, run the following command to set up dependencies:
30
+ ```
31
+ $ bin/setup
32
+ ```
33
+ You can also run an interactive console for experimentation:
34
+ ```
35
+ $ bin/console
36
+ ```
37
+ To install the gem on your local machine, run:
38
+ ```
39
+ $ bundle exec rake install
40
+ ```
41
+ To release a new version, update the version number in lib/devil_fruit/version.rb, commit your changes, and then run:
42
+ ```
43
+ $ bundle exec rake release
44
+ ```
45
+ This will create a git tag, push commits and the tag, and push the .gem file to rubygems.org.
28
46
 
29
47
  ## Contributing
30
-
31
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/devil_fruit. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/devil_fruit/blob/master/CODE_OF_CONDUCT.md).
48
+ Bug reports and pull requests are welcome on GitHub. This project is intended to be a safe and welcoming space for collaboration, and contributors are expected to follow the code of conduct.
32
49
 
33
50
  ## License
34
-
35
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
51
+ The gem is available as open source under the terms of the MIT License.
36
52
 
37
53
  ## Code of Conduct
38
-
39
- Everyone interacting in the DevilFruit project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/devil_fruit/blob/master/CODE_OF_CONDUCT.md).
54
+ Everyone interacting with the DevilFruit project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the code of conduct.
@@ -2,9 +2,176 @@ module DevilFruitGem
2
2
  module FormatDevilFruit
3
3
  def self.random_devil_fruit
4
4
  devil_fruits = [
5
+ # https://onepiece-akumanomi.com/itiran.html
6
+
7
+ # 東の海(イーストブルー)編
5
8
  "ゴムゴムの実",
6
- "モチモチの実",
7
9
  "バラバラの実",
10
+ "スベスベの実",
11
+ "モクモクの実",
12
+
13
+ # アラバスタ編
14
+ "キロキロの実",
15
+ "ボムボムの実",
16
+ "ハナハナの実",
17
+ "ドルドルの実",
18
+ "バクバクの実",
19
+ "ウシウシの実 モデル バイソン",
20
+ "ヒトヒトの実",
21
+ "スナスナの実",
22
+ "マネマネの実",
23
+ "メラメラの実",
24
+ "スパスパの実",
25
+ "トリトリの実 モデル ファルコン",
26
+ "モグモグの実",
27
+ "イヌイヌの実 モデル ダックスフンド",
28
+ "トゲトゲの実",
29
+ "イヌイヌの実 モデル ジャッカル",
30
+ "オリオリの実",
31
+
32
+ # 空島編
33
+ "バネバネの実",
34
+ "イトイトの実",
35
+ "ウマウマの実",
36
+ "ゴロゴロの実",
37
+
38
+ # ロングリングロングランド編
39
+ "ノロノロの実",
40
+ "ヒエヒエの実",
41
+
42
+ # ウォーターセブン編
43
+ "ドアドアの実",
44
+ "ネコネコの実 モデル レオパルド",
45
+ "イヌイヌの実 モデル ウルフ",
46
+ "ゾウゾウの実",
47
+ "ウシウシの実 モデル ジラフ",
48
+ "アワアワの実",
49
+ "ベリベリの実",
50
+ "サビサビの実",
51
+ "シャリシャリの実",
52
+ "ヤミヤミの実",
53
+
54
+ # スリラーバーク編
55
+ "ヨミヨミの実",
56
+ "ホロホロの実",
57
+ "スケスケの実",
58
+ "カゲカゲの実",
59
+ "ニキュニキュの実",
60
+
61
+ # 頂上戦争編
62
+ "ジキジキの実",
63
+ "オペオペの実",
64
+ "ピカピカの実",
65
+ "シロシロの実",
66
+ "ワラワラの実",
67
+ "リュウリュウの実 古代種 モデル アロサウルス",
68
+ "オトオトの実",
69
+ "メロメロの実",
70
+ "ヘビヘビの実 モデル アナコンダ",
71
+ "ヘビヘビの実 モデル キングコブラ",
72
+ "ドクドクの実",
73
+ "ホルホルの実",
74
+ "チョキチョキの実",
75
+ "グラグラの実",
76
+ "キラキラの実",
77
+ "トリトリの実 幻獣種 モデル フェニックス",
78
+ "マグマグの実",
79
+ "ポケポケの実",
80
+ "ウォシュウォシュの実",
81
+ "ヒトヒトの実 幻獣種 モデル 大仏",
82
+ "デカデカの実",
83
+
84
+ # 魚人島編
85
+ "ヌマヌマの実",
86
+ "マトマトの実",
87
+ "カメカメの実",
88
+
89
+ # パンクハザード編
90
+ "ガスガスの実",
91
+ "フクフクの実",
92
+ "サラサラの実 モデル アホロートル",
93
+ "ユキユキの実",
94
+ "ブキブキの実",
95
+ "グルグルの実",
96
+
97
+ # ドレスローザ編
98
+ "ズシズシの実",
99
+ "バリバリの実",
100
+ "ヌイヌイの実",
101
+ "ギロギロの実",
102
+ "アトアトの実",
103
+ "ジャケジャケの実",
104
+ "ムシムシの実 モデル カブトムシ",
105
+ "ムシムシの実 モデル スズメバチ",
106
+ "パムパムの実",
107
+ "ベタベタの実",
108
+ "ホビホビの実",
109
+ "スイスイの実",
110
+ "トントンの実",
111
+ "ヒラヒラの実",
112
+ "イシイシの実",
113
+ "フデフデの実",
114
+ "ナギナギの実",
115
+ "チユチユの実",
116
+ "ススススの実",
117
+
118
+ # ゾウ編
119
+ "ゾウゾウの実 古代種 モデル マンモス",
120
+
121
+ # ホールケーキアイランド編
122
+ "ソルソルの実",
123
+ "ミラミラの実",
124
+ "ペロペロの実",
125
+ "ビスビスの実",
126
+ "バタバタの実",
127
+ "ブクブクの実",
128
+ "クリクリの実",
129
+ "シボシボの実",
130
+ "タマタマの実",
131
+ "メモメモの実",
132
+ "トリトリの実 モデル アルバトロス",
133
+ "モチモチの実",
134
+ "ホヤホヤの実",
135
+ "ネツネツの実",
136
+ "ククククの実",
137
+ "ゴチャゴチャの実",
138
+
139
+ # 世界会議(レヴェリー)編
140
+ "オシオシの実",
141
+ "コブコブの実",
142
+
143
+ # ワノ国編
144
+ "キビキビの実",
145
+ "イヌイヌの実 モデル たぬき",
146
+ "トキトキの実",
147
+ "ウオウオの実 幻獣種 モデル 青龍",
148
+ "ジュクジュクの実",
149
+ "イヌイヌの実 幻獣種 モデル 九尾の狐",
150
+ "リュウリュウの実 古代種 モデル プテラノドン",
151
+ "ヘビヘビの実 幻獣種 モデル 八岐大蛇",
152
+ "リュウリュウの実 古代種 モデル スピノサウルス",
153
+ "ヒトヒトの実 幻獣種 モデル 大入道",
154
+ "リュウリュウの実 古代種 モデル ブラキオサウルス",
155
+ "リュウリュウの実 古代種 モデル パキケファロサウルス",
156
+ "マキマキの実",
157
+ "イヌイヌの実 幻獣種 モデル 大口真神",
158
+ "リュウリュウの実 古代種 モデル トリケラトプス",
159
+ "クモクモの実 古代種 モデル ロサミガレ・グラウボゲリィ",
160
+ "ネコネコの実 古代種 モデル サーベルタイガー",
161
+ "ヒトヒトの実 幻獣種 モデル ニカ",
162
+ "モリモリの実",
163
+
164
+ # 未来島(エッグヘッド)編
165
+ "シクシクの実",
166
+ "ワプワプの実",
167
+ "リキリキの実",
168
+ "ウマウマの実 幻獣種 モデル ペガサス",
169
+ "ノミノミの実",
170
+ "シマシマの実",
171
+ "ガブガブの実",
172
+ "ムチムチの実",
173
+ "グニョグニョの実",
174
+ "ノリノリの実",
8
175
  ]
9
176
  devil_fruits.sample
10
177
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DevilFruit
4
- VERSION = "0.1.0"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devil_fruit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Okuma Ryoya
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2023-08-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: A Ruby Gem that provides a simple method to return a randomly selected
14
13
  Devil Fruit name. It's useful for adding fun and flavor to your applications.
@@ -398,7 +397,6 @@ metadata:
398
397
  homepage_uri: https://github.com/kumaryoya/devil_fruit
399
398
  source_code_uri: https://github.com/kumaryoya/devil_fruit
400
399
  changelog_uri: https://github.com/kumaryoya/devil_fruit/blob/main/CHANGELOG.md
401
- post_install_message:
402
400
  rdoc_options: []
403
401
  require_paths:
404
402
  - lib
@@ -413,8 +411,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
413
411
  - !ruby/object:Gem::Version
414
412
  version: '0'
415
413
  requirements: []
416
- rubygems_version: 3.4.15
417
- signing_key:
414
+ rubygems_version: 3.7.1
418
415
  specification_version: 4
419
416
  summary: A Gem that returns a random Devil Fruit
420
417
  test_files: []