Skip to content

Commit

Permalink
Merge 8589e92 into fa4b6bd
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNaessens committed Nov 25, 2015
2 parents fa4b6bd + 8589e92 commit c539a30
Show file tree
Hide file tree
Showing 214 changed files with 2,537 additions and 2,373 deletions.
37 changes: 37 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
AllCops:
RunRailsCops: true
Include:
- Rakefile
- config.ru
Exclude:
- db/schema.rb

Style/ClassAndModuleChildren:
EnforcedStyle: compact
Enabled: false

# disable for now
Lint/NestedMethodDefinition:
Enabled: false
Style/ClassVars:
Enabled: false
Style/Documentation:
Enabled: false
Style/RescueModifier:
Enabled: false
Style/AccessorMethodName:
Enabled: false
Style/PredicateName:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/LineLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: ruby
rvm:
- 2.1.0
sudo: false

before_script:
- "RAILS_ENV=test bundle exec rake db:setup"
Expand Down
1 change: 1 addition & 0 deletions Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ require 'capistrano/deploy'
require 'capistrano/rails'
#require 'capistrano/rvm'
require 'capistrano/rbenv'
require 'capistrano/passenger'

# Whenever recipe
require "whenever/capistrano"
Expand Down
51 changes: 31 additions & 20 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source 'https://rubygems.org'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 4.0'
gem 'rails', '~> 4.2'

# We <3 New Relic
gem 'newrelic_rpm'
Expand Down Expand Up @@ -39,15 +39,8 @@ gem 'simple_form'
# Datagrid is nice
gem 'datagrid'

group :doc do
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end

group :test do
gem 'capybara'
gem 'poltergeist'
end
# Wicked gem
gem 'wicked'

# Let's use devise for users
gem 'devise'
Expand All @@ -58,8 +51,8 @@ gem 'omniauth-oauth2'
# Token authentication for partners
gem 'simple_token_authentication'

# CanCan is used for authorization
gem 'cancan'
# CanCanCan is used for authorization
gem 'cancancan', '~> 1.9'
gem 'httparty'

# Logging is awesome, and paper_trail even more
Expand All @@ -68,10 +61,6 @@ gem 'paper_trail', '~> 4.0.0.beta'
# Njam njam, IBAN
gem 'iban-tools'

group :production, :deployment do
gem 'puma'
end

# Barcodes
gem 'barcodes', git: "git://github.com/nudded/barcodes"

Expand All @@ -91,18 +80,15 @@ gem 'spreadsheet'

# Run stuff in the background
gem 'daemons'
gem 'delayed_job', '~> 4.0'
gem 'delayed_job', '~> 4.0.6'
gem 'delayed_job_active_record'
#

# Whenever cronjobs
gem 'whenever', require: false

# Coveralls
gem 'coveralls', require: false

# Deployment

# Stubbing http requests
gem 'webmock', require: false

Expand All @@ -126,16 +112,41 @@ gem 'select2-rails'
gem 'twitter-typeahead-rails'

group :development do
# SQL schemes
gem 'rails-erd'

# Static code analysis
gem 'rubocop', github: 'bbatsov/rubocop'

# Deployment goodies
gem 'capistrano', '~> 3.1'
gem 'capistrano-rails', '~> 1.1'
gem 'capistrano-rvm'
gem 'capistrano-rbenv'
gem 'capistrano-passenger'

gem 'web-console', '~> 2.0'
end

group :test do
gem 'capybara'
gem 'poltergeist'
gem 'single_test'
gem 'database_cleaner'
end

group :development, :test do
gem 'faker'
gem 'factory_girl_rails'

# Debugging goodies
gem 'pry-byebug'
gem 'pry-rails'
end

group :doc do
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end

group :production do
Expand Down
Loading

0 comments on commit c539a30

Please sign in to comment.