ronin-support 0.1.0.pre2 → 0.1.0.pre3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. data/COPYING.txt +158 -497
  2. data/ChangeLog.md +1 -0
  3. data/Gemfile +3 -9
  4. data/README.md +11 -14
  5. data/gemspec.yml +1 -1
  6. data/lib/ronin/extensions.rb +11 -13
  7. data/lib/ronin/extensions/file.rb +11 -13
  8. data/lib/ronin/extensions/ip_addr.rb +11 -13
  9. data/lib/ronin/extensions/kernel.rb +11 -13
  10. data/lib/ronin/extensions/meta.rb +11 -13
  11. data/lib/ronin/extensions/string.rb +11 -13
  12. data/lib/ronin/formatting.rb +11 -13
  13. data/lib/ronin/formatting/binary.rb +11 -13
  14. data/lib/ronin/formatting/digest.rb +11 -13
  15. data/lib/ronin/formatting/extensions.rb +11 -13
  16. data/lib/ronin/formatting/extensions/binary.rb +11 -13
  17. data/lib/ronin/formatting/extensions/binary/file.rb +11 -13
  18. data/lib/ronin/formatting/extensions/binary/integer.rb +11 -13
  19. data/lib/ronin/formatting/extensions/binary/string.rb +11 -13
  20. data/lib/ronin/formatting/extensions/digest.rb +11 -13
  21. data/lib/ronin/formatting/extensions/digest/file.rb +11 -13
  22. data/lib/ronin/formatting/extensions/digest/string.rb +11 -13
  23. data/lib/ronin/formatting/extensions/http.rb +11 -13
  24. data/lib/ronin/formatting/extensions/http/integer.rb +11 -13
  25. data/lib/ronin/formatting/extensions/http/string.rb +11 -13
  26. data/lib/ronin/formatting/extensions/text.rb +11 -13
  27. data/lib/ronin/formatting/extensions/text/array.rb +11 -13
  28. data/lib/ronin/formatting/extensions/text/string.rb +11 -13
  29. data/lib/ronin/formatting/http.rb +11 -13
  30. data/lib/ronin/formatting/text.rb +11 -13
  31. data/lib/ronin/network.rb +11 -13
  32. data/lib/ronin/network/esmtp.rb +11 -13
  33. data/lib/ronin/network/extensions.rb +11 -13
  34. data/lib/ronin/network/extensions/esmtp.rb +11 -13
  35. data/lib/ronin/network/extensions/esmtp/net.rb +11 -13
  36. data/lib/ronin/network/extensions/http.rb +11 -13
  37. data/lib/ronin/network/extensions/http/net.rb +11 -13
  38. data/lib/ronin/network/extensions/imap.rb +11 -13
  39. data/lib/ronin/network/extensions/imap/net.rb +11 -13
  40. data/lib/ronin/network/extensions/pop3.rb +11 -13
  41. data/lib/ronin/network/extensions/pop3/net.rb +11 -13
  42. data/lib/ronin/network/extensions/smtp.rb +11 -13
  43. data/lib/ronin/network/extensions/smtp/net.rb +11 -13
  44. data/lib/ronin/network/extensions/ssl.rb +11 -13
  45. data/lib/ronin/network/extensions/ssl/net.rb +11 -13
  46. data/lib/ronin/network/extensions/tcp.rb +11 -13
  47. data/lib/ronin/network/extensions/tcp/net.rb +11 -13
  48. data/lib/ronin/network/extensions/telnet.rb +11 -13
  49. data/lib/ronin/network/extensions/telnet/net.rb +11 -13
  50. data/lib/ronin/network/extensions/udp.rb +11 -13
  51. data/lib/ronin/network/extensions/udp/net.rb +11 -13
  52. data/lib/ronin/network/http.rb +11 -13
  53. data/lib/ronin/network/http/exceptions.rb +11 -13
  54. data/lib/ronin/network/http/exceptions/unknown_request.rb +11 -13
  55. data/lib/ronin/network/http/http.rb +11 -13
  56. data/lib/ronin/network/http/proxy.rb +11 -13
  57. data/lib/ronin/network/imap.rb +11 -13
  58. data/lib/ronin/network/network.rb +11 -13
  59. data/lib/ronin/network/pop3.rb +11 -13
  60. data/lib/ronin/network/smtp.rb +11 -13
  61. data/lib/ronin/network/smtp/email.rb +11 -13
  62. data/lib/ronin/network/smtp/smtp.rb +11 -13
  63. data/lib/ronin/network/ssl.rb +11 -13
  64. data/lib/ronin/network/tcp.rb +11 -13
  65. data/lib/ronin/network/telnet.rb +11 -13
  66. data/lib/ronin/network/udp.rb +11 -13
  67. data/lib/ronin/path.rb +11 -13
  68. data/lib/ronin/support.rb +11 -13
  69. data/lib/ronin/support/inflector.rb +9 -10
  70. data/lib/ronin/support/version.rb +12 -14
  71. data/lib/ronin/templates.rb +11 -13
  72. data/lib/ronin/templates/erb.rb +11 -13
  73. data/lib/ronin/templates/template.rb +11 -13
  74. data/spec/extensions/ip_addr_spec.rb +5 -5
  75. data/spec/extensions/kernel_spec.rb +1 -1
  76. data/spec/extensions/string_spec.rb +6 -6
  77. data/spec/formatting/binary/integer_spec.rb +3 -3
  78. data/spec/formatting/binary/string_spec.rb +11 -11
  79. data/spec/formatting/digest/string_spec.rb +5 -5
  80. data/spec/formatting/http/integer_spec.rb +3 -3
  81. data/spec/formatting/http/string_spec.rb +5 -5
  82. data/spec/formatting/text/array_spec.rb +5 -5
  83. data/spec/formatting/text/string_spec.rb +5 -5
  84. data/spec/network/http/proxy_spec.rb +0 -2
  85. data/spec/path_spec.rb +9 -7
  86. metadata +4 -4
@@ -1,21 +1,20 @@
1
1
  #
2
- # Ronin Support - A support library for Ronin.
2
+ # Copyright (c) 2006-2011 Hal Brodigan (postmodern.mod3 at gmail.com)
3
3
  #
4
- # Copyright (c) 2010 Hal Brodigan (postmodern.mod3 at gmail.com)
4
+ # This file is part of Ronin Support.
5
5
  #
6
- # This program is free software; you can redistribute it and/or modify
7
- # it under the terms of the GNU General Public License as published by
8
- # the Free Software Foundation; either version 2 of the License, or
6
+ # Ronin Support is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU Lesser General Public License as publishe by
8
+ # the Free Software Foundation, either version 3 of the License, or
9
9
  # (at your option) any later version.
10
10
  #
11
- # This program is distributed in the hope that it will be useful,
11
+ # Ronin Support is distributed in the hope that it will be useful,
12
12
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
13
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- # GNU General Public License for more details.
14
+ # GNU Lesser General Public License for more details.
15
15
  #
16
- # You should have received a copy of the GNU General Public License
17
- # along with this program; if not, write to the Free Software
18
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16
+ # You should have received a copy of the GNU Lesser General Public License
17
+ # along with Ronin Support. If not, see <http://www.gnu.org/licenses/>.
19
18
  #
20
19
 
21
20
  begin
@@ -1,27 +1,25 @@
1
1
  #
2
- # Ronin Support - A support library for Ronin.
2
+ # Copyright (c) 2006-2011 Hal Brodigan (postmodern.mod3 at gmail.com)
3
3
  #
4
- # Copyright (c) 2010 Hal Brodigan (postmodern.mod3 at gmail.com)
4
+ # This file is part of Ronin Support.
5
5
  #
6
- # This library is free software; you can redistribute it and/or
7
- # modify it under the terms of the GNU Lesser General Public
8
- # License as published by the Free Software Foundation; either
9
- # version 2.1 of the License, or (at your option) any later version.
6
+ # Ronin Support is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU Lesser General Public License as publishe by
8
+ # the Free Software Foundation, either version 3 of the License, or
9
+ # (at your option) any later version.
10
10
  #
