Skip to content

Commit

Permalink
update readme and gemspec proj url
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecsl committed Jul 31, 2012
1 parent 48c1788 commit 42a8aa9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -30,8 +30,8 @@ Wombat.crawl do
path "/"

headline "xpath=//h1"

what_is "css=.column.secondary p", :html
repositories "css=a.repo", :list

explore "xpath=//ul/li[2]/a" do |e|
e.gsub(/Explore/, "LOVE")
Expand All @@ -53,6 +53,7 @@ end
"headline" => "1,316,633 people hosting over 3,951,378 git repositories",
"what_is" => "GitHub is the best way to collaborate with others. Fork, send pull requests and manage all your <strong>public</strong> and <strong>private</strong> git repositories.",
"explore" => "LOVE GitHub",
"repositories" => ["jQuery", "reddit", "Sparkle", "curl", "Ruby on Rails", "node.js", "ClickToFlash", "Erlang/OTP", "CakePHP", "Redis"]
"benefits" => {
"first_benefit" => "Team management",
"second_benefit" => "Code review",
Expand Down
15 changes: 7 additions & 8 deletions spec/integration/integration_spec.rb
Expand Up @@ -189,7 +189,6 @@
crawler = Class.new
crawler.send(:include, Wombat::Crawler)

crawler.document_format :html
crawler.base_url "https://www.github.com"
crawler.path "/"

Expand All @@ -202,13 +201,13 @@

results.should == {
"github" => [
{ "heading"=>"GitHub helps people build software together."},
{ "heading"=>nil},
{ "heading"=>"Features"},
{ "heading"=>"Contact GitHub"},
{ "heading"=>"GitHub Training — Git Training from the Experts"},
{ "heading"=>"GitHub on Your Servers"},
{ "heading"=>"Loading..."}
{ "heading"=>"GitHub helps people build software together." },
{ "heading"=>nil },
{ "heading"=>"Features" },
{ "heading"=>"Contact GitHub" },
{ "heading"=>"GitHub Training — Git Training from the Experts" },
{ "heading"=>"GitHub on Your Servers" },
{ "heading"=>"Loading..." }
]
}
end
Expand Down
2 changes: 1 addition & 1 deletion wombat.gemspec
Expand Up @@ -66,7 +66,7 @@ Gem::Specification.new do |s|
"spec/wombat_spec.rb",
"wombat.gemspec"
]
s.homepage = "http://github.com/felipecsl/wombat"
s.homepage = "http://felipecsl.github.com/wombat"
s.licenses = ["MIT"]
s.require_paths = ["lib"]
s.required_ruby_version = Gem::Requirement.new(">= 1.9")
Expand Down

0 comments on commit 42a8aa9

Please sign in to comment.