travian_bot 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -25,6 +25,7 @@ class TravianBot
25
25
  end
26
26
 
27
27
  def current_avaible_buildings
28
+ @game ||= login
28
29
  h2 'Avaible buildings'
29
30
  buildings = avaible_buildings(@game)
30
31
 
@@ -35,6 +36,7 @@ class TravianBot
35
36
  end
36
37
 
37
38
  def current_building_queue
39
+ @game ||= login
38
40
  h2('Current building queue')
39
41
  buildings = building_queue(@game)
40
42
 
@@ -49,6 +51,7 @@ class TravianBot
49
51
  end
50
52
 
51
53
  def current_troop_movements
54
+ @game ||= login
52
55
  h2('Current troop movement')
53
56
  troops = troop_movement(@game)
54
57
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "travian_bot"
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Roman Simecek"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travian_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-10-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: selenium-webdriver
16
- requirement: &2156928880 !ruby/object:Gem::Requirement
16
+ requirement: &2156250240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2156928880
24
+ version_requirements: *2156250240
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &2156927960 !ruby/object:Gem::Requirement
27
+ requirement: &2156243140 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2156927960
35
+ version_requirements: *2156243140
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jeweler
38
- requirement: &2156927140 !ruby/object:Gem::Requirement
38
+ requirement: &2156240340 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 1.6.4
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2156927140
46
+ version_requirements: *2156240340
47
47
  description: A little bot for travian.
48
48
  email: roman.simecek@cyt.ch
49
49
  executables:
@@ -86,7 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
86
86
  version: '0'
87
87
  segments:
88
88
  - 0
89
- hash: 2833179273791333550
89
+ hash: 95389688137740500
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  none: false
92
92
  requirements: