vid2gif 0.0.1 → 0.0.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: c76ffb4af0de09b6b1091d4d9b3b1f6216982f25
4
- data.tar.gz: 880ab43898254520cb38279e225635df422d8e02
3
+ metadata.gz: be579738febf2f7ab5d60c481d9d3d527216317f
4
+ data.tar.gz: 25e16e8c47fdf10f7fc807aad13e5e5fb3efbd20
5
5
  SHA512:
6
- metadata.gz: b544c2fce166797172425bdd3fe74935865303d6aca716964a9b5cc54ad1e0dd742a46d16344dc2b2776210981be820484ec9817bacb535c513d4bde97d0662a
7
- data.tar.gz: 0f36c0ed042e1712dad6443bd8e2568ede24f1a0ae9f9621d71c689fa52e4390b38393adc12c521ca947ce7d548ce16c8fdb8b3d93a6744e79ff3ef460b8f62b
6
+ metadata.gz: 964607d72eb99dcabf92b833d68b50f89ba0b4f854219ebf32c9bd94f090c3008fd14be2ecafcd94502250a0aed5a5841e3cffadf925d5de7a1d375abf05defa
7
+ data.tar.gz: 909867829b7eca2e15e065141d631c4d9380157bfef372d34f086ea74521772d895bd4a5de1baafd4238f662d14fc3664a7ec0e0cc95923c77c6122ca411793d
@@ -81,6 +81,12 @@ OptionParser.new do |opts|
81
81
  end
82
82
  end.parse!
83
83
 
84
+ if ARGV.empty?
85
+ puts 'Usage: vid2gif [options] filename.mp4'
86
+ puts '(see -h for complete usage)'
87
+ exit
88
+ end
89
+
84
90
  palette = Tempfile.new(['gif_palette', '.gif'])
85
91
 
86
92
  filters = []
@@ -1,3 +1,3 @@
1
1
  module Vid2gif
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vid2gif
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Sandberg
@@ -43,7 +43,7 @@ description: Simple tool based around ffmpeg for making gifs out of videos, from
43
43
  email:
44
44
  - paradox460@gmail.com
45
45
  executables:
46
- - vid2gif.rb
46
+ - vid2gif
47
47
  extensions: []
48
48
  extra_rdoc_files: []
49
49
  files:
@@ -52,7 +52,7 @@ files:
52
52
  - LICENSE.txt
53
53
  - README.md
54
54
  - Rakefile
55
- - bin/vid2gif.rb
55
+ - bin/vid2gif
56
56
  - lib/vid2gif.rb
57
57
  - lib/vid2gif/version.rb
58
58
  - vid2gif.gemspec