ruby-bepasty-client 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c28986881176e4d489f9ec0447c0643b297ab7e2a6d6e6790825de0559129a4
4
- data.tar.gz: 6b51fdfd43b03748d5beac6da3e3ded8b99d329b51070869d3faac5fdd85bc0b
3
+ metadata.gz: 0e0b3529d076b7261f02f5ed7d4afb2def9cd54926752bd9ca833a4f252cb994
4
+ data.tar.gz: 0a262a3e717893bcc2eec08081be63140974e32af8510346b8c348e5f8181d15
5
5
  SHA512:
6
- metadata.gz: 6d769558355a871020f05e59e6517c3db805cf22585ac17dd253a777a3532c9ecadcecab0b65bc3718ccb7c8d1f173e6459a00c0871eea6a211ba7d4a546e7cd
7
- data.tar.gz: f39fe2809f864ad65ae0cefb0eb5f21c48b5c01d72e77c4a0c89b955501e71da199b85117107bfabcc2dbe43208d945bd2a3f4b2426f88b6b0b44894a76a529b
6
+ metadata.gz: 28445fb9a6c2534dede9c2dacee91c06154fd329c1eca7f25462dab7787feed6f3ede9de746456e5409ef8a08cfb08d6725a54591659dec271eabfd199a0c456
7
+ data.tar.gz: e2a17681b0f0612adfa77596883f4a8b3887241677730bca6430572297f63df32b75a853d69eaf3a5bc81b847a1a7db92134128a47ad9c14b2dabdd6674c5552
@@ -62,7 +62,7 @@ module BepastyClient
62
62
  send_io = io
63
63
  else
64
64
  send_io = StringIO.new(io.read)
65
- content_type ||= 'text/plain'
65
+ content_type = 'text/plain' if content_type.nil? && filename.nil?
66
66
  end
67
67
 
68
68
  if @max_file_size && send_io.size > @max_file_size
@@ -1,3 +1,3 @@
1
1
  module BepastyClient
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
data/man/man1/bepastyrb.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH bepastyrb 8 2023\-05\-14 1.0.0
1
+ .TH bepastyrb 8 2023\-05\-14 1.0.3
2
2
  .SH NAME
3
3
  .PP
4
4
  \fB\fCbepastyrb\fR \- upload files to bepasty servers
@@ -1,4 +1,4 @@
1
- # bepastyrb 8 2023-05-14 1.0.0
1
+ # bepastyrb 8 2023-05-14 1.0.3
2
2
 
3
3
  ## NAME
4
4
  `bepastyrb` - upload files to bepasty servers
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-bepasty-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Skokan