waifu2x 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/LICENSE.txt +1 -1
- data/lib/waifu2x.rb +3 -1
- data/lib/waifu2x/version.rb +1 -1
- data/waifu2x.gemspec +1 -1
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 76bd3fbbe7518f6daf3675f1c29e0706b32740a93cf428e036bf0b446f7113f8
|
4
|
+
data.tar.gz: ace2b2f26a4292767169320b4dfb033cfcb0fb705ee5a9ceceffcc6af5910801
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3241e56c22a9878e855fc4bf130f985f47a36cddb9b2151fe585ccc70fb2c6765e27e5afe0f13edcf2ea871ba2dd8c03a5963b714068505d7c385a4633ea733
|
7
|
+
data.tar.gz: b27474b21ba86d7b4ae95ecfe2862f86233cfe540aa4842dff75bd9723d2d9d117ae22a6bd2913ff712deea3a473bf72a4d7c72da9f94223f609fab50fb15723
|
data/LICENSE.txt
CHANGED
data/lib/waifu2x.rb
CHANGED
@@ -73,7 +73,9 @@ module Waifu2x
|
|
73
73
|
end
|
74
74
|
response = request.run
|
75
75
|
|
76
|
-
if response.body.include?('File not found') ||
|
76
|
+
if response.body.include?('File not found') ||
|
77
|
+
response.body.include?('Image file is not of type') ||
|
78
|
+
response.body.include?('Image file is too large')
|
77
79
|
raise InvalidImage, response.body
|
78
80
|
end
|
79
81
|
|
data/lib/waifu2x/version.rb
CHANGED
data/waifu2x.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "waifu2x"
|
8
8
|
spec.version = Waifu2x::VERSION
|
9
9
|
spec.authors = ["Nihad Abbasov"]
|
10
|
-
spec.email = ["
|
10
|
+
spec.email = ["nihad@42na.in"]
|
11
11
|
|
12
12
|
spec.summary = %q{Ruby wrapper and CLI for waifu2x}
|
13
13
|
spec.description = %q{Noise Reduction and 2x Upscaling for anime style images}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waifu2x
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nihad Abbasov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
version: '0'
|
83
83
|
description: Noise Reduction and 2x Upscaling for anime style images
|
84
84
|
email:
|
85
|
-
-
|
85
|
+
- nihad@42na.in
|
86
86
|
executables:
|
87
87
|
- waifu2x
|
88
88
|
extensions: []
|
@@ -119,8 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
|
-
|
123
|
-
rubygems_version: 2.6.13
|
122
|
+
rubygems_version: 3.0.6
|
124
123
|
signing_key:
|
125
124
|
specification_version: 4
|
126
125
|
summary: Ruby wrapper and CLI for waifu2x
|