I hereby claim:
- I am dtsato on github.
- I am dtsato (https://keybase.io/dtsato) on keybase.
- I have a public key whose fingerprint is 5882 BE3C B81E CEF0 7EA9 63C4 CB37 EEF4 F2E6 BE3F
To claim this, I am signing this object:
| require 'twitter' | |
| require 'dotenv' | |
| require 'colorize' | |
| Dotenv.load | |
| def twitter_client | |
| Twitter::REST::Client.new do |config| | |
| config.consumer_key = ENV["TWITTER_CONSUMER_KEY"] | |
| config.consumer_secret = ENV["TWITTER_CONSUMER_SECRET"] |
I hereby claim:
To claim this, I am signing this object:
| # Add these lines to your spec_helper.rb to speed up specs: | |
| Sass::Plugin.options[:always_check] = false | |
| Sass::Plugin.options[:always_update] = false |
| RSpec::Matchers.define :have_standardized_whitespaces do | |
| failure_message_for_should do |actual| | |
| whitespace_errors_for(actual).join("\n") | |
| end | |
| match do |actual| | |
| whitespace_errors_for(actual).empty? | |
| end | |
| class WhitespaceCheck < Struct.new(:pattern, :message) |
| require 'rake' | |
| namespace :metrics do | |
| desc "Generate all metrics reports" | |
| task :all do | |
| MetricFu::Configuration.run {} | |
| MetricFu.metrics.each {|metric| MetricFu.report.add(metric) } | |
| MetricFu.report.save_output(MetricFu.report.to_yaml, | |
| MetricFu.base_directory, | |
| 'report.yml') | |
| MetricFu.report.save_templatized_report |