video_info 1.3.0 → 1.3.1

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: 44fa17a8241b2ca3569f85f0629d413e14addcaf
4
- data.tar.gz: 6755a66961813006fe5b1d2217a8ff8c274857dd
3
+ metadata.gz: 76adc78f958cc1ad641ce265f0ebca09d5aca391
4
+ data.tar.gz: 64bc2cc5dc4e2c590beeaaad7b1b7f5ea3d5f7d4
5
5
  SHA512:
6
- metadata.gz: d10f94853d756b56ccc5a3fffd24f5dbe2f304ed3cd31a08aa1b72b1b9ed3ffe27173eab3a209e3a1c27ad54f7df4877b3937ecc0678286fde812aeaf9a43958
7
- data.tar.gz: b146c0484a3e6346a72d61062301d49f0ecb8e247da901d14b5ec33844046dd868ce392211db33433442a80b22997523529fabd28232a87949cdba308ec709c8
6
+ metadata.gz: a6816f0e0c9bf9e3fe7e077bf0c7748d1d5af5403c102f99e7aa417fe4c416f06b766f6c6250b55a7f723d9716bd483486251b9e7f60447e00a7e4351d1c9c33
7
+ data.tar.gz: 1d7e6adbd6e7a0d5aa2de43be2d330a2ab5f4907f3edfc00d8f7dc6bf0a4bbb512028d0d8baf51a61ace6361557d08c555f9a0f00158df1f161616632fddbf98
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 Thibaud Guillaume-Gentil
1
+ Copyright (c) 2013 Thibaud Guillaume-Gentil
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -12,7 +12,7 @@ module VideoInfo
12
12
  private
13
13
 
14
14
  def _url_regex
15
- /.*\.com\/(?:groups\/[^\/]+\/videos\/)?([0-9]+).*$/i
15
+ /.*\.com\/(?:(?:groups\/[^\/]+\/videos\/)|(?:video\/))?([0-9]+).*$/i
16
16
  end
17
17
 
18
18
  def _set_info_from_api
@@ -1,3 +1,3 @@
1
1
  module VideoInfo
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibaud Guillaume-Gentil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-16 00:00:00.000000000 Z
11
+ date: 2013-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json