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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a75378e192af6d720815d27a1b385493f7476ae0a87da7808c826f4ee5183dc2
4
- data.tar.gz: 44099ec4adb8d0820979588663dba46112c119a1367ce5509a5db8331ffa09cd
3
+ metadata.gz: 1a6c0cce2f291f24a6f5b9552cc21b86e7203fea025dc516040f4a190a14effd
4
+ data.tar.gz: 1e3fef1bc69e7a1da86025b464615db8eed527abf44705491c2eca52c4bf57b1
5
5
  SHA512:
6
- metadata.gz: 89dabc85a4c1286ad265c1d0ac1d31253bb9866cea69f4710511e0518a7c7daf18a7d2dc9fc0cdbc930efbcae7a0d12bfb0440fa75ced61e5c643ae3287e31c0
7
- data.tar.gz: ffada70d2420ca88dfe82d7fe4ab799c9ccd546a524fef132484e42ee3103a464b429b7b454e4b8dae09508cec7b2d575df2b1209a1f16fbfa3b25a8d32a3cc7
6
+ metadata.gz: 7fe4e221b0a3113d940b07dbb1e0e001fb030db7119d56797b9be6fe3f31bcd0b84df5652ee9dd9ba66aa238ef71892b01880797cbeed662cb1c1fe0def1cec2
7
+ data.tar.gz: 241cc537c33962ad11e3d9d08f454f2d5669fbf181b7c9ec22714b5157385a0072faf5bcd1d75f6b22be024cf593f93ff26bc11106dc6b1bb69bd32b10738324
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- teihitsu_training_cli (0.1.2)
4
+ teihitsu_training_cli (0.1.3)
5
5
  thor (~> 1.2, >= 1.2.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
- # TeihitsuTrainingCli
1
+ # Teihitsu Training CLI
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/teihitsu_training_cli.svg)](https://badge.fury.io/rb/teihitsu_training_cli)
3
4
  [![Ruby](https://github.com/yudukikun5120/teihitsu_training_cli/actions/workflows/main.yml/badge.svg)](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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TeihitsuTrainingCli
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
@@ -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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teihitsu_training_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuzuki Arai