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

gregbell / active_admin
68%
master: 51%

Build:
Build:
LAST BUILD BRANCH: test-more-rubies
DEFAULT BRANCH: master
Repo Added 24 Jun 2013 09:54PM UTC
Files 22
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

LAST BUILD ON BRANCH include-features-in-resource
branch: include-features-in-resource
CHANGE BRANCH
x
Reset
  • include-features-in-resource
  • 0-6-stable
  • 3044-use-public_send
  • 3094-speed-up-travis
  • authorization-adapter
  • batch-action-settings
  • deprecate-dashboards
  • fix-1517
  • fix-scope-counts-with-filters
  • master
  • rails4
  • test-more-rubies
  • test_bundler_1.5.1
  • tests/add_coveralls
  • v0.5.0
  • v0.6.1
  • v0.6.2
  • v0.6.3

pending completion
416

push

travis-ci

gregbell
Added ActiveAdmin::DSL#include to allow inclusion of modules

It allows the inclusion of modules like such:

    module HelpSidebar

      def self.included(resource)
        resouce.sidebar "Help" do
          "Call us for Help"
        end
      end

    end

    ActiveAdmin.register Post do
      include HelpSidebar
    end

I hope that this can become a pattern for plugins and the framework
itself to include modules into the registration of resources.

6204 of 9099 relevant lines covered (68.18%)

222.01 hits per line

Relevant lines Covered
Build:
Build:
9099 RELEVANT LINES 6204 COVERED LINES
222.01 HITS PER LINE
Source Files on include-features-in-resource
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
416 include-features-in-resource Added ActiveAdmin::DSL#include to allow inclusion of modules It allows the inclusion of modules like such: module HelpSidebar def self.included(resource) resouce.sidebar "Help" do "Call us for Help" end ... push 23 Sep 2013 10:14PM UTC gregbell travis-ci pending completion  
See All Builds (1096)
  • Repo on GitHub
  • CI Project
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

© 2025 Coveralls, Inc