11
- # This library is distributed in the hope that it will be useful,
11
+ # Ronin Support is distributed in the hope that it will be useful,
12
12
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- # Lesser General Public License for more details.
13
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ # GNU Lesser General Public License for more details.
15
15
  #
16
- # You should have received a copy of the GNU Lesser General Public
17
- # License along with this library; if not, write to the Free Software
18
- # Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
- # Boston, MA 02110-1301 USA
16
+ # You should have received a copy of the GNU Lesser General Public License
17
+ # along with Ronin Support. If not, see <http://www.gnu.org/licenses/>.
20
18
  #
21
19
 
22
20
  module Ronin
23
21
  module Support
24
22
  # ronin-support version
25
- VERSION = '0.1.0.pre2'
23
+ VERSION = '0.1.0.pre3'
26
24
  end
27
25
  end
@@ -1,22 +1,20 @@
1
1
  #
2
- # Ronin - A Ruby platform for exploit development and security research.
2
+ # Copyright (c) 2006-2011 Hal Brodigan (postmodern.mod3 at gmail.com)
3
3
  #
4
- # Copyright (c) 2006-2010 Hal Brodigan (postmodern.mod3 at gmail.com)
4
+ # This file is part of Ronin Support.
5
5
  #
6
- # This library is free software; you can redistribute it and/or
7
- # modify it under the terms of the GNU Lesser General Public
8
- # License as published by the Free Software Foundation; either
9
- # version 2.1 of the License, or (at your option) any later version.
6
+ # Ronin Support is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU Lesser General Public License as publishe by
8
+ # the Free Software Foundation, either version 3 of the License, or
9
+ # (at your option) any later version.
10
10
  #
11
- # This library is distributed in the hope that it will be useful,
11
+ # Ronin Support is distributed in the hope that it will be useful,
12
12
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- # Lesser General Public License for more details.
13
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ # GNU Lesser General Public License for more details.
15
15
  #
16
- # You should have received a copy of the GNU Lesser General Public
17
- # License along with this library; if not, write to the Free Software
18
- # Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
- # Boston, MA 02110-1301 USA
16
+ # You should have received a copy of the GNU Lesser General Public License
17
+ # along with Ronin Support. If not, see <http://www.gnu.org/licenses/>.
20
18
  #
21
19
 
22
20
  require 'ronin/templates/template'
@@ -1,22 +1,20 @@
1
1
  #
2
- # Ronin - A Ruby platform for exploit development and security research.
2
+ # Copyright (c) 2006-2011 Hal Brodigan (postmodern.mod3 at gmail.com)
3
3
  #
4
- # Copyright (c) 2006-2010 Hal Brodigan (postmodern.mod3 at gmail.com)
4
+ # This file is part of Ronin Support.
5
5
  #
6
- # This library is free software; you can redistribute it and/or
7
- # modify it under the terms of the GNU Lesser General Public
8
- # License as published by the Free Software Foundation; either
9
- # version 2.1 of the License, or (at your option) any later version.
6
+ # Ronin Support is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU Lesser General Public License as publishe by
8
+ # the Free Software Foundation, either version 3 of the License, or
9
+ # (at your option) any later version.
10
10
  #
11
- # This library is distributed in the hope that it will be useful,
11
+ # Ronin Support is distributed in the hope that it will be useful,
12
12
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- # Lesser General Public License for more details.
13
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ # GNU Lesser General Public License for more details.
15
15
  #
16
- # You should have received a copy of the GNU Lesser General Public
17
- # License along with this library; if not, write to the Free Software
18
- # Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
- # Boston, MA 02110-1301 USA
16
+ # You should have received a copy of the GNU Lesser General Public License
17
+ # along with Ronin Support. If not, see <http://www.gnu.org/licenses/>.
20
18
  #
21
19
 
22
20
  require 'ronin/templates/template'
@@ -1,22 +1,20 @@
1
1
  #
