Skip to content

Commit bd1cacd

Browse files
committed
Updates libraries, fix rubocop warnings
1 parent b01a95e commit bd1cacd

File tree

6 files changed

+44
-23
lines changed

6 files changed

+44
-23
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.3
1+
3.3.5

Gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,12 @@ gemspec
66

77
group :development do
88
gem 'rake'
9+
gem 'rubocop'
910
gem 'test-unit'
1011
end
12+
13+
gem 'racc', '~> 1.8'
14+
15+
gem 'ostruct', '~> 0.6.1'
16+
17+
gem 'base64', '~> 0.2.0'

Gemfile.lock

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,56 @@ PATH
66
GEM
77
remote: http://rubygems.org/
88
specs:
9-
ast (2.4.2)
10-
parallel (1.21.0)
11-
parser (3.0.3.1)
9+
ast (2.4.3)
10+
base64 (0.2.0)
11+
json (2.12.0)
12+
language_server-protocol (3.17.0.5)
13+
lint_roller (1.1.0)
14+
ostruct (0.6.1)
15+
parallel (1.27.0)
16+
parser (3.3.8.0)
1217
ast (~> 2.4.1)
18+
racc
1319
power_assert (2.0.1)
14-
rainbow (3.0.0)
20+
prism (1.4.0)
21+
racc (1.8.1)
22+
racc (1.8.1-java)
23+
rainbow (3.1.1)
1524
rake (13.0.6)
16-
regexp_parser (2.1.1)
17-
rexml (3.2.5)
18-
rubocop (1.23.0)
25+
regexp_parser (2.10.0)
26+
rubocop (1.75.5)
27+
json (~> 2.3)
28+
language_server-protocol (~> 3.17.0.2)
29+
lint_roller (~> 1.1.0)
1930
parallel (~> 1.10)
20-
parser (>= 3.0.0.0)
31+
parser (>= 3.3.0.2)
2132
rainbow (>= 2.2.2, < 4.0)
22-
regexp_parser (>= 1.8, < 3.0)
23-
rexml
24-
rubocop-ast (>= 1.12.0, < 2.0)
33+
regexp_parser (>= 2.9.3, < 3.0)
34+
rubocop-ast (>= 1.44.0, < 2.0)
2535
ruby-progressbar (~> 1.7)
26-
unicode-display_width (>= 1.4.0, < 3.0)
27-
rubocop-ast (1.13.0)
28-
parser (>= 3.0.1.1)
29-
ruby-progressbar (1.11.0)
36+
unicode-display_width (>= 2.4.0, < 4.0)
37+
rubocop-ast (1.44.1)
38+
parser (>= 3.3.7.2)
39+
prism (~> 1.4)
40+
ruby-progressbar (1.13.0)
3041
test-unit (3.4.6)
3142
power_assert
32-
unicode-display_width (2.1.0)
43+
unicode-display_width (3.1.4)
44+
unicode-emoji (~> 4.0, >= 4.0.4)
45+
unicode-emoji (4.0.4)
3346

3447
PLATFORMS
3548
universal-java-11
3649
x86_64-linux
3750

3851
DEPENDENCIES
52+
base64 (~> 0.2.0)
3953
espeak-ruby!
54+
ostruct (~> 0.6.1)
55+
racc (~> 1.8)
4056
rake
41-
rubocop (~> 1.23)
57+
rubocop
4258
test-unit
4359

4460
BUNDLED WITH
45-
2.2.32
61+
2.6.9

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Speech.new("Zdravo svete", voice: "sr", pitch: 90, speed: 200).speak
5454

5555
### Ubuntu
5656

57-
apt-get install espeak lame
57+
sudo apt-get install espeak lame
5858

5959
## Licence
6060

espeak-ruby.gemspec

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ Gem::Specification.new do |gem|
1818

1919
gem.required_ruby_version = '>= 2.5.0'
2020

21-
gem.add_development_dependency 'rake', '~> 13.0.6'
22-
gem.add_development_dependency 'rubocop', '~> 1.23'
23-
gem.add_development_dependency 'test-unit', '~> 3.5'
2421
gem.metadata = {
2522
'rubygems_mfa_required' => 'true'
2623
}

lib/espeak.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# frozen_string_literal: true
22

3+
# The main module for the ESpeak Ruby API.
34
module ESpeak
45
autoload :Speech, 'espeak/speech'
56
autoload :Voice, 'espeak/voice'

0 commit comments

Comments
 (0)