holoserve-connector 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,10 +33,9 @@ class Holoserve::Connector::Fixtures
33
33
  "#{@client.url}/fixtures",
34
34
  :expected_status_code => 200
35
35
  uploader.upload
36
- true
37
36
  rescue Transport::UnexpectedStatusCodeError => error
38
- raise Holoserve::Connector::Error, error.message unless error.status_code == 400
39
- false
37
+ raise Holoserve::Connector::Error, "the file #{filename} has an invalid format" if error.status_code == 400
38
+ raise Holoserve::Connector::Error, error.message
40
39
  end
41
40
 
42
41
  end
@@ -34,10 +34,9 @@ class Holoserve::Connector::Pairs
34
34
  "#{@client.url}/pairs",
35
35
  :expected_status_code => 200
36
36
  uploader.upload
37
- true
38
37
  rescue Transport::UnexpectedStatusCodeError => error
39
- raise Holoserve::Connector::Error, error.message unless error.status_code == 400
40
- false
38
+ raise Holoserve::Connector::Error, "the file #{filename} has an invalid format" if error.status_code == 400
39
+ raise Holoserve::Connector::Error, error.message
41
40
  end
42
41
 
43
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: holoserve-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-09 00:00:00.000000000 Z
12
+ date: 2012-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: transport
16
- requirement: &70096261721080 !ruby/object:Gem::Requirement
16
+ requirement: &70269436646480 !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: *70096261721080
24
+ version_requirements: *70269436646480
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: holoserve
27
- requirement: &70096261720480 !ruby/object:Gem::Requirement
27
+ requirement: &70269436645880 !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: *70096261720480
35
+ version_requirements: *70269436645880
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: cucumber
38
- requirement: &70096261736180 !ruby/object:Gem::Requirement
38
+ requirement: &70269436645320 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70096261736180
46
+ version_requirements: *70269436645320
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70096261735580 !ruby/object:Gem::Requirement
49
+ requirement: &70269436644820 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70096261735580
57
+ version_requirements: *70269436644820
58
58
  description: Provides a client for the control interface of holoserve and some RSpec
59
59
  matchers.
60
60
  email: philipp.bruell@skrill.com
@@ -92,7 +92,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
92
  version: '0'
93
93
  segments:
94
94
  - 0
95
- hash: -1743870002252913970
95
+ hash: -282806050013495417
96
96
  required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  none: false
98
98
  requirements: