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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bac1af1abfd0668929232ee46dd33c5c6e02f688
4
- data.tar.gz: 73706e49ac12f37398dc0eae5fc21972de32305a
3
+ metadata.gz: fa621e8b4782b30c0ea8ccc1be401742872345b5
4
+ data.tar.gz: 79c3ba3a21f95d6575e446c192074c643f68f9e2
5
5
  SHA512:
6
- metadata.gz: 3c3cbed124b5ddaea373553bec70ba3d8ebcd0724036abb0f238421f6a59ee2783995e45210e3894981778120cee18826880432710c60fc22081eff51e4e3c1a
7
- data.tar.gz: df4ddbdd1c0087c396bbc3d8511512809083031684ada8fc0cd46a625b2fa347a2374744ad352c5658eb2f9843897949a550ab222fecfa6d85547c39c5204eb8
6
+ metadata.gz: cf78e074b04fe63d972a07b19527007cb2f1100dfdcfb5fd3822cf2437590b0a78385891ad07e663217198a8e2560b0b720ce7ac8f0f5f24042fb0d834ee932b
7
+ data.tar.gz: 9042283ef886c732d2317677a5278246520a5669771ef07a7af5e5fabec25713555e551d431a5c98f0381346e6c1a079a1c8fd306dca3d51c7b5cae4b75110c8
@@ -1,3 +1,3 @@
1
1
  module Amaranth
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
@@ -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 exists")
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.1
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: 2017-12-16 00:00:00.000000000 Z
11
+ date: 2018-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake