airblade 0.0.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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 16a09321b5213ba1270e5e5c211a7b3a76dfd870
4
+ data.tar.gz: eb63ef88dfd43b5d2d805d60be1d0487b0f2b8e8
5
+ SHA512:
6
+ metadata.gz: 878cd6a8b66388cdc4bb9f18499e5cbcc68598fcbbd0b56d8c64474036711f5107ca7b9647952ea43884c52113333dec5010d0570743ce232e837ef2c22125f2
7
+ data.tar.gz: 2ab297521936767463309fc7cf2fe809c6b2ba094794054d5c9173ae2254cf22377dffb52f0bee7d4151b6e1d9d2b2a8f683ce7fd9f56707efbd51f0d88742a1
data/.gitignore ADDED
@@ -0,0 +1,22 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in airblade.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Jay Wengrow
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # Airblade
2
+
3
+ You don't want to type with wet hands, but you're not near any towels. What to do? Use the airblade gem to dry your hands straight from your Mac's terminal!
4
+
5
+ ## Installation
6
+
7
+ Run from your terminal:
8
+
9
+ $ gem install airblade
10
+
11
+ ## Usage
12
+
13
+ Inside your Mac terminal, simply run:
14
+
15
+ airblade
16
+
17
+ and your hands will be just as dry as if you used a real hand dryer!
18
+
19
+ ## Contributing
20
+
21
+ 1. Fork it ( https://github.com/[my-github-username]/airblade/fork )
22
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
23
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
24
+ 4. Push to the branch (`git push origin my-new-feature`)
25
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
data/airblade.gemspec ADDED
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'airblade/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "airblade"
8
+ spec.version = Airblade::VERSION
9
+ spec.authors = ["Jay Wengrow"]
10
+ spec.email = ["jaywngrw@gmail.com"]
11
+ spec.summary = %q{Dry your hands from your Mac terminal!}
12
+ spec.description = %q{You don't want to type with wet hands, but you're not near any towels. What to do? Use the airblade gem to dry your hands straight from your Mac's terminal!}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.6"
22
+ spec.add_development_dependency "rake"
23
+ end
data/bin/airblade.rb ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative "../lib/airblade/dryer.rb"
4
+
5
+ dryer = Airblade::Dryer.new
6
+ dryer.run
@@ -0,0 +1,31 @@
1
+ module Airblade
2
+ class Dryer
3
+ def run
4
+ puts
5
+ puts "The Dyson Airblade, the fastest and most hygenic hand-dryer in the world - NOW IN YOUR MAC TERMINAL!"
6
+ sleep 2
7
+ puts "Your hands will be just as dry as if you've used our physical version!"
8
+ puts
9
+ sleep 2
10
+ puts "Starting in 3 seconds..."
11
+ puts
12
+ sleep 1
13
+ puts "3"
14
+ sleep 1
15
+ puts "2"
16
+ sleep 1
17
+ puts "1"
18
+ sleep 1
19
+ puts
20
+ `say oooooooooooooooooooooooooooooooooooooooooooooooooooooooo`
21
+ puts "Hands still wet...."
22
+ `say oooooooooooooooooooooooooooooooooooooooooooooooooooooooo`
23
+ puts "Hands are still totally wet..."
24
+ `say oooooooooooooooooooooooooooooooooooooooooooooooooooooooo`
25
+ puts
26
+ sleep 1
27
+ puts "*Wipes hands on pants*"
28
+ puts
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,3 @@
1
+ module Airblade
2
+ VERSION = "0.0.1"
3
+ end
data/lib/airblade.rb ADDED
@@ -0,0 +1,6 @@
1
+ require "airblade/version"
2
+ require "airblade/dryer"
3
+
4
+ module Airblade
5
+
6
+ end
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: airblade
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jay Wengrow
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: You don't want to type with wet hands, but you're not near any towels.
42
+ What to do? Use the airblade gem to dry your hands straight from your Mac's terminal!
43
+ email:
44
+ - jaywngrw@gmail.com
45
+ executables:
46
+ - airblade.rb
47
+ extensions: []
48
+ extra_rdoc_files: []
49
+ files:
50
+ - ".gitignore"
51
+ - Gemfile
52
+ - LICENSE.txt
53
+ - README.md
54
+ - Rakefile
55
+ - airblade.gemspec
56
+ - bin/airblade.rb
57
+ - lib/airblade.rb
58
+ - lib/airblade/dryer.rb
59
+ - lib/airblade/version.rb
60
+ homepage: ''
61
+ licenses:
62
+ - MIT
63
+ metadata: {}
64
+ post_install_message:
65
+ rdoc_options: []
66
+ require_paths:
67
+ - lib
68
+ required_ruby_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ requirements: []
79
+ rubyforge_project:
80
+ rubygems_version: 2.2.2
81
+ signing_key:
82
+ specification_version: 4
83
+ summary: Dry your hands from your Mac terminal!
84
+ test_files: []