teihitsu_training_cli 0.1.2 → 0.1.3
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/Gemfile.lock +1 -1
- data/README.md +2 -1
- data/lib/teihitsu_training_cli/version.rb +1 -1
- data/lib/teihitsu_training_cli.rb +2 -2
- 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: 1a6c0cce2f291f24a6f5b9552cc21b86e7203fea025dc516040f4a190a14effd
|
4
|
+
data.tar.gz: 1e3fef1bc69e7a1da86025b464615db8eed527abf44705491c2eca52c4bf57b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fe4e221b0a3113d940b07dbb1e0e001fb030db7119d56797b9be6fe3f31bcd0b84df5652ee9dd9ba66aa238ef71892b01880797cbeed662cb1c1fe0def1cec2
|
7
|
+
data.tar.gz: 241cc537c33962ad11e3d9d08f454f2d5669fbf181b7c9ec22714b5157385a0072faf5bcd1d75f6b22be024cf593f93ff26bc11106dc6b1bb69bd32b10738324
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# Teihitsu Training CLI
|
2
2
|
|
3
|
+
[](https://badge.fury.io/rb/teihitsu_training_cli)
|
3
4
|
[](https://github.com/yudukikun5120/teihitsu_training_cli/actions/workflows/main.yml)
|
4
5
|
|
5
6
|
Teihitsu Training CLI is a simple quiz application based on CLI. It enables us to solve a huge amount of [Kanji Teihitsu][kanjiteihitsu-homepage] questions in numerical order rather than randomly.
|
@@ -54,7 +54,7 @@ class Trng < Thor
|
|
54
54
|
|
55
55
|
RESULT
|
56
56
|
|
57
|
-
File.open("result.txt", "a") do |io|
|
57
|
+
File.open("lib/result.txt", "a") do |io|
|
58
58
|
io.write(result)
|
59
59
|
end
|
60
60
|
end
|
@@ -66,7 +66,7 @@ class Trng < Thor
|
|
66
66
|
|
67
67
|
start = options[:start] ? (options[:start].to_i - 1) : 0
|
68
68
|
|
69
|
-
items = CSV.read("problems/onyomi.csv")[start..]
|
69
|
+
items = CSV.read("lib/problems/onyomi.csv")[start..]
|
70
70
|
|
71
71
|
items.each do |i|
|
72
72
|
item = Item.new(i)
|