fsgif 0.4.0 → 0.4.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/fsgif +2 -4
  3. data/fsgif.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db063860cd80ed77ea99514072ef32b259c5019b
4
- data.tar.gz: 06e0e77895f6aaa3cbc99fdeec7973eb070c7fe0
3
+ metadata.gz: 76dc7034e8fb370322c7cf3a904308be1c2b755a
4
+ data.tar.gz: 7451aa939777cac0ea3e761c37863d018609618a
5
5
  SHA512:
6
- metadata.gz: ee7b7074eafa72066a434019fcdf68098ab0f4778f975732311852383d4acb2c35b7dfd843796c41aa1db0b5bfed72dfb01ecbc9e6ab87706bcec3467a4af1da
7
- data.tar.gz: 1eaf6c62b3e1466a5b2a7b7b53b755b9437097ae668ba0dadd74d1a33ca480ed6f1ee43cf1cd840798162a2f56bf957e397f02046536f3a0ac28d68e547c134f
6
+ metadata.gz: ae955a0ad3a0176e466c8e785ffc3da22df7cbc90f31a2a5f00041fd12275168558dfc6517b7ad838988a7e852ac3f629c4c52a92fa6de804f748fb0646daa61
7
+ data.tar.gz: 938e204e85e7ffbb470e3304084da713fd6d9bb99007c7c645b363e90a65072a70c410dc38a407d3c2ffdbcfabac1f990440aed3203d718dcb87ef35870fddd9
data/bin/fsgif CHANGED
@@ -1,6 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'optparse'
3
- OptionParser.new { |opts| opts.on("-h","--hostname [HOSTNAME]","Use custom hostname") { |h| @host = h } }.parse!
4
- @host ||= "gif.h4q.me"
5
- @url = "http://#@host/?url=#{ $*[0] }?dl=1"
6
- `echo #@url | pbcopy`; puts "Copied to clipboard: #@url"
3
+ @url = "http://#{ $*.getopts("h:")["h"] || "gif.h4q.me" }/?url=#{ $*[0] }"
4
+ puts "#{ `echo "#@url" | pbcopy` }Copied to clipboard: #@url"
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "fsgif"
3
- spec.version = "0.4.0"
3
+ spec.version = "0.4.1"
4
4
  spec.authors = ["Phillip Ridlen"]
5
5
  spec.email = ["p@rdln.net"]
6
6
  spec.description = %q{View images full screen your browser}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fsgif
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phillip Ridlen