impostor 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +23 -23
- data/History.txt +5 -0
- data/Rakefile +1 -1
- data/impostor.gemspec +4 -3
- data/lib/impostor.rb +1 -1
- data/spec/fixtures/vcr_cassettes/phpbb2-should-be-overlimit-creating-topic.yml +1212 -1169
- data/spec/fixtures/vcr_cassettes/phpbb2-should-create-topic.yml +851 -818
- data/spec/fixtures/vcr_cassettes/phpbb2-should-login.yml +326 -308
- data/spec/fixtures/vcr_cassettes/phpbb2-should-not-create-new-topic.yml +452 -429
- data/spec/fixtures/vcr_cassettes/phpbb2-should-not-login.yml +264 -252
- data/spec/fixtures/vcr_cassettes/phpbb2-should-not-post.yml +452 -429
- data/spec/fixtures/vcr_cassettes/phpbb2-should-overlimit-error-post.yml +1057 -1019
- data/spec/fixtures/vcr_cassettes/phpbb2-should-post.yml +692 -664
- data/spec/fixtures/vcr_cassettes/phpbb3-should-be-overlimit-creating-topic.yml +980 -883
- data/spec/fixtures/vcr_cassettes/phpbb3-should-create-topic.yml +643 -583
- data/spec/fixtures/vcr_cassettes/phpbb3-should-login.yml +218 -205
- data/spec/fixtures/vcr_cassettes/phpbb3-should-not-create-new-topic.yml +313 -295
- data/spec/fixtures/vcr_cassettes/phpbb3-should-not-login.yml +225 -214
- data/spec/fixtures/vcr_cassettes/phpbb3-should-not-post.yml +313 -295
- data/spec/fixtures/vcr_cassettes/phpbb3-should-overlimit-error-post.yml +1037 -934
- data/spec/fixtures/vcr_cassettes/phpbb3-should-post.yml +587 -529
- metadata +34 -14
data/Gemfile.lock
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
addressable (2.2
|
4
|
+
addressable (2.3.2)
|
5
5
|
crack (0.3.1)
|
6
6
|
daemons (1.0.10)
|
7
7
|
diff-lcs (1.1.3)
|
8
|
-
domain_name (0.5.
|
8
|
+
domain_name (0.5.6)
|
9
9
|
unf (~> 0.0.3)
|
10
10
|
gem_plugin (0.2.3)
|
11
|
-
hoe (
|
12
|
-
rake (
|
13
|
-
json (1.6
|
14
|
-
mechanize (2.
|
11
|
+
hoe (3.4.0)
|
12
|
+
rake (>= 0.8, < 11.0)
|
13
|
+
json (1.7.6)
|
14
|
+
mechanize (2.5.1)
|
15
15
|
domain_name (~> 0.5, >= 0.5.1)
|
16
16
|
mime-types (~> 1.17, >= 1.17.2)
|
17
17
|
net-http-digest_auth (~> 1.1, >= 1.1.1)
|
@@ -19,31 +19,31 @@ GEM
|
|
19
19
|
nokogiri (~> 1.4)
|
20
20
|
ntlm-http (~> 0.1, >= 0.1.1)
|
21
21
|
webrobots (~> 0.0, >= 0.0.9)
|
22
|
-
mime-types (1.
|
22
|
+
mime-types (1.19)
|
23
23
|
mongrel (1.2.0.pre2)
|
24
24
|
daemons (~> 1.0.10)
|
25
25
|
gem_plugin (~> 0.2.3)
|
26
|
-
net-http-digest_auth (1.2)
|
27
|
-
net-http-persistent (2.
|
28
|
-
nokogiri (1.5.
|
26
|
+
net-http-digest_auth (1.2.1)
|
27
|
+
net-http-persistent (2.8)
|
28
|
+
nokogiri (1.5.6)
|
29
29
|
ntlm-http (0.1.1)
|
30
|
-
rake (0.
|
30
|
+
rake (10.0.3)
|
31
31
|
rdoc (3.12)
|
32
32
|
json (~> 1.4)
|
33
33
|
redgreen (1.2.2)
|
34
|
-
rspec (2.
|
35
|
-
rspec-core (~> 2.
|
36
|
-
rspec-expectations (~> 2.
|
37
|
-
rspec-mocks (~> 2.
|
38
|
-
rspec-core (2.
|
39
|
-
rspec-expectations (2.
|
40
|
-
diff-lcs (~> 1.1.
|
41
|
-
rspec-mocks (2.
|
42
|
-
unf (0.0.
|
34
|
+
rspec (2.12.0)
|
35
|
+
rspec-core (~> 2.12.0)
|
36
|
+
rspec-expectations (~> 2.12.0)
|
37
|
+
rspec-mocks (~> 2.12.0)
|
38
|
+
rspec-core (2.12.2)
|
39
|
+
rspec-expectations (2.12.1)
|
40
|
+
diff-lcs (~> 1.1.3)
|
41
|
+
rspec-mocks (2.12.1)
|
42
|
+
unf (0.0.5)
|
43
43
|
unf_ext
|
44
|
-
unf_ext (0.0.
|
45
|
-
vcr (
|
46
|
-
webmock (1.
|
44
|
+
unf_ext (0.0.5)
|
45
|
+
vcr (2.3.0)
|
46
|
+
webmock (1.9.0)
|
47
47
|
addressable (>= 2.2.7)
|
48
48
|
crack (>= 0.1.7)
|
49
49
|
webrobots (0.0.13)
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -19,7 +19,7 @@ Hoe.spec('impostor') do |p|
|
|
19
19
|
p.email = 'mikemondragon@gmail.com'
|
20
20
|
p.summary = 'imPOSTor posts messages to non-RESTful forums and blogs'
|
21
21
|
p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
|
22
|
-
p.
|
22
|
+
p.urls = [ p.paragraphs_of('README.txt', 0).first.split(/\n/).map{ |line| line.strip }[2] ]
|
23
23
|
p.readme_file = "README.txt"
|
24
24
|
p.history_file = "History.txt"
|
25
25
|
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
|
data/impostor.gemspec
CHANGED
@@ -23,18 +23,19 @@ Gem::Specification.new do |s|
|
|
23
23
|
|
24
24
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
25
25
|
s.add_runtime_dependency(%q<nokogiri>, [">= 1.4.4"])
|
26
|
-
s.add_runtime_dependency(%q<mechanize>, ["
|
26
|
+
s.add_runtime_dependency(%q<mechanize>, ["~> 2.5.0"])
|
27
27
|
s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
|
28
28
|
s.add_development_dependency(%q<hoe>, ["~> 2.14"])
|
29
|
+
s.add_development_dependency(%q<vcr>)
|
29
30
|
else
|
30
31
|
s.add_dependency(%q<nokogiri>, [">= 1.4.4"])
|
31
|
-
s.add_dependency(%q<mechanize>, ["
|
32
|
+
s.add_dependency(%q<mechanize>, ["~> 2.5.0"])
|
32
33
|
s.add_dependency(%q<rdoc>, ["~> 3.10"])
|
33
34
|
s.add_dependency(%q<hoe>, ["~> 2.14"])
|
34
35
|
end
|
35
36
|
else
|
36
37
|
s.add_dependency(%q<nokogiri>, [">= 1.4.4"])
|
37
|
-
s.add_dependency(%q<mechanize>, ["
|
38
|
+
s.add_dependency(%q<mechanize>, ["~> 2.5.0"])
|
38
39
|
s.add_dependency(%q<rdoc>, ["~> 3.10"])
|
39
40
|
s.add_dependency(%q<hoe>, ["~> 2.14"])
|
40
41
|
end
|