kita 0.5.1 → 0.5.4

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: cc52ea1433292c7a3c9146792e73117217f6d1ab6c640524489c0f22a30158a6
4
- data.tar.gz: 32f74e1b6261250a6c36a9124f5ac4c5f651f9866c6665c7f949b2b43b50e6f3
3
+ metadata.gz: 3dbdda23aa1a9f9caeb8abc1bf50d4e8581a46e851d42cdea4e1c0767169495d
4
+ data.tar.gz: 103e63a9fb84b7935aec7716f0d28af37a9c4d135ffb15edf9b35e6e0ae3ae7f
5
5
  SHA512:
6
- metadata.gz: 79062cb37ecc657c208445d7a074d8fb3a8bacb32d84b1d5b94f8edbed3423e37e0d56b7cf6ad1563e7fe8daeb764d9838c8214f4d80c10cf66ee2cd70785372
7
- data.tar.gz: e59ae6841712228838da590cf17eb093a18746f1b0073308d5b0160fa52d6dfd5659e2c649a8e753cf30158dc71f73424d72607d2925f7ff3cb7376b1863d3b7
6
+ metadata.gz: 87b837d0c06c0818e83dd32f46cb93057c1873642aa45fb064c8b5941e01350e8fc2be6d3b7ea63c32027c0f93db76b5217cbc382da845378a9c823e9c842911
7
+ data.tar.gz: f252660096e34f4e7d8d16f256f4eea1d5c39b50389b7c994b793043902e2ebff9ee3b9502f982ce3eb54e2322d72c5d24049b2219d75a6ffceb7482585dabbc
data/.gitignore CHANGED
@@ -1,6 +1,7 @@
1
1
  vendor
2
2
  *~
3
3
  *.gem
4
+ *.snap
4
5
  /.bundle/
5
6
  /.yardoc
6
7
  /_yardoc/
@@ -6,7 +6,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
7
  ## [Unreleased]
8
8
  ### Added
9
- - Marketing banner to prompt users to upgrade to a free account
10
9
 
11
10
  ### Changed
12
11
 
@@ -1,3 +1,14 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ kita (0.5.3)
5
+ config (~> 2.2)
6
+ gir_ffi (~> 0.15.2)
7
+ gstreamer (~> 3.4)
8
+ gtk3 (~> 3.4)
9
+ mojinizer (~> 0.2.2)
10
+ pango (~> 3.4)
11
+
1
12
  GEM
2
13
  remote: https://rubygems.org/
3
14
  specs:
@@ -107,12 +118,7 @@ PLATFORMS
107
118
  ruby
108
119
 
109
120
  DEPENDENCIES
110
- config (~> 2.2)
111
- gir_ffi (~> 0.15.2)
112
- gstreamer (~> 3.4)
113
- gtk3 (~> 3.4)
114
- mojinizer (~> 0.2.2)
115
- pango (~> 3.4)
121
+ kita!
116
122
  rake (~> 13.0)
117
123
  rspec (~> 3.9)
118
124
 
data/bin/kita CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- application_root_path = File.expand_path(__dir__)
5
- require File.join(application_root_path, '../lib/kita.rb')
4
+ RootPath = File.expand_path('../', __dir__)
5
+ require File.join(RootPath, '/lib/kita.rb')
6
6
 
7
7
  app = Kita::Application.new
8
8
 
@@ -7,6 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.version = Kita::VERSION
8
8
  spec.authors = ['Dan Bishop']
9
9
  spec.email = ['d@nbishop.uk']
10
+ spec.license = 'GPLv3+'
10
11
 
11
12
  spec.summary = 'A Japanese kana learning tool.'
12
13
  spec.description = 'A simple tool to help Japanese language learners with hiragana and katakana.'
@@ -26,10 +27,10 @@ Gem::Specification.new do |spec|
26
27
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
27
28
  spec.require_paths = ['lib']
28
29
 
29
- spec.add_dependency 'config', '~> 2.2'
30
- spec.add_dependency 'gir_ffi', '~> 0.15.2'
31
- spec.add_dependency 'gstreamer', '~> 3.4'
32
- spec.add_dependency 'gtk3', '~> 3.4'
33
- spec.add_dependency 'mojinizer', '~> 0.2.2'
34
- spec.add_dependency 'pango', '~> 3.4'
30
+ spec.add_runtime_dependency 'config', '~> 2.2'
31
+ spec.add_runtime_dependency 'gir_ffi', '~> 0.15.2'
32
+ spec.add_runtime_dependency 'gstreamer', '~> 3.4'
33
+ spec.add_runtime_dependency 'gtk3', '~> 3.4'
34
+ spec.add_runtime_dependency 'mojinizer', '~> 0.2.2'
35
+ spec.add_runtime_dependency 'pango', '~> 3.4'
35
36
  end
