Sha256: 7eb7c41deda399f983d896628f514ac92df0fe005e8cb422dcbc8a2097596d11

Contents?: true

Size: 155 Bytes

Versions: 15

Compression:

Stored size: 155 Bytes

Contents

Smoke.yql(:ruby) do
  select :all
  from "search.web"
  where :query, "ruby"
  
  emit do
    sort :title
    rename :url => :link
    truncate 5
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
benschwarz-smoke-0.5.10 examples/yql_web_search.rb
benschwarz-smoke-0.5.13 examples/yql_web_search.rb
benschwarz-smoke-0.5.7 examples/yql_web_search.rb
benschwarz-smoke-0.5.8 examples/yql_web_search.rb
smoke-0.5.20 examples/yql_web_search.rb
smoke-0.5.19 examples/yql_web_search.rb
smoke-0.5.17 examples/yql_web_search.rb
smoke-0.5.16 examples/yql_web_search.rb
smoke-0.5.15 examples/yql_web_search.rb
smoke-0.5.14 examples/yql_web_search.rb
smoke-0.5.13 examples/yql_web_search.rb
smoke-0.5.12 examples/yql_web_search.rb
smoke-0.5.10 examples/yql_web_search.rb
smoke-0.5.9 examples/yql_web_search.rb
smoke-0.5.11 examples/yql_web_search.rb