2
- # Ronin - A Ruby platform for exploit development and security research.
2
+ # Copyright (c) 2006-2011 Hal Brodigan (postmodern.mod3 at gmail.com)
3
3
  #
4
- # Copyright (c) 2006-2010 Hal Brodigan (postmodern.mod3 at gmail.com)
4
+ # This file is part of Ronin Support.
5
5
  #
6
- # This library is free software; you can redistribute it and/or
7
- # modify it under the terms of the GNU Lesser General Public
8
- # License as published by the Free Software Foundation; either
9
- # version 2.1 of the License, or (at your option) any later version.
6
+ # Ronin Support is free software: you can redistribute it and/or modify
7
+ # it under the terms of the GNU Lesser General Public License as publishe by
8
+ # the Free Software Foundation, either version 3 of the License, or
9
+ # (at your option) any later version.
10
10
  #
11
- # This library is distributed in the hope that it will be useful,
11
+ # Ronin Support is distributed in the hope that it will be useful,
12
12
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- # Lesser General Public License for more details.
13
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ # GNU Lesser General Public License for more details.
15
15
  #
16
- # You should have received a copy of the GNU Lesser General Public
17
- # License along with this library; if not, write to the Free Software
18
- # Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
- # Boston, MA 02110-1301 USA
16
+ # You should have received a copy of the GNU Lesser General Public License
17
+ # along with Ronin Support. If not, see <http://www.gnu.org/licenses/>.
20
18
  #
21
19
 
22
20
  require 'data_paths/finders'
@@ -3,7 +3,7 @@ require 'ronin/extensions/ip_addr'
3
3
 
4
4
  describe IPAddr do
5
5
  describe "extract" do
6
- context "ipv4" do
6
+ context "IPv4" do
7
7
  it "should extract a single IPv4 address" do
8
8
  addr = '127.0.0.1'
9
9
 
@@ -51,7 +51,7 @@ describe IPAddr do
51
51
  end
52
52
  end
53
53
 
54
- context "ipv6" do
54
+ context "IPv6" do
55
55
  it "should extract a single IPv6 address" do
56
56
  addr = 'fe80:0000:0000:0000:0204:61ff:fe9d:f156'
57
57
 
@@ -109,7 +109,7 @@ describe IPAddr do
109
109
  end
110
110
  end
111
111
 
112
- describe "CIDR addresses" do
112
+ context "CIDR addresses" do
113
113
  let(:fixed_addr) { IPAddr.new('10.1.1.2') }
114
114
  let(:class_c) { IPAddr.new('10.1.1.2/24') }
115
115
 
@@ -133,7 +133,7 @@ describe IPAddr do
133
133
  end
134
134
  end
135
135
 
136
- describe "globbed addresses" do
136
+ context "globbed addresses" do
137
137
  let(:ipv4_range) { '10.1.1-5.1' }
138
138
  let(:ipv6_range) { '::ff::02-0a::c3' }
139
139
 
@@ -159,7 +159,7 @@ describe IPAddr do
159
159
  let(:ip) { IPAddr.new(Resolv.getaddress('www.example.com')) }
160
160
  let(:bad_ip) { IPAddr.new('0.0.0.0') }
161
161
 
162
- describe "lookup" do
162
+ describe "#lookup" do
163
163
  it "should lookup the host-name for an IP" do
164
164
  ip.lookup.should == ['www.example.com']
165
165
  end
@@ -6,7 +6,7 @@ describe Kernel do
6
6
  Kernel.should respond_to('attempt')
7
7
  end
8
8
 
9
- describe "attempt" do
9
+ describe "#attempt" do
10
10
  it "should return the result of the block if nothing is raised" do
11
11
  attempt { 2 + 2 }.should == 4
12
12
  end
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
  require 'ronin/extensions/string'
3
3
 
4
4
  describe String do
5
- describe "each_substring" do
5
+ describe "#each_substring" do
6
6
  subject { 'hello' }
7
7
 
8
8
  it "should enumerate over each sub-string within the String" do
