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

jgraichen / acfs / 262
97%

Build:
DEFAULT BRANCH: master
Ran 08 Feb 2014 01:33AM UTC
Jobs 12
Files 44
Run time –
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
262

push

travis-ci

jgraichen
Add support for custom per-action paths

This commit add custom per-action paths that can be configured in
the resources by giving a hash instead of a string to the `:path`
option:

    class Session < Acfs::Resource
      service UserService, path: {
          list: 'users/:user_id/sessions',
          delete: 'users/:user_id/sessions/del/:id',
          update: nil
      }

      attribute :id, :string
      attribute :user, :integer
    end

Explicit disabled paths (nil) will raise an error when requested.
This can be used for a simple operation access control as specific
operations can be disabled this way until real access control is
added.

This commit also redesign the default path handling. Resources not
longer return a hash but provide a method to compute the path. This
allows for more flexibility and power.

898 of 932 relevant lines covered (96.35%)

432.82 hits per line

Jobs
ID Job ID Ran Files Coverage
4 262.4 (2.0.0, gemfiles/Gemfile.rails-4-0) 08 Feb 2014 01:33AM UTC 0
96.97
Travis Job 262.4
5 262.5 (2.0.0, gemfiles/Gemfile.rails-3-2) 08 Feb 2014 01:34AM UTC 0
97.55
Travis Job 262.5
6 262.6 (2.0.0, gemfiles/Gemfile.rails-3-1) 08 Feb 2014 01:35AM UTC 0
97.55
Travis Job 262.6
7 262.7 (1.9.3, gemfiles/Gemfile.rails-4-0) 08 Feb 2014 01:35AM UTC 0
96.97
Travis Job 262.7
8 262.8 (1.9.3, gemfiles/Gemfile.rails-3-2) 08 Feb 2014 01:36AM UTC 0
97.55
Travis Job 262.8
9 262.9 (1.9.3, gemfiles/Gemfile.rails-3-1) 08 Feb 2014 01:35AM UTC 0
97.55
Travis Job 262.9
10 262.10 (jruby, gemfiles/Gemfile.rails-4-0) 08 Feb 2014 01:37AM UTC 0
95.55
Travis Job 262.10
11 262.11 (jruby, gemfiles/Gemfile.rails-3-2) 08 Feb 2014 01:39AM UTC 0
96.33
Travis Job 262.11
12 262.12 (jruby, gemfiles/Gemfile.rails-3-1) 08 Feb 2014 01:39AM UTC 0
96.44
Travis Job 262.12
13 262.13 (rbx, gemfiles/Gemfile.rails-4-0) 08 Feb 2014 01:42AM UTC 0
97.01
Travis Job 262.13
14 262.14 (rbx, gemfiles/Gemfile.rails-3-2) 08 Feb 2014 01:45AM UTC 0
98.05
Travis Job 262.14
15 262.15 (rbx, gemfiles/Gemfile.rails-3-1) 08 Feb 2014 01:45AM UTC 0
98.05
Travis Job 262.15
Source Files on build 262
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #262
  • 1078c396 on github
  • Prev Build on master (#261)
  • Next Build on master (#263)
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