This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # File: app/controllers/api/api_controller.rb | |
| class Api::ApiController < ActionController::Base | |
| # Consider subclassing ActionController::API instead of Base, see | |
| # http://api.rubyonrails.org/classes/ActionController/API.html | |
| protect_from_forgery with: :null_session | |
| before_action :authenticate | |
| def self.disable_turbolinks_cookies | |
| skip_before_action :set_request_method_cookie |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/env ruby | |
| # | |
| # Collects info about the age of all gems in the project | |
| # | |
| require "json" | |
| require "date" | |
| bundle = `bundle list` | |
| yearly_stats = {} |
OlderNewer