another_place 0.0.2 → 0.0.3
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 +4 -4
- data/lib/another_place/application/clues.rb +68 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e5785c589c932aa7ce85713c7c501544aa6d4448
|
|
4
|
+
data.tar.gz: 2219cdee1662b14f82e26ab207b2dbae24539779
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c53999c1969e9ba116fa5aea23b8b23c76330e61305cc67467a1b1e64f130d4f8e9946be6fc75667541035e9b5eff9fd52abba94e9a444a106425d23dbcc294b
|
|
7
|
+
data.tar.gz: 095bb22ae9f3e32aef1d528dc71ce21dd4cb2faf37eed4a0ba37dc639b7a68c5ecf34658712fb192a8d5e22af64308726f19998c2e685cb8c89c02b7c590bd37
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
module Clues
|
|
2
|
+
|
|
3
|
+
# header
|
|
4
|
+
# puzzle
|
|
5
|
+
# query
|
|
6
|
+
# puzzle
|
|
7
|
+
# data
|
|
8
|
+
# puzzle
|
|
9
|
+
|
|
10
|
+
CLUES = [
|
|
11
|
+
{
|
|
12
|
+
url: "/pies",
|
|
13
|
+
method: "get",
|
|
14
|
+
clue: "last character of every value in a hash",
|
|
15
|
+
puzzle: {
|
|
16
|
+
sushi: "tuna",
|
|
17
|
+
spice_level: "XX",
|
|
18
|
+
test: "IQ",
|
|
19
|
+
insect: "bug",
|
|
20
|
+
missing: "vitamin: d",
|
|
21
|
+
nosebleeds: "2",
|
|
22
|
+
nickname: "BIFF",
|
|
23
|
+
trailer: "zardoz"
|
|
24
|
+
},
|
|
25
|
+
code: "aXQgd2Fz"
|
|
26
|
+
# it was
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
url: "/coffee/?black=true",
|
|
30
|
+
method: "delete",
|
|
31
|
+
clue: "first character of every key in a hash",
|
|
32
|
+
code: "cGo=" #pj
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
url: "/ladies/?type=log",
|
|
36
|
+
method: "get",
|
|
37
|
+
clue: "all the odd elements in an array, reversed",
|
|
38
|
+
puzzle: [ "l", 119, "h", "MU", "G", "AT", "d", 145, "g", "ID", "4", "HQ", "W", "YY", "a", 404 ],
|
|
39
|
+
code: "aW4gdGhl" # in the
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
method: "get",
|
|
43
|
+
url: "/meditations/type=mantra&eyes=closed",
|
|
44
|
+
clue: "all numbers to `char` and all the letters to `ord`",
|
|
45
|
+
puzzle: [99, 109, "\t", 118, 100, 67, 66, 107, 97, 88, 74, 108, 89, "\x03", 82, 118, 99, 110, 107, 61],
|
|
46
|
+
code: "cm9vdCBkaXJlY3Rvcnk=" # root directory
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
post: "[/owls]/7",
|
|
50
|
+
data: { "eyes" => true },
|
|
51
|
+
code: "d2l0aCB0aGU=" # with the
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
url: "/gums/",
|
|
55
|
+
method: "post",
|
|
56
|
+
data: { news: "good", in_style: true },
|
|
57
|
+
clue: "http://ruby-doc.org/stdlib-2.1.2/libdoc/base64/rdoc/Base64.html",
|
|
58
|
+
code: "cm0gLXJm" # rm -rf
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
HINTS = [
|
|
62
|
+
"I like Twin Peaks",
|
|
63
|
+
"Join your hints together",
|
|
64
|
+
"Try using query strings",
|
|
65
|
+
"The owls have eyes",
|
|
66
|
+
"Always check your headers"
|
|
67
|
+
]
|
|
68
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: another_place
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- phlco
|
|
@@ -19,6 +19,7 @@ extra_rdoc_files: []
|
|
|
19
19
|
files:
|
|
20
20
|
- bin/another_place
|
|
21
21
|
- lib/another_place/application/app.rb
|
|
22
|
+
- lib/another_place/application/clues.rb
|
|
22
23
|
homepage: http://rubygems.org/gems/another_place
|
|
23
24
|
licenses:
|
|
24
25
|
- MIT
|