@@ -36,7 +36,7 @@ describe String do
36
36
  end
37
37
  end
38
38
 
39
- describe "each_unique_substring" do
39
+ describe "#each_unique_substring" do
40
40
  subject { 'abablol' }
41
41
 
42
42
  it "should enumerate over each unique sub-string within the String" do
@@ -75,7 +75,7 @@ describe String do
75
75
  end
76
76
  end
77
77
 
78
- describe "common_prefix" do
78
+ describe "#common_prefix" do
79
79
  it "should find the common prefix between two Strings" do
80
80
  one = 'What is puzzling you is the nature of my game'
81
81
  two = 'What is puzzling you is the nature of my name'
@@ -107,7 +107,7 @@ describe String do
107
107
  end
108
108
  end
109
109
 
110
- describe "common_postfix" do
110
+ describe "#common_postfix" do
111
111
  it "should find the common postfix between two Strings" do
112
112
  one = 'Tell me baby whats my name'
113
113
  two = "Can't you guess my name"
@@ -131,7 +131,7 @@ describe String do
131
131
  end
132
132
  end
133
133
 
134
- describe "uncommon_substring" do
134
+ describe "#uncommon_substring" do
135
135
  it "should find the uncommon substring between two Strings" do
136
136
  one = "Tell me baby whats my name"
137
137
  two = "Tell me honey whats my name"
@@ -157,7 +157,7 @@ describe String do
157
157
  end
158
158
  end
159
159
 
160
- describe "dump" do
160
+ describe "#dump" do
161
161
  it "should dump printable strings" do
162
162
  "hello".dump.should == '"hello"'
163
163
  end
@@ -22,7 +22,7 @@ describe Integer do
22
22
  subject.char.should == subject.chr
23
23
  end
24
24
 
25
- describe "hex_escape" do
25
+ describe "#hex_escape" do
26
26
  subject { 42 }
27
27
 
28
28
  it "should hex escape an Integer" do
@@ -30,7 +30,7 @@ describe Integer do
30
30
  end
31
31
  end
32
32
 
33
- describe "bytes" do
33
+ describe "#bytes" do
34
34
  let(:little_endian_char) { [0x37] }
35
35
  let(:little_endian_short) { [0x37, 0x13] }
36
36
  let(:little_endian_long) { [0x37, 0x13, 0x0, 0x0] }
@@ -80,7 +80,7 @@ describe Integer do
80
80
  end
81
81
  end
82
82
 
83
- describe "pack" do
83
+ describe "#pack" do
84
84
  let(:i386) do
85
85
  OpenStruct.new(:endian => :little, :address_length => 4)
86
86
  end
@@ -31,7 +31,7 @@ describe String do
31
31
  should respond_to(:unhexdump)
32
32
  end
33
33
 
34
- describe "depack" do
34
+ describe "#depack" do
35
35
  subject { 0x1337 }
36
36
 
37
37
  let(:i386) do
@@ -89,7 +89,7 @@ describe String do
89
89
  end
90
90
  end
91
91
 
92
- describe "base64_encode" do
92
+ describe "#base64_encode" do
93
93
  subject { "hello\0" }
94
94
 
95
95
  it "should base64 encode a String" do
@@ -97,7 +97,7 @@ describe String do
97
97
  end
98
98
  end
99
99
 
100
- describe "base64_decode" do
100
+ describe "#base64_decode" do
101
101
  subject { "aGVsbG8A\n" }
102
102
 
103
103
  it "should base64 decode a String" do
@@ -105,7 +105,7 @@ describe String do
105
105
  end
106
106
  end
107
107
 
108
- describe "zlib_inflate" do
108
+ describe "#zlib_inflate" do
109
109
  subject do
110
110
  "x\xda3H\xb3H3MM6\xd354II\xd651K5\xd7M43N\xd4M\xb3\xb0L2O14423Mb\0\0\xc02\t\xae"
111
111
  end
@@ -115,7 +115,7 @@ describe String do
115
115
  end
116
116
  end
117
117
 
