kita 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/kita/config.rb +2 -3
- data/lib/kita/version.rb +1 -1
- data/snap/snapcraft.yaml +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: b9e7f22a31060b902c7465e9b08bacbf7e96429874ae74b09a1d6c366adb7317
|
4
|
+
data.tar.gz: e4da599c288327a9bfb679364a3da37d7fa3ef8757d607676b9c93762753a11d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dbd3a1e70660d03c275a9f3aebc698c2ea633a11e080b12251413e6fa083520c8f1ac75dea9a640cc694964832c054091159e2ba3f4cc2b730e381eb52b7369
|
7
|
+
data.tar.gz: ba2a0ad939dbd0f09b2716af9047700d79a49824c9f1d45b7adf60273ab164692787d5707bfb4816de3a8657817642a27745794af278ffd994af12c729d1104f
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
9
9
|
|
10
10
|
### Changed
|
11
11
|
|
12
|
+
## 2020-06-08
|
13
|
+
### Changed
|
14
|
+
- Default settings now have sound on as was originally intended
|
15
|
+
- Sound works in the snap package of the app
|
16
|
+
|
12
17
|
## 2020-06-05
|
13
18
|
### Changed
|
14
19
|
- Settings are now saved
|
data/Gemfile.lock
CHANGED
data/lib/kita/config.rb
CHANGED
@@ -7,6 +7,7 @@ require 'fileutils'
|
|
7
7
|
CONF_DIR = "#{ENV['HOME']}/.config/kita"
|
8
8
|
CONF_FILE = "#{CONF_DIR}/config.yaml"
|
9
9
|
FileUtils.mkdir_p(CONF_DIR) unless File.exist?(CONF_DIR)
|
10
|
+
Config.load_and_set_settings(CONF_FILE)
|
10
11
|
|
11
12
|
def save_settings
|
12
13
|
puts 'Saved settings'
|
@@ -15,11 +16,9 @@ end
|
|
15
16
|
|
16
17
|
if File.exist?(CONF_FILE)
|
17
18
|
puts 'Loaded settings'
|
18
|
-
Config.load_and_set_settings(CONF_FILE)
|
19
19
|
else
|
20
20
|
puts 'No settings detected, first run? Using defaults.'
|
21
|
-
|
22
|
-
Settings.speak = true
|
21
|
+
Settings.sound = true
|
23
22
|
Settings.hiragana = true
|
24
23
|
Settings.katakana = false
|
25
24
|
save_settings
|
data/lib/kita/version.rb
CHANGED
data/snap/snapcraft.yaml
CHANGED