testingbot 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -45,14 +45,17 @@ if defined?(Spec) && defined?(Spec::VERSION::MAJOR) && Spec::VERSION::MAJOR == 1
45
45
  "kind" => 2
46
46
  }
47
47
 
48
- data = api.update_test(session_id, params)
49
-
48
+ begin
49
+ data = api.update_test(session_id, params)
50
+ rescue
51
+ end
52
+
50
53
  if ENV['JENKINS_HOME'] && (TestingBot.get_config[:jenkins_output] == true)
51
54
  puts "TestingBotSessionID=" + session_id
52
55
  end
53
56
  end
54
57
  else
55
- puts "Can't post test results to TestingBot since I could not a .testingbot file in your home-directory."
58
+ puts "Can't post test results to TestingBot since I could not find a .testingbot file in your home-directory."
56
59
  end
57
60
  end
58
61
  end
@@ -203,10 +206,13 @@ begin
203
206
  "kind" => 2
204
207
  }
205
208
 
206
- data = api.update_test(session_id, params)
209
+ begin
210
+ data = api.update_test(session_id, params)
211
+ rescue
212
+ end
207
213
  end
208
214
  else
209
- puts "Can't post test results to TestingBot since I could not a .testingbot file in your home-directory."
215
+ puts "Can't post test results to TestingBot since I could not find a .testingbot file in your home-directory."
210
216
  end
211
217
  end
212
218
  rescue LoadError
@@ -242,7 +248,10 @@ module TestingBot
242
248
  "kind" => 2
243
249
  }
244
250
 
245
- data = api.update_test(@browser.session_id, params)
251
+ begin
252
+ data = api.update_test(@browser.session_id, params)
253
+ rescue
254
+ end
246
255
 
247
256
  if ENV['JENKINS_HOME'] && (TestingBot.get_config[:jenkins_output] == true)
248
257
  puts "TestingBotSessionID=" + @browser.session_id
@@ -1,3 +1,3 @@
1
1
  module Testingbot
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,104 +1,79 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: testingbot
3
- version: !ruby/object:Gem::Version
4
- hash: 29
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.4
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 3
10
- version: 0.1.3
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Jochen Delabie
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-06-12 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-06-18 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: json
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70172125749020 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: net-http-persistent
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70172125749020
25
+ - !ruby/object:Gem::Dependency
26
+ name: net-http-persistent
27
+ requirement: &70172125748600 !ruby/object:Gem::Requirement
38
28
  none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
46
33
  type: :runtime
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: selenium-webdriver
50
34
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70172125748600
36
+ - !ruby/object:Gem::Dependency
37
+ name: selenium-webdriver
38
+ requirement: &70172125748180 !ruby/object:Gem::Requirement
52
39
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- hash: 3
57
- segments:
58
- - 0
59
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
60
44
  type: :runtime
61
- version_requirements: *id003
62
- - !ruby/object:Gem::Dependency
63
- name: rspec
64
45
  prerelease: false
65
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70172125748180
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: &70172125747660 !ruby/object:Gem::Requirement
66
50
  none: false
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- hash: 43
71
- segments:
72
- - 2
73
- - 9
74
- - 0
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
75
54
  version: 2.9.0
76
55
  type: :development
77
- version_requirements: *id004
78
- - !ruby/object:Gem::Dependency
79
- name: rake
80
56
  prerelease: false
81
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *70172125747660
58
+ - !ruby/object:Gem::Dependency
59
+ name: rake
60
+ requirement: &70172125747240 !ruby/object:Gem::Requirement
82
61
  none: false
83
- requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- hash: 3
87
- segments:
88
- - 0
89
- version: "0"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
90
66
  type: :development
91
- version_requirements: *id005
67
+ prerelease: false
68
+ version_requirements: *70172125747240
92
69
  description: This gem makes using our Selenium grid on testingbot.com easy
93
- email:
70
+ email:
94
71
  - info@testingbot.com
95
- executables:
72
+ executables:
96
73
  - testingbot
97
74
  extensions: []
98
-
99
75
  extra_rdoc_files: []
100
-
101
- files:
76
+ files:
102
77
  - .gitignore
103
78
  - .travis.yml
104
79
  - Gemfile
@@ -138,38 +113,29 @@ files:
138
113
  - vendor/Testingbot-Tunnel.jar
139
114
  homepage: http://www.testingbot.com
140
115
  licenses: []
141
-
142
116
  post_install_message:
143
117
  rdoc_options: []
144
-
145
- require_paths:
118
+ require_paths:
146
119
  - lib
147
- required_ruby_version: !ruby/object:Gem::Requirement
120
+ required_ruby_version: !ruby/object:Gem::Requirement
148
121
  none: false
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- hash: 3
153
- segments:
154
- - 0
155
- version: "0"
156
- required_rubygems_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ required_rubygems_version: !ruby/object:Gem::Requirement
157
127
  none: false
158
- requirements:
159
- - - ">="
160
- - !ruby/object:Gem::Version
161
- hash: 3
162
- segments:
163
- - 0
164
- version: "0"
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
165
132
  requirements: []
166
-
167
133
  rubyforge_project: testingbot
168
134
  rubygems_version: 1.8.10
169
135
  signing_key:
170
136
  specification_version: 3
171
137
  summary: Ruby Gem to be used with testingbot.com
172
- test_files:
138
+ test_files:
173
139
  - spec/integration/api_spec.rb
174
140
  - spec/integration/selenium1_spec.rb
175
141
  - spec/integration/selenium2_spec.rb