@@ -37,6 +37,7 @@ module Kita
37
37
 
38
38
  def setup_about_box
39
39
  about_box = @builder.get_object('about_box')
40
+ about_box.version = VERSION
40
41
  about_button = @builder.get_object('menu_about')
41
42
  about_button.signal_connect('clicked') do
42
43
  about_box.run
@@ -22,7 +22,7 @@ class Audio
22
22
 
23
23
  def play(uri)
24
24
  @playbin.stop
25
- @playbin.uri = Gst.filename_to_uri("./sounds/#{uri}.ogg")
25
+ p @playbin.uri = Gst.filename_to_uri("#{RootPath}/sounds/#{uri}.ogg")
26
26
  @playbin.play
27
27
  end
28
28
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kita
4
- VERSION = '0.5.1'
4
+ VERSION = '0.5.4'
5
5
  end
@@ -0,0 +1,44 @@
1
+ name: kita
2
+ version: '0.5.3'
3
+ summary: Japanese learning tool
4
+ description: |
5
+ A simple tool to help Japanese language learners.
6
+
7
+ confinement: devmode
8
+ base: core18
9
+ grade: stable
10
+ license: GPL-3.0+
11
+
12
+ parts:
13
+ kita:
14
+ source: .
15
+ plugin: ruby
16
+ gems:
17
+ - kita
18
+ ruby-version: 2.7.0
19
+ stage-packages:
20
+ - gobject-introspection
21
+ - gir1.2-atk-1.0
22
+ - gir1.2-atspi-2.0
23
+ - gir1.2-freedesktop
24
+ - gir1.2-gdkpixbuf-2.0
25
+ - gir1.2-glib-2.0
26
+ - gir1.2-gtk-3.0
27
+ - gir1.2-pango-1.0
28
+ - libcanberra-gtk3-0
29
+ - libgstreamer1.0-0
30
+ - libglib2.0-0
31
+ - libgirepository-1.0-1
32
+ - gir1.2-gstreamer-1.0
33
+ - gstreamer1.0-plugins-base
34
+
35
+ apps:
36
+ kita:
37
+ command: bin/kita
38
+ extensions: [gnome-3-28]
39
+ plugs:
40
+ - desktop
41
+ - wayland
42
+ - audio-playback
43
+ # - pulseaudio
44
+ common-id: uk.danbishop.kita
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- Generated with glade 3.22.2
2
+ <!-- Generated with glade 3.22.2
3
3
 
4
4
  Copyright (C)
5
5
 
@@ -30,7 +30,7 @@ Author: Dan Bishop
30
30
  <property name="can_focus">False</property>
31
31
  <property name="type_hint">dialog</property>
32
32
  <property name="program_name">Kita</property>
33
- <property name="version">0.5</property>
33
+ <property name="version"></property>
34
34
  <property name="copyright" translatable="yes">© 2020 Dan Bishop</property>
35
35
  <property name="comments" translatable="yes">A simple tool to help Japanese language learners.</property>
36
36
  <property name="website">danbishop.uk</property>
@@ -256,7 +256,7 @@ Author: Dan Bishop
256
256
  <object class="GtkImage">
257
257
  <property name="visible">True</property>
258
258
  <property name="can_focus">False</property>
259
- <property name="icon_name">audio-volume-high</property>
259
+ <property name="icon_name">audio-volume-high-symbolic</property>
260
260
  </object>
261
261
  </child>
262
262
  </object>
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.5.1
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Bishop
@@ -119,7 +119,7 @@ files:
119
119
  - lib/kita/hiragana.rb
120
120
  - lib/kita/katakana.rb
121
121
  - lib/kita/version.rb
122
- - snapcraft.yaml
122
+ - snap/snapcraft.yaml
123
123
  - sounds/he.ogg
124
124
  - sounds/he2.ogg
125
125
  - sounds/tofix.txt
@@ -270,7 +270,8 @@ files:
270
270
  - ui/builder.ui
271
271
  - ui/kita.svg
272
272
  homepage: https://www.danbishop.org
273
- licenses: []
273
+ licenses:
274
+ - GPLv3+
274
275
  metadata:
275
276
  homepage_uri: https://www.danbishop.org
276
277
  source_code_uri: https://github.com/danbishop/kita
@@ -1,18 +0,0 @@
1
- name: kita
2
- version: "0.5.0"
3
- summary: Japanese learning tool
4
- description: |
5
- A simple tool to help Japanese language learners.
6
-
7
- confinement: devmode
8
- base: core18
9
-
10
- parts:
11
- kita:
12
- source: .
13
- plugin: ruby
14
- gems:
15
- - kita
16
- apps:
17
- kita:
18
- command: bin/kita