Skip to content

Commit

Permalink
the big little commit
Browse files Browse the repository at this point in the history
  • Loading branch information
joshk committed Mar 26, 2015
0 parents commit 1664b3e
Show file tree
Hide file tree
Showing 26 changed files with 818 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitignore
@@ -0,0 +1,11 @@
.Gemfile*
config/travis.yml
play/*
log/*
.gems/*
*.class
.rbenv-version
.rbenv-gemsets
.bundle
tmp
/coverage
4 changes: 4 additions & 0 deletions .rspec
@@ -0,0 +1,4 @@
--colour
--tty
--format documentation
--require spec_helper
19 changes: 19 additions & 0 deletions .rubocop.yml
@@ -0,0 +1,19 @@
inherit_from: .rubocop_todo.yml

Metrics/LineLength:
Max: 120

Metrics/MethodLength:
Max: 15

Style/Documentation:
Enabled: false

Style/IndentationConsistency:
Enabled: false

Style/ModuleFunction:
Enabled: false

Style/RegexpLiteral:
MaxSlashes: 0
10 changes: 10 additions & 0 deletions .rubocop_todo.yml
@@ -0,0 +1,10 @@
# This configuration was generated by `rubocop --auto-gen-config`
# on 2015-02-02 11:57:54 -0500 using RuboCop version 0.28.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
Metrics/AbcSize:
Max: 28
1 change: 1 addition & 0 deletions .simplecov
@@ -0,0 +1 @@
SimpleCov.start('rails') if ENV['COVERAGE']
31 changes: 31 additions & 0 deletions .travis.yml
@@ -0,0 +1,31 @@
language: ruby

rvm: 2.1.5

services:
- redis

addons:
postgresql: 9.3

cache: bundler

sudo: false

env:
global:
- COVERAGE=1
matrix:
- RAKE_TASK=spec
- RAKE_TASK=rubocop

before_install: gem install bundler

before_script:
- 'RAILS_ENV=test bundle exec rake db:create db:structure:load --trace'

script: ./build.sh $RAKE_TASK

matrix:
allow_failures:
- env: RAKE_TASK=rubocop
18 changes: 18 additions & 0 deletions CONTRIBUTING.md
@@ -0,0 +1,18 @@
# Contributing to Travis CI

Issues for any Travis CI repo should be submitted to https://github.com/travis-ci/travis-ci/issues

## Security Issues

***Any security issues should be submitted directly to [security@travis-ci.org](mailto:security@travis-ci.org)***

## Reporting Issues

- Explain what you expected to happen vs the actual results
- Include a screenshot if it helps illustrate the issue. https://github.com/blog/1347-issue-attachments
- What steps are required to reproduce the issue
- An example build that shows the issue

## Submitting a PR to Travis-Hub

See testing and setup notes in the base [README](https://github.com/travis-ci/travis-hub)
41 changes: 41 additions & 0 deletions Gemfile
@@ -0,0 +1,41 @@
source 'https://rubygems.org'

ruby '2.1.5'

gem 'travis-core', github: 'travis-ci/travis-core'
gem 'travis-support', github: 'travis-ci/travis-support'
gem 'travis-config', '~> 0.1.0'
gem 'travis-sidekiqs', github: 'travis-ci/travis-sidekiqs', require: nil

gem 'dalli'

gem 'sentry-raven', github: 'getsentry/raven-ruby'
gem 'metriks-librato_metrics'
gem 'rails_12factor'

# can't be removed yet, even though we're on jruby 1.6.7 everywhere
# this is due to Invalid gemspec errors
gem 'rollout', github: 'jamesgolick/rollout', ref: 'v1.1.0'
gem 'sidekiq'

gem 'bunny'

gem 'pg'

gem 'coder', github: 'rkh/coder'

group :test do
gem 'database_cleaner', '~> 0.8.0'
gem 'guard'
gem 'guard-rspec'
gem 'mocha', '~> 0.10.0'
gem 'rspec', '~> 2.7.0'
gem 'rubocop', require: false
gem 'ruby-progressbar', '1.7.1' # this should not be needed, but rubygems is giving me an old version for some reason, well, a newer version which was yanked
gem 'simplecov', require: false
gem 'webmock', '~> 1.8.0'
end

group :development, :test do
gem 'micro_migrations'
end

0 comments on commit 1664b3e

Please sign in to comment.