bets 0.0.3 → 0.0.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.
Files changed (3) hide show
  1. data/lib/bets/version.rb +1 -1
  2. data/lib/bets.rb +1 -1
  3. metadata +1 -1
data/lib/bets/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bets
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/bets.rb CHANGED
@@ -68,7 +68,7 @@ module Bets
68
68
 
69
69
  def translator
70
70
  # Чтение исходного кода
71
- text = File.open(ARGV[0], "r").read
71
+ text = File.open(ARGV[0], "r:UTF-8").read
72
72
  # Удаление комментариев
73
73
  text.gsub!(/\-\-.*\n/,'')
74
74
  # Разделение на слова
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: