amaranth 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/amaranth/version.rb +1 -1
- data/lib/amaranth/video.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa621e8b4782b30c0ea8ccc1be401742872345b5
|
4
|
+
data.tar.gz: 79c3ba3a21f95d6575e446c192074c643f68f9e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf78e074b04fe63d972a07b19527007cb2f1100dfdcfb5fd3822cf2437590b0a78385891ad07e663217198a8e2560b0b720ce7ac8f0f5f24042fb0d834ee932b
|
7
|
+
data.tar.gz: 9042283ef886c732d2317677a5278246520a5669771ef07a7af5e5fabec25713555e551d431a5c98f0381346e6c1a079a1c8fd306dca3d51c7b5cae4b75110c8
|
data/lib/amaranth/version.rb
CHANGED
data/lib/amaranth/video.rb
CHANGED
@@ -34,7 +34,7 @@ module Amaranth
|
|
34
34
|
def self.create_or_update_by_video_url video_url, attributes
|
35
35
|
Amaranth::Video.create attributes.merge(video_url: video_url)
|
36
36
|
rescue Amaranth::RequestError => exception
|
37
|
-
raise unless exception.message.include?("Video already
|
37
|
+
raise unless exception.message.include?("Video already ")
|
38
38
|
Amaranth::Video.find_by_video_url(video_url).update(attributes)
|
39
39
|
end
|
40
40
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amaranth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|