s3_media_server_api 0.1.2.1 → 0.1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5866349acabd1274b5248f931f217ad50d27924
4
- data.tar.gz: 5627c1a238b7f0117b9504a52d19b611fab53294
3
+ metadata.gz: 5ac65315e2322805f5b9d1364ff9c0eabd0f4e9d
4
+ data.tar.gz: 84ad5c095205ce1943f77fae992fce9906bd2798
5
5
  SHA512:
6
- metadata.gz: 56a6610f10678294c15563cdf03b0a65d3444fb8efa8b43878927e1d2611fb2b5c0341ff70f4b1927ca9cc1332b047bab5e16fd3bd3ebc959b1dc711d86de798
7
- data.tar.gz: 702af8ed0ad1be3cc12ab4c8404e6ab1c04347bbbe35069c4dcb2347107e18595c1a8a9e169ab5a206d86dcffc5a8821a7eb9bedb31e6e35c17c3efe45b2cd6f
6
+ metadata.gz: c735a64c83e6aa25e516add791021fa925c6d02bae5edef034127301bddd703099113e7e087d4eb6a33aef687a1077cc89365a700426873fa12414d2923c866e
7
+ data.tar.gz: c3a6f98e15da99109468355aa37f18f3fe119b75545efa598063597968f9829c9086618dd1980992c38a6b4d2af01ddb3d35efa1fc32c83e62bafc7ac999acbb
@@ -27,6 +27,7 @@ module S3MediaServerApi
27
27
  # start_position - position where cut wil be made
28
28
  #
29
29
  def cut(uuid, duration:, start_position:)
30
+ return unless uuid
30
31
  params = {
31
32
  uuid: uuid,
32
33
  duration: duration,
@@ -42,6 +42,7 @@ module S3MediaServerApi
42
42
  # returns: response with copied image
43
43
  #
44
44
  def copy(uuid)
45
+ return unless uuid
45
46
  Image.new(custom_sync_request(:copy, uuid: uuid))
46
47
  end
47
48
  #
@@ -49,6 +50,7 @@ module S3MediaServerApi
49
50
  # parameters: uuid - uuid of file
50
51
  #
51
52
  def resize(uuid)
53
+ return unless uuid
52
54
  custom_async_request(:resize, uuid: uuid)
53
55
  end
54
56
 
@@ -1,3 +1,3 @@
1
1
  module S3MediaServerApi
2
- VERSION = "0.1.2.1"
2
+ VERSION = "0.1.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3_media_server_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.1
4
+ version: 0.1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ayrat Badykov