fsgif 0.3.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.
Files changed (8) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +2 -0
  3. data/Gemfile.lock +17 -0
  4. data/Procfile +1 -0
  5. data/bin/fsgif +3 -0
  6. data/config.ru +6 -0
  7. data/fsgif.gemspec +12 -0
  8. metadata +51 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: da557c258f149114f95e058ce6905ff373282725
4
+ data.tar.gz: f3a2ae8414f3118517e4f487eb9223507057ee48
5
+ SHA512:
6
+ metadata.gz: 1deb6cece3998109c96e67be89f348e6585be1c2459f033c7ac76479f4a0027e584941b647de84f2f633a0f640933b635da868e7b0450f3591efc8ccf97ca872
7
+ data.tar.gz: a43a4660ae39edc35bdc7fb066f65f5db21b443b7e63227b479fe66dcf6dc4e0c18effc532fd86e4e4dc84387bae703f6da3a592774748b17bef491a13df8a52
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gem "sinatra"
data/Gemfile.lock ADDED
@@ -0,0 +1,17 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ rack (1.5.2)
5
+ rack-protection (1.5.1)
6
+ rack
7
+ sinatra (1.4.4)
8
+ rack (~> 1.4)
9
+ rack-protection (~> 1.4)
10
+ tilt (~> 1.3, >= 1.3.4)
11
+ tilt (1.4.1)
12
+
13
+ PLATFORMS
14
+ ruby
15
+
16
+ DEPENDENCIES
17
+ sinatra
data/Procfile ADDED
@@ -0,0 +1 @@
1
+ web: bundle exec rackup -p $PORT
data/bin/fsgif ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ @url = "http://gif.h4q.me/?url=#{ $*[0] }?dl=1"
3
+ `echo #@url | pbcopy`; puts "Copied to clipboard: #@url"
data/config.ru ADDED
@@ -0,0 +1,6 @@
1
+ require 'sinatra'
2
+ get(//) { erb :t }
3
+ run Sinatra::Application
4
+ __END__
5
+ @@ t
6
+ <html><style>html { background: url(<%= params[:url] %>) #000 no-repeat center / contain; height: 100%; width: 100%; }</style></html>
data/fsgif.gemspec ADDED
@@ -0,0 +1,12 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = "fsgif"
3
+ spec.version = "0.3.0"
4
+ spec.authors = ["Phillip Ridlen"]
5
+ spec.email = ["p@rdln.net"]
6
+ spec.description = %q{View images full screen your browser}
7
+ spec.summary = %q{Copies a URL to your clipboard to an image}
8
+ spec.homepage = "https://github.com/philtr/fsgif"
9
+ spec.license = "MIT"
10
+ spec.files = `git ls-files`.split($/)
11
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
12
+ end
metadata ADDED
@@ -0,0 +1,51 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fsgif
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ platform: ruby
6
+ authors:
7
+ - Phillip Ridlen
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-21 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: View images full screen your browser
14
+ email:
15
+ - p@rdln.net
16
+ executables:
17
+ - fsgif
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - Gemfile
22
+ - Gemfile.lock
23
+ - Procfile
24
+ - bin/fsgif
25
+ - config.ru
26
+ - fsgif.gemspec
27
+ homepage: https://github.com/philtr/fsgif
28
+ licenses:
29
+ - MIT
30
+ metadata: {}
31
+ post_install_message:
32
+ rdoc_options: []
33
+ require_paths:
34
+ - lib
35
+ required_ruby_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ required_rubygems_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ requirements: []
46
+ rubyforge_project:
47
+ rubygems_version: 2.0.3
48
+ signing_key:
49
+ specification_version: 4
50
+ summary: Copies a URL to your clipboard to an image
51
+ test_files: []