devil_fruit 0.1.0 → 0.2.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 +4 -4
- data/README.md +39 -25
- data/lib/devil_fruit/format_devil_fruit.rb +125 -1
- data/lib/devil_fruit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 375ac53d89e6cc636567a317f73b34eb5489b75d196cad61776d7875a5f373e8
|
|
4
|
+
data.tar.gz: c6c37988b0c9fe9a259b53472dd6498b2e8809ad1305f39c6b0248af5d4caa66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d817df62a0f1b7bf2b39a1136cdd092f038400d7fbecba7c697f5013209ca9b5cbe898bb0481f4276e5ca47ff7aea88dcc24bab33c7bf61ec9eab962ba0ae9d
|
|
7
|
+
data.tar.gz: f6edec7c32e4a77a07ac4b6f50df2ca090cbec5aac16180d0f161d16f34c494030cf159e17874f4c1137d45cb065d786142c6a4baa0f2827cb30775d33e16a84
|
data/README.md
CHANGED
|
@@ -1,39 +1,53 @@
|
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
23
|
+
random_fruit = DevilFruit.random_devil_fruit
|
|
24
|
+
puts "Random Devil Fruit: #{random_fruit}"
|
|
25
|
+
```
|
|
22
26
|
|
|
23
27
|
## Development
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
After cloning the repository, run the following command to set up dependencies:
|
|
29
|
+
```
|
|
30
|
+
$ bin/setup
|
|
31
|
+
```
|
|
32
|
+
You can also run an interactive console for experimentation:
|
|
33
|
+
```
|
|
34
|
+
$ bin/console
|
|
35
|
+
```
|
|
36
|
+
To install the gem on your local machine, run:
|
|
37
|
+
```
|
|
38
|
+
$ bundle exec rake install
|
|
39
|
+
```
|
|
40
|
+
To release a new version, update the version number in lib/devil_fruit/version.rb, commit your changes, and then run:
|
|
41
|
+
```
|
|
42
|
+
$ bundle exec rake release
|
|
43
|
+
```
|
|
44
|
+
This will create a git tag, push commits and the tag, and push the .gem file to rubygems.org.
|
|
28
45
|
|
|
29
46
|
## 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).
|
|
47
|
+
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
48
|
|
|
33
49
|
## License
|
|
34
|
-
|
|
35
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
50
|
+
The gem is available as open source under the terms of the MIT License.
|
|
36
51
|
|
|
37
52
|
## 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).
|
|
53
|
+
Everyone interacting with the DevilFruit project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the code of conduct.
|
|
@@ -3,8 +3,132 @@ module DevilFruitGem
|
|
|
3
3
|
def self.random_devil_fruit
|
|
4
4
|
devil_fruits = [
|
|
5
5
|
"ゴムゴムの実",
|
|
6
|
-
"モチモチの実",
|
|
7
6
|
"バラバラの実",
|
|
7
|
+
"スベスベの実",
|
|
8
|
+
"モクモクの実",
|
|
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
|
+
"モリモリの実",
|
|
8
132
|
]
|
|
9
133
|
devil_fruits.sample
|
|
10
134
|
end
|
data/lib/devil_fruit/version.rb
CHANGED