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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a6188bf9638b9139f6e27f3883dd2e432ca72e0cfef38050e35f4b356a1e40c3
4
- data.tar.gz: e89bb5832bbcc85beec855bb43705311bf10c23dc21d058db9f97fb381c80fd5
3
+ metadata.gz: b9e7f22a31060b902c7465e9b08bacbf7e96429874ae74b09a1d6c366adb7317
4
+ data.tar.gz: e4da599c288327a9bfb679364a3da37d7fa3ef8757d607676b9c93762753a11d
5
5
  SHA512:
6
- metadata.gz: 3f3b6c6e91d38adab77e91bc25bd39eaf5ad811a53f9689b429b2126fd4078fb4ed11a0e45c3ec6f6a0e361081119d4d76777d84c2c967769d2b7933e0f49eca
7
- data.tar.gz: c881f8c27f4cd27967ad1fddb5bc52330b58c95db8be796cd80be40eddfe9bf6de9076cffa1cd6551b8f2f2a54ceda0f29e538f75d67bb22d5caf89dc2479db0
6
+ metadata.gz: 4dbd3a1e70660d03c275a9f3aebc698c2ea633a11e080b12251413e6fa083520c8f1ac75dea9a640cc694964832c054091159e2ba3f4cc2b730e381eb52b7369
7
+ data.tar.gz: ba2a0ad939dbd0f09b2716af9047700d79a49824c9f1d45b7adf60273ab164692787d5707bfb4816de3a8657817642a27745794af278ffd994af12c729d1104f
@@ -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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kita (0.9.3)
4
+ kita (0.9.4)
5
5
  config (~> 2.2)
6
6
  fast_gettext (~> 2.0)
7
7
  gir_ffi (~> 0.15.2)
@@ -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
- Config.load_and_set_settings(CONF_FILE)
22
- Settings.speak = true
21
+ Settings.sound = true
23
22
  Settings.hiragana = true
24
23
  Settings.katakana = false
25
24
  save_settings
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kita
4
- VERSION = '0.9.4'
4
+ VERSION = '0.9.5'
5
5
  end
@@ -1,5 +1,5 @@
1
1
  name: kita
2
- version: '0.9.4'
2
+ version: '0.9.5'
3
3
  summary: Japanese learning tool
4
4
  description: |
5
5
  A simple tool to help Japanese language learners.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kita
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Bishop