funky 0.2.1 → 0.2.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: d76c2fdd3918dd49adec887a52a8cd55d1062658
4
- data.tar.gz: 60c4af9c11e05e4d40c9d077e03a5847131580bb
3
+ metadata.gz: 68ffa2a66f6364a42dac6eb44ea60aee2811d504
4
+ data.tar.gz: b2bb9145545b3c9a98004bd85d7ea06e0181e652
5
5
  SHA512:
6
- metadata.gz: f0a9bdfdc29390b523a28d83af059744a3b7ede1a55089881aa83e2b94b0195dfd4acdd93b3cdbcc38f6653fc23ffdf320862fd89fb63d73939e0d7fded85c0e
7
- data.tar.gz: b62532c7eeeb17680771a2d30b40cc2a82c6f06b2cce55594d6855bff4d4f6d6e9e8b0318eb7c12a42fd95bbd2506d9a11bdeb0d6488ba6a3d591e0c9503a7d9
6
+ metadata.gz: 2af4493aa81af777cb8fb49a26d9200bb88445b10b48bf2a9dade91ca3f3095e908f733aa5f54094c3f6ac49cace7362bb14fa914a546ad2feede55e6bf482b4
7
+ data.tar.gz: 9c486216b4d044aaea14fc9a89749db2b6c0ad3962e5f308f60d47524d2287f3a2a716a3b597c3ea6a08a2ca8a2774608cc17532d0c4c1f5bbc727d7bde6dbd1
data/CHANGELOG.md CHANGED
@@ -6,6 +6,11 @@ For more information about changelogs, check
6
6
  [Keep a Changelog](http://keepachangelog.com) and
7
7
  [Vandamme](http://tech-angels.github.io/vandamme).
8
8
 
9
+ ## 0.2.2 - 2016/06/17
10
+
11
+ * [BUGFIX] Single video id passed to the `Funky::Video.where` clause will not
12
+ error even if the response is not 200. It would return an empty array.
13
+
9
14
  ## 0.2.1 - 2016/06/16
10
15
 
11
16
  * [FEATURE] Add method to find video by url, `Funky::Video.find_by_url!(url)`.
data/lib/funky/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Funky
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
data/lib/funky/video.rb CHANGED
@@ -116,6 +116,8 @@ module Funky
116
116
  response = Connection::API.request(id: id, fields: fields)
117
117
  end
118
118
  parse response
119
+ rescue ContentNotFound
120
+ []
119
121
  end
120
122
 
121
123
  def self.parse(response)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: funky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philip Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2016-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  version: '0'
147
147
  requirements: []
148
148
  rubyforge_project:
149
- rubygems_version: 2.6.4
149
+ rubygems_version: 2.5.1
150
150
  signing_key:
151
151
  specification_version: 4
152
152
  summary: Funky is a Ruby library to fetch video data.