kayabot 0.1.9 → 0.1.9.1

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/kayabot.gemspec +1 -1
  2. data/lib/kayabot.rb +1 -1
  3. metadata +2 -2
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "kayabot"
3
- s.version = "0.1.9"
3
+ s.version = "0.1.9.1"
4
4
  s.summary = "Interface to run Go Bots on Kaya"
5
5
  s.description = "This is an interface to run GTP compliant Go Bots on Kaya. Modified version for Zen."
6
6
  s.authors = ["Gabriel Benmergui"]
@@ -136,7 +136,7 @@ class KayaBot
136
136
 
137
137
  def sgf_content
138
138
  sgf = SGF.new
139
- sgf.add_move(@move) if @move
139
+ sgf.add_move(@move) if @move && !@move.empty?
140
140
  return "(#{@master_node}#{sgf.move_list})"
141
141
  end
142
142
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kayabot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-11 00:00:00.000000000 Z
12
+ date: 2012-10-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mechanize