impostor 0.1.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ .DS_Store
2
+ coverage/
3
+ pkg/
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.2.1 / 2008-09-24 (to screen scrape is to love the internets)
2
+
3
+ * 1 minor enhancement:
4
+ * test to insure builds as a github gem
5
+
1
6
  ### 0.2.0 / 2008-07-30 (don't use this code for spam)
2
7
 
3
8
  * 1 minor enhancement:
data/Manifest.txt CHANGED
@@ -1,7 +1,10 @@
1
+ .gitignore
1
2
  History.txt
2
3
  Manifest.txt
3
4
  README.txt
4
5
  Rakefile
6
+ dev_tools/github.rb
7
+ impostor.gemspec
5
8
  lib/impostor.rb
6
9
  lib/www/impostor.rb
7
10
  lib/www/impostor/phpbb2.rb
@@ -49,6 +52,7 @@ test/fixtures/wwf80-not-logged-in.html
49
52
  test/fixtures/wwf80-post-new_topic-good-response.html
50
53
  test/fixtures/wwf80-post-reply-good-response.html
51
54
  test/fixtures/wwf80-too-many-posts.html
55
+ test/test_github.rb
52
56
  test/test_helper.rb
53
57
  test/test_www_impostor.rb
54
58
  test/test_www_impostor_phpbb2.rb
@@ -0,0 +1,8 @@
1
+ # based on Trouble shooting section in http://gems.github.com/
2
+ require 'rubygems'
3
+ require 'rubygems/specification'
4
+ data = File.read(File.join(File.dirname(__FILE__), "..", "impostor.gemspec"))
5
+ spec = nil
6
+ result = Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
7
+ puts spec
8
+ (!!result) ? exit(0) : exit(1)
data/impostor.gemspec ADDED
@@ -0,0 +1,39 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = %q{impostor}
3
+ s.version = "0.2.1"
4
+
5
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
+ s.authors = ["Mike Mondragon"]
7
+ s.date = %q{2008-09-24}
8
+ s.description = %q{== FEATURES/PROBLEMS: Makes automated posts to the following forum applications: * Web Wiz Forums (WWF) 7.9 * Web Wiz Forums (WWF) 8.0 * PHP Bullitin Board (phpBB) 2.0 (2.0.22) * PHP Bullitin Board (phpBB) 3.0 == SYNOPSIS:}
9
+ s.email = %q{mikemondragon@gmail.com}
10
+ s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.txt"]
11
+ s.files = [".gitignore", "History.txt", "Manifest.txt", "README.txt", "Rakefile", "dev_tools/github.rb", "impostor.gemspec", "lib/impostor.rb", "lib/www/impostor.rb", "lib/www/impostor/phpbb2.rb", "lib/www/impostor/phpbb3.rb", "lib/www/impostor/wwf79.rb", "lib/www/impostor/wwf80.rb", "test/fixtures/phpbb2-get-new_topic-form-good-response.html", "test/fixtures/phpbb2-get-viewtopic-for-new-topic-good-response.html", "test/fixtures/phpbb2-get-viewtopic-for-new-topic-malformed-response.html", "test/fixtures/phpbb2-index.html", "test/fixtures/phpbb2-logged-in.html", "test/fixtures/phpbb2-login.html", "test/fixtures/phpbb2-not-logged-in.html", "test/fixtures/phpbb2-post-new_topic-good-response.html", "test/fixtures/phpbb2-post-reply-good-response.html", "test/fixtures/phpbb2-post-reply-throttled-response.html", "test/fixtures/phpbb2-too-many-posts.html", "test/fixtures/phpbb3-get-new-topic-form-good-response.html", "test/fixtures/phpbb3-get-reply-form-good-response.html", "test/fixtures/phpbb3-logged-in.html", "test/fixtures/phpbb3-login.html", "test/fixtures/phpbb3-not-logged-in.html", "test/fixtures/phpbb3-post-new_topic-good-response.html", "test/fixtures/phpbb3-post-reply-good-response.html", "test/fixtures/wwf79-forum_posts.html", "test/fixtures/wwf79-general-new-topic-error.html", "test/fixtures/wwf79-general-posting-error.html", "test/fixtures/wwf79-good-post-forum_posts.html", "test/fixtures/wwf79-index.html", "test/fixtures/wwf79-logged-in.html", "test/fixtures/wwf79-login.html", "test/fixtures/wwf79-new-topic-forum_posts-response.html", "test/fixtures/wwf79-new-topic-post_message_form.html", "test/fixtures/wwf79-not-logged-in.html", "test/fixtures/wwf79-too-many-posts.html", "test/fixtures/wwf79-too-many-topics.html", "test/fixtures/wwf80-general-posting-error.html", "test/fixtures/wwf80-get-new_topic-form-good-response.html", "test/fixtures/wwf80-get-viewtopic-for-new-topic-good-response.html", "test/fixtures/wwf80-index.html", "test/fixtures/wwf80-logged-in.html", "test/fixtures/wwf80-login.html", "test/fixtures/wwf80-new_reply_form.html", "test/fixtures/wwf80-not-logged-in.html", "test/fixtures/wwf80-post-new_topic-good-response.html", "test/fixtures/wwf80-post-reply-good-response.html", "test/fixtures/wwf80-too-many-posts.html", "test/test_github.rb", "test/test_helper.rb", "test/test_www_impostor.rb", "test/test_www_impostor_phpbb2.rb", "test/test_www_impostor_phpbb3.rb", "test/test_www_impostor_wwf79.rb", "test/test_www_impostor_wwf80.rb", "vendor/plugins/impostor/lib/autotest/discover.rb", "vendor/plugins/impostor/lib/autotest/impostor.rb"]
12
+ s.has_rdoc = true
13
+ s.homepage = %q{ by Mike Mondragon}
14
+ s.rdoc_options = ["--main", "README.txt"]
15
+ s.require_paths = ["lib"]
16
+ s.rubyforge_project = %q{impostor}
17
+ s.rubygems_version = %q{1.2.0}
18
+ s.summary = %q{imPOSTor posts messages to non-RESTful forums and blogs}
19
+ s.test_files = ["test/test_www_impostor_phpbb2.rb", "test/test_www_impostor_phpbb3.rb", "test/test_www_impostor_wwf79.rb", "test/test_www_impostor_wwf80.rb", "test/test_github.rb", "test/test_helper.rb", "test/test_www_impostor.rb"]
20
+
21
+ if s.respond_to? :specification_version then
22
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
+ s.specification_version = 2
24
+
25
+ if current_version >= 3 then
26
+ s.add_runtime_dependency(%q<hpricot>, [">= 0.5.0"])
27
+ s.add_runtime_dependency(%q<mechanize>, [">= 0.7.0"])
28
+ s.add_development_dependency(%q<hoe>, [">= 1.7.0"])
29
+ else
30
+ s.add_dependency(%q<hpricot>, [">= 0.5.0"])
31
+ s.add_dependency(%q<mechanize>, [">= 0.7.0"])
32
+ s.add_dependency(%q<hoe>, [">= 1.7.0"])
33
+ end
34
+ else
35
+ s.add_dependency(%q<hpricot>, [">= 0.5.0"])
36
+ s.add_dependency(%q<mechanize>, [">= 0.7.0"])
37
+ s.add_dependency(%q<hoe>, [">= 1.7.0"])
38
+ end
39
+ end
data/lib/www/impostor.rb CHANGED
@@ -51,7 +51,7 @@ module WWW
51
51
  ##
