title_grabber 0.3.2 → 0.3.3

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
  SHA256:
3
- metadata.gz: 8c1d79385bd87e3116d10dc56c14b69929dccb1eb2597e99ed2166c683146f59
4
- data.tar.gz: 1ea1fc865f6570c0ecb0f0f39c023585a9fac0c11dca43efbfe23a1d0aa1f075
3
+ metadata.gz: 92a1bcb0847898f17c59d593ab9cba0399698ca4fb895a04e0f640ba13cabb23
4
+ data.tar.gz: 4a207b40f92fafbe8b6aff81fe982c7e572894bbb7b36950d80c515d741c920a
5
5
  SHA512:
6
- metadata.gz: 3b2fe97ff3c4a8723b6bfa634f3bf00f8096375a9066c217359e6cae0e5ba657560093ebf647a4c042f82b482030a842c0896a94ceb71fd943143bd0f9fa03b3
7
- data.tar.gz: 936b43e66159e54246a57f59570e5dca550d4afbf87f7fae4bf1be8166af8fe0b1cab8d000409eb68293d4b5046ef40791574567010347e00ed20c359b9f5593
6
+ metadata.gz: f908ad1996a3228474d75c73ae519a14cfaa3455973f4cac7a33547d5ab36ab6c39ff80837c205cb746bb74b9baca63e2ffb4fb72394cd7801a1c56b2ac162fc
7
+ data.tar.gz: 54cf0f2d8d67341964d7d8e5487eb89ef1672f7d96d4c92cabbad6fd2c1d5ffad4d6116d0793ee26722600268704dca840707f8c9300a9ebbb22b8be02ba0473
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- title_grabber (0.3.2)
4
+ title_grabber (0.3.3)
5
5
  http (~> 4.1)
6
6
  oga (~> 2.15)
7
7
 
data/exe/title-grabber CHANGED
@@ -11,6 +11,11 @@ arguments = {}
11
11
  OptionParser.new do |args|
12
12
  args.banner = "Usage: #{script_path.basename} [options]"
13
13
 
14
+ args.on("-V", "--version", "Print program version and exit") do
15
+ print "#{script_path.basename} version #{TitleGrabber::VERSION}\n"
16
+ exit
17
+ end
18
+
14
19
  args.on("-o", "--output FILE", "Output file. Defaults to #{TitleGrabber::DEF_OUT_PATH.basename}") do |out|
15
20
  arguments[:output] = Pathname(out)
16
21
  end
@@ -1,3 +1,3 @@
1
1
  module TitleGrabber
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: title_grabber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cristian Rasch