videoinfo 0.3.0 → 0.4.0

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: 6a711fc7dead1f2ce7f276adf40cdafaabdc330f
4
- data.tar.gz: 44dbe1068c42866e9aec65f845a5badb8b3a818c
3
+ metadata.gz: a86593efef4a57d606da91d247d826ee4fb153ba
4
+ data.tar.gz: 97f1924ce62876d15b980c9083f93466a0d9fc11
5
5
  SHA512:
6
- metadata.gz: 34c86fd64c085cca95dbcd04a3a0544c04ee6ea63de48ae24d74faa38e29079454d59bbd34b3cad9907421e54efe8e389a781c09249893d5b5f1cce46586bc88
7
- data.tar.gz: 2529d50d3acd66ecdd76056fd085a54ccedc159fe2aabbe1b3f08fb10bdadda0487b3389b5174f3750edd587f8b69ec0cffe6a4aa4d63982bebe16af3d048fea
6
+ metadata.gz: 7710e0b861920c50b3689ae184a7dc5484627367bcf4f87ea1b31cbcc11bf982cee21f0359826318ec3ba2dfd2ea74b50fc65a70cc85286b145230f2aa9382e2
7
+ data.tar.gz: 1cc9288f163af5cf4f0b2beb0403a75ef824f6233bb535986e6a3aa75c44a2ed59fc0ed1d6d51e2b3a5ea806669db97594ba747ebe319157751420a8097e9e54
@@ -1,5 +1,8 @@
1
1
  ## CHANGELOG
2
2
 
3
+ #### Version 0.4.0 (August 8, 2014)
4
+ * Fixed using custom image hosts from the command line
5
+
3
6
  #### Version 0.3.0 (August 8, 2014)
4
7
  * More flexible CLI when using custom image hosts
5
8
 
@@ -31,6 +31,8 @@ module Videoinfo
31
31
  end
32
32
  end
33
33
 
34
+ name, file = option_parser.parse!(args)
35
+
34
36
  begin
35
37
  Videoinfo.image_host = Videoinfo::ImageHosts.const_get(image_host).new
36
38
  rescue
@@ -39,7 +41,6 @@ module Videoinfo
39
41
  exit 1
40
42
  end
41
43
 
42
- name, file = option_parser.parse!(args)
43
44
  if name.to_s == '' || file.to_s == ''
44
45
  STDERR.puts option_parser
45
46
  exit 1
@@ -1,3 +1,3 @@
1
1
  module Videoinfo
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: videoinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Johns