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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: bf8325f34e31f4bcb3fbed92ddf27eff4587c4ec
4
- data.tar.gz: 162f69e37cdba67e0514fa823186692b590a2349
2
+ SHA256:
3
+ metadata.gz: 76bd3fbbe7518f6daf3675f1c29e0706b32740a93cf428e036bf0b446f7113f8
4
+ data.tar.gz: ace2b2f26a4292767169320b4dfb033cfcb0fb705ee5a9ceceffcc6af5910801
5
5
  SHA512:
6
- metadata.gz: c4f21ede2d6db88f989eeeb985c2eda287f5641d856308d9aa9caadd536f735b20adfac6a38bb6188e94d2fafd81ff286b130f432895d6b509e9be2d69863ce0
7
- data.tar.gz: cc509bdc1db7fb7e8ba624f85722fdfb300802fdba57a97e71895c7f1cd78aa6416fc9f7a146834dec4de813953e227e2df2d8530eeb77cb0d4abb60d15d27eb
6
+ metadata.gz: b3241e56c22a9878e855fc4bf130f985f47a36cddb9b2151fe585ccc70fb2c6765e27e5afe0f13edcf2ea871ba2dd8c03a5963b714068505d7c385a4633ea733
7
+ data.tar.gz: b27474b21ba86d7b4ae95ecfe2862f86233cfe540aa4842dff75bd9723d2d9d117ae22a6bd2913ff712deea3a473bf72a4d7c72da9f94223f609fab50fb15723
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015, Nihad Abbasov <mail@narkoz.me>
1
+ Copyright (c) 2015, Nihad Abbasov <nihad@42na.in>
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
@@ -73,7 +73,9 @@ module Waifu2x
73
73
  end
74
74
  response = request.run
75
75
 
76
- if response.body.include?('File not found') || response.body.include?('Image file is not of type')
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
 
@@ -1,3 +1,3 @@
1
1
  module Waifu2x
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -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 = ["mail@narkoz.me"]
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.0
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: 2017-10-03 00:00:00.000000000 Z
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
- - mail@narkoz.me
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
- rubyforge_project:
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