bets 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
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: