kita 0.5.3 → 0.5.4

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: 4490982ee2a55cd63614c60c73a8046bfd0b2d25fc8b14178941679de9b13cd2
4
- data.tar.gz: 375a7ddd27b6d00757efc0ad32814a1b7f1f6d04fd3c0e6849cb377d59b01d03
3
+ metadata.gz: 3dbdda23aa1a9f9caeb8abc1bf50d4e8581a46e851d42cdea4e1c0767169495d
4
+ data.tar.gz: 103e63a9fb84b7935aec7716f0d28af37a9c4d135ffb15edf9b35e6e0ae3ae7f
5
5
  SHA512:
6
- metadata.gz: 4628f8eb832ff482c311e96334f48c4dea97f29e16b032ef60ac59a5f27247c42e17aef1853d6ed30a7658b1a0fa4a377249bac49e22c5645ff702112b721bfe
7
- data.tar.gz: 45b2216ff06714670eba51f67894e62632c13acdc88a4c12999e3399babe85b2ce4b66c04ae1962ba3f66839bf20ef3bd8fff7cca80137f74141012d48b2d289
6
+ metadata.gz: 87b837d0c06c0818e83dd32f46cb93057c1873642aa45fb064c8b5941e01350e8fc2be6d3b7ea63c32027c0f93db76b5217cbc382da845378a9c823e9c842911
7
+ data.tar.gz: f252660096e34f4e7d8d16f256f4eea1d5c39b50389b7c994b793043902e2ebff9ee3b9502f982ce3eb54e2322d72c5d24049b2219d75a6ffceb7482585dabbc
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kita (0.5.2)
4
+ kita (0.5.3)
5
5
  config (~> 2.2)
6
6
  gir_ffi (~> 0.15.2)
7
7
  gstreamer (~> 3.4)
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
 
@@ -22,7 +22,7 @@ class Audio
22
22
 
23
23
  def play(uri)
24
24
  @playbin.stop
25
- @playbin.uri = Gst.filename_to_uri("#{@application_root_path}/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.3'
4
+ VERSION = '0.5.4'
5
5
  end
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.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Bishop