make-sandwich 0.0.4 → 0.0.5
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.
- data/bin/make_sandwich +14 -0
- data/images/balogna.txt +14 -0
- data/images/basic.txt +14 -0
- data/images/deli.txt +19 -0
- data/images/drink.txt +27 -0
- data/make-sandwich.gemspec +1 -1
- metadata +13 -10
data/bin/make_sandwich
CHANGED
|
@@ -43,3 +43,17 @@ end
|
|
|
43
43
|
|
|
44
44
|
# Close the connection.
|
|
45
45
|
gmail.logout
|
|
46
|
+
|
|
47
|
+
root = File.expand_path(File.dirname(File.dirname(__FILE__)), "..")
|
|
48
|
+
|
|
49
|
+
images = Dir.entries(File.join(root, "images"))
|
|
50
|
+
images.delete(".")
|
|
51
|
+
images.delete("..")
|
|
52
|
+
|
|
53
|
+
File.open File.join(root, "images", images.sample), "r" do |file|
|
|
54
|
+
while line = file.gets
|
|
55
|
+
puts line
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
puts "Your sandwich will be delivered soon!\n\n"
|
data/images/balogna.txt
ADDED
data/images/basic.txt
ADDED
data/images/deli.txt
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
_.---._
|
|
2
|
+
_.-~ ~-._
|
|
3
|
+
_.-~ ~-._
|
|
4
|
+
_.-~ ~---._
|
|
5
|
+
_.-~ ~\
|
|
6
|
+
.-~ _.;
|
|
7
|
+
:-._ _.-~ ./
|
|
8
|
+
`-._~-._ _..__.-~ _.-~
|
|
9
|
+
/ ~-._~-._ / .__..--~----._
|
|
10
|
+
\_____(_;-._\. _.-~_/ ~).. . \
|
|
11
|
+
/(_____ \`--...--~_.-~______..-+_______)
|
|
12
|
+
.(_________/`--...--~/ _/nad /\
|
|
13
|
+
/-._ \_ (___./_..-~__.....__..-~./
|
|
14
|
+
`-._~-._ ~\--------~ .-~_..__.-~ _.-~
|
|
15
|
+
~-._~-._ ~---------' / .__..--~
|
|
16
|
+
~-._\. _.-~_/
|
|
17
|
+
\`--...--~_.-~
|
|
18
|
+
`--...--~
|
|
19
|
+
|
data/images/drink.txt
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
_
|
|
2
|
+
//
|
|
3
|
+
//
|
|
4
|
+
_______________//__
|
|
5
|
+
.(______________//___).
|
|
6
|
+
| / |
|
|
7
|
+
|. . . . . . . / . . .|
|
|
8
|
+
\ . . . . . ./. . . . /
|
|
9
|
+
| / ___ |
|
|
10
|
+
_.---._ |::......./../...\.:|
|
|
11
|
+
_.-~ ~-._ |::::/::\::/:\::::::|
|
|
12
|
+
_.-~ ~-._ |::::\::/::::::X:/::|
|
|
13
|
+
_.-~ ~---.;:::::::/::\::/:::::|
|
|
14
|
+
_.-~ ~\::::::n::::::::::|
|
|
15
|
+
.-~ _.;::/::::a::::::::/
|
|
16
|
+
:-._ _.-~ ./::::::::d:::::::|
|
|
17
|
+
`-._~-._ _..__.-~ _.-~|::/::::::::::::::|
|
|
18
|
+
/ ~-._~-._ / .__..--~----.YWWWWWWWWWWWWWWWP'
|
|
19
|
+
\_____(_;-._\. _.-~_/ ~).. . \
|
|
20
|
+
/(_____ \`--...--~_.-~______..-+_______)
|
|
21
|
+
.(_________/`--...--~/ _/ /\
|
|
22
|
+
/-._ \_ (___./_..-~__.....__..-~./
|
|
23
|
+
`-._~-._ ~\--------~ .-~_..__.-~ _.-~
|
|
24
|
+
~-._~-._ ~---------' / .__..--~
|
|
25
|
+
~-._\. _.-~_/
|
|
26
|
+
\`--...--~_.-~
|
|
27
|
+
`--...--~
|
data/make-sandwich.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: make-sandwich
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-03-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: gmail
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &70136631798920 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,10 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *70136631798920
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: ruby-gmail
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &70136631797920 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,10 +32,10 @@ dependencies:
|
|
|
32
32
|
version: '0'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *70136631797920
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: typhoeus
|
|
38
|
-
requirement: &
|
|
38
|
+
requirement: &70136631797440 !ruby/object:Gem::Requirement
|
|
39
39
|
none: false
|
|
40
40
|
requirements:
|
|
41
41
|
- - ! '>='
|
|
@@ -43,7 +43,7 @@ dependencies:
|
|
|
43
43
|
version: '0'
|
|
44
44
|
type: :runtime
|
|
45
45
|
prerelease: false
|
|
46
|
-
version_requirements: *
|
|
46
|
+
version_requirements: *70136631797440
|
|
47
47
|
description: Have an employee that loves making sandwiches... we do, but we're all
|
|
48
48
|
too lazy to take our headphones off to ask him whip one up. In an effort to solve
|
|
49
49
|
this I wrote make_sandwich.
|
|
@@ -61,6 +61,10 @@ files:
|
|
|
61
61
|
- README.md
|
|
62
62
|
- Rakefile
|
|
63
63
|
- bin/make_sandwich
|
|
64
|
+
- images/balogna.txt
|
|
65
|
+
- images/basic.txt
|
|
66
|
+
- images/deli.txt
|
|
67
|
+
- images/drink.txt
|
|
64
68
|
- make-sandwich.gemspec
|
|
65
69
|
homepage: https://github.com/generalthings/make_sandwich
|
|
66
70
|
licenses: []
|
|
@@ -82,9 +86,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
82
86
|
version: '0'
|
|
83
87
|
requirements: []
|
|
84
88
|
rubyforge_project: make-sandwich
|
|
85
|
-
rubygems_version: 1.8.
|
|
89
|
+
rubygems_version: 1.8.11
|
|
86
90
|
signing_key:
|
|
87
91
|
specification_version: 3
|
|
88
92
|
summary: Delicious, juicy, tender sandwiches on the command line.
|
|
89
93
|
test_files: []
|
|
90
|
-
has_rdoc:
|