Skip to content

Commit

Permalink
Let's get Samson out in the wild!
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Smale committed May 27, 2014
0 parents commit 2b4d365
Show file tree
Hide file tree
Showing 450 changed files with 51,977 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
DEFAULT_URL=http://localhost:9080
SECRET_TOKEN={bundle exec rake secret}
GITHUB_ORGANIZATION={eg. zendesk}
GITHUB_CLIENT_ID={fill me in}
GITHUB_SECRET={fill me in}
GITHUB_TOKEN={fill me in}
GITHUB_ADMIN_TEAM={eg. owners}
GITHUB_DEPLOY_TEAM={eg. developers}
33 changes: 33 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle
/.env

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal

# Ignore all logfiles and tempfiles.
/log/*.log
/log/*.log.json
/tmp

# Ignore config
/config/database.yml
/config/redis.yml
/config/redis.development.conf

/node_modules

/public/assets
/cached_repos/
.gitkeep
/coverage/

# Ignore editor files
*.sw[oap]
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.1.1
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
before_script:
- cp config/database.travis.yml config/database.yml
- bundle exec rake db:create
- npm install
env:
global:
- SECRET_TOKEN=d6054cf90db212c8fbc070c896c30398e3275532c5602bdf00cb153b806c000e4e46fac2f3acc0783822b8f6d30b5913b6fbcfdd24914553e745b8aa8ddfa5a4
- DEFAULT_URL=http://www.test-url.com
script:
- npm test
- bundle exec rake
language: ruby
cache:
bundler: true
directories:
- node_modules
rvm:
- ruby-2.1.1
72 changes: 72 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
source 'https://rubygems.org'

gem 'rails', '~> 4.1.0'
gem 'puma'
gem 'dotenv-rails', '~> 0.9'

# Database (use one of these)
gem 'sqlite3'
gem 'mysql2', '~> 0.3'
# gem 'pg', '~>0.13.2'

gem 'kaminari'
gem 'soft_deletion', '~> 0.4'
gem 'dalli', '~> 2.7.0'
gem 'active_model_serializers', '~> 0.8.0'

# We need this specific version of Sawyer (which Octokit uses) because it supports
# marshalling resources, which we use when caching responses. Once that's been released
# we can use a normal gem version again.
gem 'sawyer', git: 'https://github.com/dasch/sawyer.git', branch: 'dasch/fix-marshal-problem'

# Logging
gem 'lograge'
gem 'logstash-event'

group :production, :staging do
gem 'rails_12factor'
gem 'airbrake'
gem 'newrelic_rpm', '>= 3.7.1'
end

group :assets do
gem 'sass-rails', '~> 4.0.0'
gem 'uglifier', '>= 1.3.0'
gem 'jquery-rails'
gem 'jquery-ui-rails'
gem 'bootstrap-sass'
gem 'font-awesome-sass'
gem 'bootstrap-x-editable-rails'
gem 'rickshaw_rails'
gem 'angularjs-rails'
gem 'momentjs-rails'
end

group :no_preload do
gem 'omniauth', '~> 1.1'
gem 'omniauth-oauth2', '~> 1.1'
gem 'omniauth-github', '= 1.1.1'
gem 'octokit', '~> 3.0.0'
gem 'faraday-http-cache', '~> 0.4'
gem 'warden', '~> 1.2'
gem 'flowdock', '~> 0.3.1'
gem 'active_hash', '~> 1.0'
gem 'ansible'
gem 'github-markdown', '~> 0.6.3'
gem 'newrelic_api'
gem 'activeresource'
gem 'coderay', '~> 1.1.0'
gem 'dogapi', '~> 1.9.1'
end

group :development do
gem 'better_errors'
gem 'binding_of_caller'
end

group :test do
gem 'minitest-rails', '~> 2.0.0.beta1'
gem 'bourne'
gem 'webmock', require: false
gem 'simplecov', require: false
end
Loading

0 comments on commit 2b4d365

Please sign in to comment.