matsuya 0.0.1 → 0.0.2
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 +34 -5
- data/lib/matsuya/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86969b2f2a4fbe42d02f238483e2fe21e1cca6c7
|
4
|
+
data.tar.gz: dcac3268d36385fe744fc224d228fdec047f2f33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c71aaed78d66fd6c833369da3ee4caffb802dc0852b70d648bebb55b8a0d5d55738bf53db0ac26e441c9ea6baf0328b9203f6631bd1a756a94f31a525274687
|
7
|
+
data.tar.gz: c5de2426dc213f518bb366972eebe78b1a8ad7b823345461fc930fe40087779096f0351e05800fc07b1d73208d9ba2bfa8abe3107ea09b06b3e92ba7738f7094
|
data/README.md
CHANGED
@@ -1,26 +1,55 @@
|
|
1
1
|
# Matsuya
|
2
2
|
|
3
|
-
|
3
|
+
既存の松屋のメニューを参考にして、ありそうなメニューを適当に作ります。たまに実在するメニューも出てきます。
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
7
|
+
bundle
|
8
8
|
|
9
9
|
```ruby
|
10
10
|
gem 'matsuya'
|
11
11
|
```
|
12
12
|
|
13
|
-
|
13
|
+
こうじゃ
|
14
14
|
|
15
15
|
$ bundle
|
16
16
|
|
17
|
-
|
17
|
+
こっちでもいいかな
|
18
18
|
|
19
19
|
$ gem install matsuya
|
20
20
|
|
21
21
|
## Usage
|
22
|
+
### シェルから使う
|
23
|
+
`gem install`した場合は、以下のようなコマンドを入力するとなにか出てきます。
|
24
|
+
```
|
25
|
+
% bundle exec matsuya
|
26
|
+
牛めし
|
27
|
+
% bundle exec matsuya
|
28
|
+
牛めし
|
29
|
+
% bundle exec matsuya
|
30
|
+
めし
|
31
|
+
% bundle exec matsuya
|
32
|
+
プレミアムカルビキムカル丼
|
33
|
+
%
|
34
|
+
```
|
35
|
+
キツい
|
22
36
|
|
23
|
-
|
37
|
+
### ライブラリとして
|
38
|
+
```ruby
|
39
|
+
require 'matsuya'
|
40
|
+
|
41
|
+
puts Matsuya.order
|
42
|
+
puts Matsuya.order(0)
|
43
|
+
puts Matsuya.order(0.8)
|
44
|
+
```
|
45
|
+
|
46
|
+
output:
|
47
|
+
|
48
|
+
```
|
49
|
+
キムチチゲ膳(プレミアム牛肉使用)
|
50
|
+
プレミアム旨辛ネギ塩豚バラ生姜焼定食
|
51
|
+
シャンピニオンソース豆腐カレー
|
52
|
+
```
|
24
53
|
|
25
54
|
## Contributing
|
26
55
|
|
data/lib/matsuya/version.rb
CHANGED