codenjoy-client 0.1.001 → 0.1.002

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41ec2318a826d4c2c7cce14b6f76168535d98b5e31cde82f06d16638519d7e6c
4
- data.tar.gz: 4f055a21ea138a67c7af9d0842f0b4d8d958962e59e1f6c88e3ccca5dd5650b9
3
+ metadata.gz: a61b7902294632ba13ee721929b14d9c65fda4accda66cdd600bd36f6cf919a2
4
+ data.tar.gz: '0865df29d554e8238cbfe0c4ce86cea470970c7726d7b65f49092d8e88dd077a'
5
5
  SHA512:
6
- metadata.gz: 2a862542b7161d1b263eda0cc9dde1b3db48663e6b19b41173524b4c6b0d8bf6a85810d73a11cf74aaa9b75191eef5d5d96c69a0aa39dccc4617a4d1e61e4e3a
7
- data.tar.gz: 3b985416180cb9e3832b09eea98d0c6c1f88c18cd24b9cef1ef5cfa3728ae51f018f6a717b79908a39300407cf5cfcda6dec68541e08fde5bcdf60cfa9e76371
6
+ metadata.gz: 2156aaac83fd0376e0d0771258f295c9d587a2638f9f288c04a8a21bb32ea766ae585503d05330616acaa52ad05310fe6c992979a672a6a219bb320781aeb05b
7
+ data.tar.gz: cd9586a757c9bc527924638d075bdfcf2c6f624a35e2002371d9aa1b5debc737deb699b7a2c181f42ac406bfe5dc6a9422abc229c43ac8279731ce9e27086b27
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- codenjoy-client (0.1.001)
4
+ codenjoy-client (0.1.002)
5
5
  faye-websocket
6
6
 
7
7
  GEM
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # require "pathname"
4
+ require "codenjoy/client"
5
+
6
+ game = Codenjoy::Client::Game::new
7
+ sourse = "#{game.source_path}/game_base_client.rb"
8
+ dest = "#{Dir.pwd}/game_base_client.rb"
9
+
10
+ p "#{sourse} ==> #{dest}"
11
+ if File.exist?(dest)
12
+ p "File already exist"
13
+ else
14
+ FileUtils.cp(sourse, dest)
15
+ end
16
+
@@ -38,6 +38,10 @@ module Codenjoy
38
38
  end
39
39
  }
40
40
  end
41
+
42
+ def source_path
43
+ __dir__
44
+ end
41
45
  end
42
46
  end
43
47
  end
@@ -1,5 +1,5 @@
1
1
  module Codenjoy
2
2
  module Client
3
- VERSION = "0.1.001"
3
+ VERSION = "0.1.002"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codenjoy-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.001
4
+ version: 0.1.002
5
5
  platform: ruby
6
6
  authors:
7
7
  - vgulaev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-20 00:00:00.000000000 Z
11
+ date: 2020-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faye-websocket
@@ -41,7 +41,8 @@ dependencies:
41
41
  description: This client tools for play https://dojorena.io/.
42
42
  email:
43
43
  - vgulaev@yandex.ru
44
- executables: []
44
+ executables:
45
+ - codenjoy-ruby-client
45
46
  extensions: []
46
47
  extra_rdoc_files: []
47
48
  files:
@@ -57,9 +58,10 @@ files:
57
58
  - bin/console
58
59
  - bin/setup
59
60
  - codenjoy-client.gemspec
60
- - game_base_client.rb
61
+ - exe/codenjoy-ruby-client
61
62
  - lib/codenjoy/client.rb
62
63
  - lib/codenjoy/client/version.rb
64
+ - lib/codenjoy/game_base_client.rb
63
65
  - lib/codenjoy/games/battlecity/board.rb
64
66
  homepage: https://github.com/vgulaev/codenjoy-client
65
67
  licenses: