saytime 0.1.4 → 0.2.0
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/saytime.rb +2 -25
- data.tar.gz.sig +0 -0
- metadata +1 -21
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0fb47968a95c2521cf45e00103ea2aaf31ac32c1
|
|
4
|
+
data.tar.gz: 8a67439cde969eb9a9ed31a5e57b0f1e05c9b05e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e72fa1485dbaed2fbf6ec84273e7ae539901bc9ee1c76a8cae2a3a34e0552a058897bcd7c28b8936cbf025ceff32a16357cbe67c855941179347a9d411b4a24f
|
|
7
|
+
data.tar.gz: 6c609bbefcb3d8ce9f6bc255201a1e0b257461961d5e879a84081fd6223b8107445981e23bb2cde87d90113d657cf4691598858d73be91a9a4cdde0abcc37025
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/saytime.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# file: saytime.rb
|
|
4
4
|
|
|
5
5
|
require 'wavefile'
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
|
|
8
8
|
# Making the WAV files
|
|
9
9
|
# ======================
|
|
@@ -16,33 +16,10 @@ require 'rxfhelper'
|
|
|
16
16
|
# software called Audacity
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
module LIBRARY
|
|
20
|
-
|
|
21
|
-
def fetch_filepath(filename)
|
|
22
|
-
|
|
23
|
-
if File.basename() == filename then
|
|
24
|
-
lib = File.dirname(__FILE__)
|
|
25
|
-
File.join(lib,'..','wav',filename)
|
|
26
|
-
else
|
|
27
|
-
filename
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
def fetch_file(filename)
|
|
33
|
-
|
|
34
|
-
filepath = fetch_filepath filename
|
|
35
|
-
read filepath
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
def read(s)
|
|
39
|
-
RXFHelper.read(s).first
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
19
|
|
|
43
20
|
class Saytime
|
|
44
21
|
include WaveFile
|
|
45
|
-
|
|
22
|
+
|
|
46
23
|
|
|
47
24
|
def initialize(filepath='')
|
|
48
25
|
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: saytime
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -53,26 +53,6 @@ dependencies:
|
|
|
53
53
|
- - ">="
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
55
|
version: 0.8.1
|
|
56
|
-
- !ruby/object:Gem::Dependency
|
|
57
|
-
name: rxfhelper
|
|
58
|
-
requirement: !ruby/object:Gem::Requirement
|
|
59
|
-
requirements:
|
|
60
|
-
- - "~>"
|
|
61
|
-
- !ruby/object:Gem::Version
|
|
62
|
-
version: '0.4'
|
|
63
|
-
- - ">="
|
|
64
|
-
- !ruby/object:Gem::Version
|
|
65
|
-
version: 0.4.2
|
|
66
|
-
type: :runtime
|
|
67
|
-
prerelease: false
|
|
68
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
69
|
-
requirements:
|
|
70
|
-
- - "~>"
|
|
71
|
-
- !ruby/object:Gem::Version
|
|
72
|
-
version: '0.4'
|
|
73
|
-
- - ">="
|
|
74
|
-
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0.4.2
|
|
76
56
|
description:
|
|
77
57
|
email: james@jamesrobertson.eu
|
|
78
58
|
executables: []
|
metadata.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
��P��c��J��y�Տ�e9�[������1bY-�HZw���2����W���&t@_^��:�e���t��k����i�e��^Tݓ$oF�B�|Hh�ϸ��{ꮻ;�����ӑ�w����`�:kI�g@���Ğw�K�f��y�u�.�l�O�v:�ۗ��_�n���b��=���v��y3!�,������謍���)�q�m���p���d��j��:
|
|
2
|
+
�8W�s�� o
|