vimaly 1.0.0 → 1.0.2
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 +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +1 -0
- data/CHANGELOG.md +8 -0
- data/lib/vimaly/client.rb +1 -1
- data/lib/vimaly/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d72a2025b7696e9d5282376e74beed0a99a089b9714cd9469bf93c0a4c636d39
|
|
4
|
+
data.tar.gz: 7f27cc5960df434c36e292c7e61fc0723d5306d12601b8c628ed75033c024fbf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efb54c0796cead3eec74b605aaf6106ecb612c2e9ff2442a57abe135264ee4cb9d9ee3bc7fddb692790c36f9e25e4549335ae69375028b99f68c1eacb946003b
|
|
7
|
+
data.tar.gz: ea232fd63fa12c2cec8b52547a3741a7a8f760900ad8768ad6e889300055443a8a3b50a80806d6a02c1c3fad52fa33adcdee409d895bf3582cc159508d3df15a
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.6.3
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 1.0.2
|
|
4
|
+
|
|
5
|
+
* Fix unfriendly filenames not attaching to Vimaly tickets [#17](https://github.com/sharesight/vimaly/pull/17)
|
|
6
|
+
|
|
7
|
+
## 1.0.1
|
|
8
|
+
|
|
9
|
+
* Update for Ruby 2.6.3 compatibility.
|
|
10
|
+
|
|
3
11
|
## 1.0.0
|
|
4
12
|
|
|
5
13
|
* allow adding attachments with providing a content-type [#15](https://github.com/sharesight/vimaly/pull/15)
|
data/lib/vimaly/client.rb
CHANGED
|
@@ -55,7 +55,7 @@ module Vimaly
|
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
def add_attachment(ticket_id, file_name, file_content, request_options={})
|
|
58
|
-
response = post("/tickets/#{ticket_id}/attachments?name=#{file_name}", file_content, request_options)
|
|
58
|
+
response = post("/tickets/#{ticket_id}/attachments?name=#{CGI.escape(file_name)}", file_content, request_options)
|
|
59
59
|
case response.status
|
|
60
60
|
when 200..299
|
|
61
61
|
true
|
data/lib/vimaly/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vimaly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thorsten Boettger
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-06-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
181
181
|
- !ruby/object:Gem::Version
|
|
182
182
|
version: '0'
|
|
183
183
|
requirements: []
|
|
184
|
-
rubygems_version: 3.0.
|
|
184
|
+
rubygems_version: 3.0.4
|
|
185
185
|
signing_key:
|
|
186
186
|
specification_version: 4
|
|
187
187
|
summary: Wrapper for the Vimaly API
|