dyson_airblade 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +26 -0
- data/Rakefile +2 -0
- data/bin/blade +6 -0
- data/dyson_airblade.gemspec +23 -0
- data/lib/dyson_airblade.rb +5 -0
- data/lib/dyson_airblade/dryer.rb +35 -0
- data/lib/dyson_airblade/version.rb +3 -0
- metadata +84 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cb3a4df9fec24302be3821f24dd03a4eec3c2dad
|
4
|
+
data.tar.gz: 2dd1962ea2625992e609fc1dbed6b32712298b57
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f7135f8af064ac8928d96dee0984602a5ec55232bc0e944226e25271e3ab269e25396ecf80184a895818f31a66b43f610df03a4cec129d53952de00da568919c
|
7
|
+
data.tar.gz: c132a1f552bfdc734462bd6166a11907aca2f9df7bc3787f8807b5422d1942b7265f91998e90b9628ba80e3a4f3e1d1be7f0d001c48c205ff638131c2ac1e113
|
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
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,26 @@
|
|
1
|
+
# DysonAirblade
|
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 dyson_airblade
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
Inside your Mac terminal, simply run:
|
14
|
+
|
15
|
+
blade
|
16
|
+
|
17
|
+
and your hands will be just as dry as if you used a real hand dryer!
|
18
|
+
|
19
|
+
|
20
|
+
## Contributing
|
21
|
+
|
22
|
+
1. Fork it ( https://github.com/[my-github-username]/dyson_airblade/fork )
|
23
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
24
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
25
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
26
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
data/bin/blade
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 'dyson_airblade/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "dyson_airblade"
|
8
|
+
spec.version = DysonAirblade::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
|
@@ -0,0 +1,35 @@
|
|
1
|
+
module DysonAirblade
|
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
|
+
|
31
|
+
def speak
|
32
|
+
`say "I'm the best!"`
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
metadata
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: dyson_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
|
+
- blade
|
47
|
+
extensions: []
|
48
|
+
extra_rdoc_files: []
|
49
|
+
files:
|
50
|
+
- ".gitignore"
|
51
|
+
- Gemfile
|
52
|
+
- LICENSE.txt
|
53
|
+
- README.md
|
54
|
+
- Rakefile
|
55
|
+
- bin/blade
|
56
|
+
- dyson_airblade.gemspec
|
57
|
+
- lib/dyson_airblade.rb
|
58
|
+
- lib/dyson_airblade/dryer.rb
|
59
|
+
- lib/dyson_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: []
|