118
- describe "zlib_deflate" do
118
+ describe "#zlib_deflate" do
119
119
  subject { "hello" }
120
120
 
121
121
  it "should zlib deflate a String" do
@@ -123,7 +123,7 @@ describe String do
123
123
  end
124
124
  end
125
125
 
126
- describe "hex_escape" do
126
+ describe "#hex_escape" do
127
127
  subject { "hello\x4e" }
128
128
 
129
129
  it "should hex escape a String" do
@@ -131,7 +131,7 @@ describe String do
131
131
  end
132
132
  end
133
133
 
134
- describe "hex_unescape" do
134
+ describe "#hex_unescape" do
135
135
  it "should unescape a normal String" do
136
136
  "hello".hex_unescape.should == "hello"
137
137
  end
@@ -149,7 +149,7 @@ describe String do
149
149
  end
150
150
  end
151
151
 
152
- describe "xor" do
152
+ describe "#xor" do
153
153
  subject { 'hello' }
154
154
 
155
155
  let(:key) { 0x50 }
@@ -176,10 +176,10 @@ describe String do
176
176
  end
177
177
  end
178
178
 
179
- describe "unhexdump" do
179
+ describe "#unhexdump" do
180
180
  include Helpers
181
181
 
182
- describe "GNU hexdump" do
182
+ context "GNU hexdump" do
183
183
  let(:ascii) { load_binary_data('ascii') }
184
184
  let(:repeated) { load_binary_data('repeated') }
185
185
 
@@ -220,7 +220,7 @@ describe String do
220
220
  end
221
221
  end
222
222
 
223
- describe "od" do
223
+ context "od" do
224
224
  let(:ascii) { load_binary_data('ascii') }
225
225
  let(:repeated) { load_binary_data('repeated') }
226
226
 
@@ -24,7 +24,7 @@ describe String do
24
24
  should respond_to(:sha512)
25
25
  end
26
26
 
27
- describe "md5" do
27
+ describe "#md5" do
28
28
  subject { "test" }
29
29
 
30
30
  let(:digest_md5) { "098f6bcd4621d373cade4e832627b4f6" }
@@ -34,7 +34,7 @@ describe String do
34
34
  end
35
35
  end
36
36
 
37
- describe "sha1" do
37
+ describe "#sha1" do
38
38
  subject { "test" }
39
39
 
40
40
  let(:digest_sha1) { "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3" }
@@ -44,7 +44,7 @@ describe String do
44
44
  end
45
45
  end
46
46
 
47
- describe "sha2" do
47
+ describe "#sha2" do
48
48
  subject { "test" }
49
49
 
50
50
  let(:digest_sha2) do
@@ -56,7 +56,7 @@ describe String do
56
56
  end
57
57
  end
58
58
 
59
- describe "sha256" do
59
+ describe "#sha256" do
60
60
  subject { "test" }
61
61
 
62
62
  let(:digest_sha256) do
@@ -68,7 +68,7 @@ describe String do
68
68
  end
69
69
  end
70
70
 
71
- describe "sha512" do
71
+ describe "#sha512" do
72
72
  subject { "test" }
73
73
 
74
74
  let(:digest_sha512) do
@@ -16,7 +16,7 @@ describe Integer do
16
16
  should respond_to(:format_http)
17
17
  end
18
18
 
19
- describe "uri_encode" do
19
+ describe "#uri_encode" do
20
20
  let(:uri_encoded) { '%20' }
21
21
 
22
22
  it "should URI encode itself" do
@@ -24,7 +24,7 @@ describe Integer do
24
24
  end
25
25
  end
26
26
 
27
- describe "uri_escape" do
27
+ describe "#uri_escape" do
28
28
  let(:uri_escaped) { '+' }
29
29
 
30
30
  it "should URI escape itself" do
@@ -32,7 +32,7 @@ describe Integer do
32
32
  end
33
33
  end
34
34
 
35
- describe "format_http" do
35
+ describe "#format_http" do
36
36
  let(:http_formatted) { '%20' }
37
37
 
38
38
  it "should format the byte" do