Sha256: 395ae36902d5c85b24e3b3cd822c47c24178705b933b330915bcad8e62ca51fe

Contents?: true

Size: 290 Bytes

Versions: 4

Compression:

Stored size: 290 Bytes

Contents

Smoke.configure do |c|
  c[:cache][:enabled] = true
  c[:cache][:store] = :memory
  c[:cache][:expire_in] = 1800
end

Smoke.data(:github) do
  url "http://github.com/api/v2/json/repos/show/benschwarz"
  path :repositories
  
  emit do
    sort :watchers
    reverse
    truncate 5
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
smoke-rack-0.0.4 spec/support/source.rb
smoke-rack-0.0.3 spec/support/source.rb
smoke-rack-0.0.2 spec/support/source.rb
smoke-rack-0.0.1 spec/support/source.rb