iformat 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,10 +43,9 @@ module IFormat
43
43
 
44
44
  if status < 1
45
45
  case status
46
- when IFormat::Error::BAD_SESSION_ID_STATUS
47
- raise IFormat::Error::BadSessionId.new(msg, status)
48
- else
49
- raise IFormat::Error.new(msg, status)
46
+ when IFormat::Error::BAD_SESSION_ID_STATUS then raise IFormat::Error::BadSessionId.new(msg, status)
47
+ when IFormat::Error::ORDER_WAITING_FOR_LINKS_STATUS then raise IFormat::Error::OrderWaitingForLinks.new(msg, status)
48
+ else raise IFormat::Error.new(msg, status)
50
49
  end
51
50
 
52
51
  end
@@ -1,3 +1,3 @@
1
1
  module IFormat
2
- VERSION = '0.0.2'
2
+ VERSION = '0.1.0'
3
3
  end
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 2
10
- version: 0.0.2
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Karol Sarnacki
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-19 00:00:00 +01:00
19
- default_executable:
18
+ date: 2012-03-20 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: savon
@@ -129,7 +128,6 @@ files:
129
128
  - test/helper.rb
130
129
  - test/test_client.rb
131
130
  - test/test_iformat.rb
132
- has_rdoc: true
133
131
  homepage: https://github.com/sodercober/iformat
134
132
  licenses: []
135
133
 
@@ -159,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
157
  requirements: []
160
158
 
161
159
  rubyforge_project:
162
- rubygems_version: 1.4.2
160
+ rubygems_version: 1.8.19
163
161
  signing_key:
164
162
  specification_version: 3
165
163
  summary: iFormat API wrapper