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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b152327f8bc761ea5f613590ac01821aa603a20d
4
- data.tar.gz: 199e449dbec48741e8c25e148397a204e4abb4b9
3
+ metadata.gz: e5785c589c932aa7ce85713c7c501544aa6d4448
4
+ data.tar.gz: 2219cdee1662b14f82e26ab207b2dbae24539779
5
5
  SHA512:
6
- metadata.gz: f64920fa397303b78b8310b5cf5985de1a1d4e67c853ae864551a83df569573c123fcf7cb9c8e7bc1b2f61a368d93051e33f67e71d99837e5ec17ab100770d63
7
- data.tar.gz: 34a7b16e314b4500cf6a997d653d4dfb736e39bbd5201c1e515dd86f860b247764d6a282b2431d37432fc2fc6c7618fcd212e7c651d682dc6448bf10a57fec3a
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.2
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