52
52
  # Gem version of Impostor
53
53
 
54
- VERSION = '0.1.0'
54
+ VERSION = '0.2.1'
55
55
 
56
56
  ##
57
57
  # An application error
@@ -0,0 +1,12 @@
1
+ require 'test/unit'
2
+ require 'rubygems'
3
+
4
+ class TestGithub < Test::Unit::TestCase
5
+
6
+ def test_build_github_gem
7
+ result = `ruby #{File.join(File.dirname(__FILE__), "..", "dev_tools", "github.rb")}`
8
+ puts result
9
+ assert_equal 0, $?.exitstatus
10
+ end
11
+
12
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: impostor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Mondragon
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-07-30 00:00:00 -07:00
12
+ date: 2008-09-24 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -53,10 +53,13 @@ extra_rdoc_files:
53
53
  - Manifest.txt
54
54
  - README.txt
55
55
  files:
56
+ - .gitignore
56
57
  - History.txt
57
58
  - Manifest.txt
58
59
  - README.txt
59
60
  - Rakefile
61
+ - dev_tools/github.rb
62
+ - impostor.gemspec
60
63
  - lib/impostor.rb
61
64
  - lib/www/impostor.rb
62
65
  - lib/www/impostor/phpbb2.rb
@@ -104,6 +107,7 @@ files:
104
107
  - test/fixtures/wwf80-post-new_topic-good-response.html
105
108
  - test/fixtures/wwf80-post-reply-good-response.html
106
109
  - test/fixtures/wwf80-too-many-posts.html
110
+ - test/test_github.rb
107
111
  - test/test_helper.rb
108
112
  - test/test_www_impostor.rb
109
113
  - test/test_www_impostor_phpbb2.rb
@@ -144,5 +148,6 @@ test_files:
144
148
  - test/test_www_impostor_phpbb3.rb
145
149
  - test/test_www_impostor_wwf79.rb
146
150
  - test/test_www_impostor_wwf80.rb
151
+ - test/test_github.rb
147
152
  - test/test_helper.rb
148
153
  - test/test_www_impostor.rb