Module: Hubstats

Defined in:
lib/hubstats.rb,
lib/hubstats/config.rb,
lib/hubstats/engine.rb,
lib/hubstats/version.rb,
lib/hubstats/github_api.rb,
app/models/hubstats/repo.rb,
app/models/hubstats/user.rb,
app/models/hubstats/label.rb,
app/models/hubstats/deploy.rb,
app/models/hubstats/comment.rb,
lib/hubstats/events_handler.rb,
app/models/hubstats/pull_request.rb,
app/helpers/hubstats/repos_helper.rb,
app/helpers/hubstats/users_helper.rb,
app/helpers/hubstats/events_helper.rb,
app/helpers/hubstats/application_helper.rb,
app/controllers/hubstats/base_controller.rb,
app/controllers/hubstats/repos_controller.rb,
app/controllers/hubstats/users_controller.rb,
app/helpers/hubstats/pull_requests_helper.rb,
lib/generators/hubstats/install_generator.rb,
app/controllers/hubstats/events_controller.rb,
app/controllers/hubstats/deploys_controller.rb,
app/controllers/hubstats/application_controller.rb,
app/controllers/hubstats/pull_requests_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, EventsHelper, PullRequestsHelper, ReposHelper, UsersHelper Classes: ApplicationController, BaseController, Comment, Config, Deploy, DeploysController, Engine, EventsController, EventsHandler, GithubAPI, InstallGenerator, Label, PullRequest, PullRequestsController, Repo, ReposController, User, UsersController

Constant Summary collapse

DATE_RANGE_ARRAY =
[
  {
    display_value: "Today",
    date: 1.day
  },{
    display_value: "One Week",
    date: 1.week
  },{
    display_value: "Two Weeks",
    date: 2.weeks
  },{
    display_value: "One Month",
    date: 4.weeks
  },{
    display_value: "Three Months",
    date: 12.weeks
  },{
    display_value: "Six Months",
    date: 24.weeks
  },{
    display_value: "All Time",
    date: 520.weeks
  }
]
VERSION =
"0.3.17"

Class Method Summary collapse

Class Method Details

.configObject



36
37
38
# File 'lib/hubstats.rb', line 36

def self.config
  @@config ||= Hubstats::Config.parse
end