• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Gazler / rapidash / 8
100%

Build:
DEFAULT BRANCH: master
Ran 14 May 2014 07:47PM UTC
Jobs 1
Files 15
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8

push

travis-ci

Gazler
Feature: Resources are now chainable

Resources can now be chained, for example a client may have a users
resource, which may in turn have repos attached to it.

    class Repos < Rapidash::Base
    end

    class Users < Rapidash::Base
      resource :repos
    end

    class Client < Rapidash::Client
      resource :users
    end

    Client.new.users("Gazler").repos! # "users/Gazler/repos"

This has required significant refactoring of the clientable class.  It has
been split into clientable which should only be called by the client, and
resourcable.

The resource method has been modified to persist the client so that it is
passed through the chain until the call! method is called.

The url is also persisted so that any url built up through the chain.

A sensible value `:previous_url` is added to the options hash to facilitate
this.

384 of 830 relevant lines covered (46.27%)

1.53 hits per line

Jobs
ID Job ID Ran Files Coverage
2 8.2 (1.9.2) 14 May 2014 07:47PM UTC 0
46.27
Travis Job 8.2
Source Files on build 8
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8
  • be91d838 on github
  • Prev Build on master (#125)
  • Next Build on master (#124)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc