elibri_watermarking 0.9.8 → 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 267b4b42e4af848f8e9edcea4de197c4a9aa53b7
4
+ data.tar.gz: b5df176ce6cf450794ac8ec51c3e8c2a54148ca4
5
+ SHA512:
6
+ metadata.gz: 685bcbfae2ddd8fce0927a734d7d721be6def3058f63072fb0f81f8a8e1d5274f330e5f9ec4a83cbca5f5dab1608618059ebdbe9ae2e44b22b05fb2567615e49
7
+ data.tar.gz: 34f7ddab4436da60f725b80aa80b7c118870777060dce9e038cebc9db821c33d25a4598ce423b9950e6c7b99178afd614c1514e0c69242394bda33f90a6ba565
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 eLibri
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -145,8 +145,9 @@ module ElibriWatermarking
145
145
  raise RequestExpired.new(res.body)
146
146
  when "Net::HTTPOK"
147
147
  return res.body
148
+ else
149
+ raise ServerException.new(res.body)
148
150
  end
149
- return res.body
150
151
  end
151
152
  end
152
153
  end
@@ -1,3 +1,3 @@
1
1
  module ElibriWatermarking
2
- VERSION = "0.9.8"
2
+ VERSION = "0.9.9"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elibri_watermarking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
5
- prerelease:
4
+ version: 0.9.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Piotr Szmielew
@@ -10,38 +9,34 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2014-12-08 00:00:00.000000000 Z
12
+ date: 2015-04-19 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rake
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: '0'
23
21
  type: :development
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
27
  version: '0'
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: net-dns
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
34
  version: '0'
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
41
  version: '0'
47
42
  description: Gem designed to help in use of Elibri watermarking API.
@@ -54,6 +49,7 @@ extra_rdoc_files: []
54
49
  files:
55
50
  - .gitignore
56
51
  - Gemfile
52
+ - LICENSE
57
53
  - README.md
58
54
  - Rakefile
59
55
  - elibri_watermarking.gemspec
@@ -63,27 +59,26 @@ files:
63
59
  - lib/elibri_watermarking/version.rb
64
60
  homepage: http://elibri.com.pl
65
61
  licenses: []
62
+ metadata: {}
66
63
  post_install_message:
67
64
  rdoc_options: []
68
65
  require_paths:
69
66
  - lib
70
67
  required_ruby_version: !ruby/object:Gem::Requirement
71
- none: false
72
68
  requirements:
73
- - - ! '>='
69
+ - - '>='
74
70
  - !ruby/object:Gem::Version
75
71
  version: '0'
76
72
  required_rubygems_version: !ruby/object:Gem::Requirement
77
- none: false
78
73
  requirements:
79
- - - ! '>='
74
+ - - '>='
80
75
  - !ruby/object:Gem::Version
81
76
  version: '0'
82
77
  requirements: []
83
78
  rubyforge_project: elibri_watermarking
84
- rubygems_version: 1.8.23
79
+ rubygems_version: 2.2.2
85
80
  signing_key:
86
- specification_version: 3
81
+ specification_version: 4
87
82
  summary: Gem designed to help in use of Elibri watermarking API.
88
83
  test_files: []
89
84
  has_rdoc: