tourbus 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/lib/common.rb +2 -1
  2. data/lib/runner.rb +2 -2
  3. data/lib/tour.rb +1 -1
  4. metadata +47 -26
data/lib/common.rb CHANGED
@@ -6,7 +6,8 @@ end
6
6
 
7
7
  require 'rubygems'
8
8
 
9
- gem 'mechanize', ">= 0.8.5"
9
+ gem 'webrat', ">= 0.7.0"
10
+ gem 'mechanize', ">= 1.0.0"
10
11
  gem 'trollop', ">= 1.10.0"
11
12
  gem 'faker', '>= 0.3.1'
12
13
 
data/lib/runner.rb CHANGED
@@ -21,7 +21,7 @@ class Runner
21
21
  log("Starting #{@runner_type} run #{num}/#{number}")
22
22
  @tours.each do |tour_name|
23
23
 
24
- log("Starting run #{number} of Tour #{tour_name}")
24
+ log("Starting run #{num}/#{number} of Tour #{tour_name}")
25
25
  tours += 1
26
26
  tour = Tour.make_tour(tour_name,@host,@tours,@number,@runner_id)
27
27
  tour.before_tour
@@ -56,7 +56,7 @@ class Runner
56
56
  times[test][:finished] = Time.now
57
57
  times[test][:elapsed] = times[test][:finished] - times[test][:started]
58
58
  end
59
- log("Finished run #{number} of Tour #{tour_name}")
59
+ log("Finished run #{num}/#{number} of Tour #{tour_name}")
60
60
  end
61
61
 
62
62
  tour.after_tour
data/lib/tour.rb CHANGED
@@ -2,7 +2,7 @@ require 'forwardable'
2
2
  require 'monitor'
3
3
  require 'common'
4
4
  require 'webrat'
5
- require 'webrat/mechanize'
5
+ require 'webrat/adapters/mechanize'
6
6
  require 'test/unit/assertions'
7
7
 
8
8
  # A tour is essentially a test suite file. A Tour subclass
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tourbus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 3
9
+ version: 0.1.3
5
10
  platform: ruby
6
11
  authors:
7
12
  - David Brady
@@ -17,54 +22,68 @@ default_executable:
17
22
  dependencies:
18
23
  - !ruby/object:Gem::Dependency
19
24
  name: mechanize
20
- type: :runtime
21
- version_requirement:
22
- version_requirements: !ruby/object:Gem::Requirement
25
+ prerelease: false
26
+ requirement: &id001 !ruby/object:Gem::Requirement
23
27
  requirements:
24
28
  - - ">="
25
29
  - !ruby/object:Gem::Version
26
- version: 0.8.5
27
- version:
30
+ segments:
31
+ - 1
32
+ - 0
33
+ - 0
34
+ version: 1.0.0
35
+ type: :runtime
36
+ version_requirements: *id001
28
37
  - !ruby/object:Gem::Dependency
29
38
  name: trollop
30
- type: :runtime
31
- version_requirement:
32
- version_requirements: !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
33
41
  requirements:
34
42
  - - ">="
35
43
  - !ruby/object:Gem::Version
44
+ segments:
45
+ - 0
36
46
  version: "0"
37
- version:
47
+ type: :runtime
48
+ version_requirements: *id002
38
49
  - !ruby/object:Gem::Dependency
39
50
  name: faker
40
- type: :runtime
41
- version_requirement:
42
- version_requirements: !ruby/object:Gem::Requirement
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
43
53
  requirements:
44
54
  - - ">="
45
55
  - !ruby/object:Gem::Version
56
+ segments:
57
+ - 0
46
58
  version: "0"
47
- version:
59
+ type: :runtime
60
+ version_requirements: *id003
48
61
  - !ruby/object:Gem::Dependency
49
62
  name: hpricot
50
- type: :runtime
51
- version_requirement:
52
- version_requirements: !ruby/object:Gem::Requirement
63
+ prerelease: false
64
+ requirement: &id004 !ruby/object:Gem::Requirement
53
65
  requirements:
54
66
  - - ">="
55
67
  - !ruby/object:Gem::Version
68
+ segments:
69
+ - 0
56
70
  version: "0"
57
- version:
71
+ type: :runtime
72
+ version_requirements: *id004
58
73
  - !ruby/object:Gem::Dependency
59
74
  name: webrat
60
- type: :runtime
61
- version_requirement:
62
- version_requirements: !ruby/object:Gem::Requirement
75
+ prerelease: false
76
+ requirement: &id005 !ruby/object:Gem::Requirement
63
77
  requirements:
64
78
  - - ">="
65
79
  - !ruby/object:Gem::Version
66
- version: "0"
67
- version:
80
+ segments:
81
+ - 0
82
+ - 7
83
+ - 0
84
+ version: 0.7.0
85
+ type: :runtime
86
+ version_requirements: *id005
68
87
  description: TourBus, a web stress-testing tool that combines complex 'tour' definitions with scalable concurrent testing
69
88
  email: github@shinybit.com
70
89
  executables:
@@ -108,18 +127,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
127
  requirements:
109
128
  - - ">="
110
129
  - !ruby/object:Gem::Version
130
+ segments:
131
+ - 0
111
132
  version: "0"
112
- version:
113
133
  required_rubygems_version: !ruby/object:Gem::Requirement
114
134
  requirements:
115
135
  - - ">="
116
136
  - !ruby/object:Gem::Version
137
+ segments:
138
+ - 0
117
139
  version: "0"
118
- version:
119
140
  requirements: []
120
141
 
121
142
  rubyforge_project:
122
- rubygems_version: 1.3.5
143
+ rubygems_version: 1.3.6
123
144
  signing_key:
124
145
  specification_version: 3
125
146
  summary: TourBus web stress-testing tool