Bump gem versions

This commit is contained in:
Luke Barratt 2014-03-23 01:53:42 +00:00
parent bf18e54d83
commit 830b748f5c
5 changed files with 28 additions and 19 deletions

30
Gemfile
View file

@ -2,15 +2,9 @@ source 'http://rubygems.org'
ruby '2.1.1' ruby '2.1.1'
gem 'rails', '~> 3.2.16' gem 'rails', '~> 3.2.17'
gem 'mysql2', '~> 0.3.15' gem 'mysql2', '~> 0.3.15'
# Deployment
gem 'foreman', '~> 0.63.0' gem 'foreman', '~> 0.63.0'
gem 'capistrano', '~> 3.1.0'
gem 'capistrano-rbenv', '~> 2.0.2'
gem 'capistrano-bundler', '~> 1.1.2'
gem 'capistrano-rails', '~> 1.1'
# Libraries # Libraries
gem 'jquery-rails' gem 'jquery-rails'
@ -29,17 +23,19 @@ gem 'rmagick', require: false
gem 'will_paginate', git: 'https://github.com/p7r/will_paginate.git', branch: 'rails3' gem 'will_paginate', git: 'https://github.com/p7r/will_paginate.git', branch: 'rails3'
gem 'newrelic_rpm', '~> 3.7.2.195' gem 'newrelic_rpm', '~> 3.7.2.195'
group 'staging', 'production' do group :assets do
gem 'kgio', '~> 2.9.2' gem 'uglifier', '~> 2.5.0'
gem 'dalli', '~> 2.7.0'
gem 'unicorn', '~> 4.8.2'
end end
group 'development' do group :development do
gem 'capistrano', '~> 3.1.0'
gem 'capistrano-rbenv', '~> 2.0.2'
gem 'capistrano-bundler', '~> 1.1.2'
gem 'capistrano-rails', '~> 1.1'
gem 'annotate', '~> 2.6.2' gem 'annotate', '~> 2.6.2'
end end
group 'test' do group :test do
gem 'simplecov', '~> 0.7.1', require: false gem 'simplecov', '~> 0.7.1', require: false
gem 'rspec-rails', '~> 2.14.1' gem 'rspec-rails', '~> 2.14.1'
gem 'rspec-given', '~> 3.5.4' gem 'rspec-given', '~> 3.5.4'
@ -48,7 +44,13 @@ group 'test' do
gem 'factory_girl_rails', '~> 4.4.1' gem 'factory_girl_rails', '~> 4.4.1'
end end
group 'development', 'test' do group :development, :test do
gem 'pry-debugger', '~> 0.2.2' gem 'pry-debugger', '~> 0.2.2'
gem 'dotenv-rails', '~> 0.10.0' gem 'dotenv-rails', '~> 0.10.0'
end end
group :staging, :production do
gem 'kgio', '~> 2.9.2'
gem 'dalli', '~> 2.7.0'
gem 'unicorn', '~> 4.8.2'
end

View file

@ -228,6 +228,9 @@ GEM
polyglot polyglot
polyglot (>= 0.3.1) polyglot (>= 0.3.1)
tzinfo (0.3.38) tzinfo (0.3.38)
uglifier (2.5.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
unicorn (4.8.2) unicorn (4.8.2)
kgio (~> 2.6) kgio (~> 2.6)
rack rack
@ -265,7 +268,7 @@ DEPENDENCIES
nokogiri nokogiri
poltergeist (~> 1.5.0) poltergeist (~> 1.5.0)
pry-debugger (~> 0.2.2) pry-debugger (~> 0.2.2)
rails (~> 3.2.16) rails (~> 3.2.17)
rbbcode rbbcode
rmagick rmagick
rspec-given (~> 3.5.4) rspec-given (~> 3.5.4)
@ -274,5 +277,6 @@ DEPENDENCIES
simplecov (~> 0.7.1) simplecov (~> 0.7.1)
therubyracer therubyracer
tinymce-rails tinymce-rails
uglifier (~> 2.5.0)
unicorn (~> 4.8.2) unicorn (~> 4.8.2)
will_paginate! will_paginate!

View file

@ -58,6 +58,8 @@ Switch user to deploy, and install rbenv
## Install the ENSL site ## Install the ENSL site
Create the `.env` and `config/database.yml` files with the appropriate credentials. Create the `.env` file with the appropriate credentials.
mkdir /var/www/virtual/ensl.org/deploy mkdir /var/www/virtual/ensl.org/deploy
mkdir /var/www/virtual/ensl.org/deploy/shared
touch /var/www/virtual/ensl.org/deploy/shared/.env

View file

@ -5,7 +5,7 @@ set :scm, :git
set :repo_url, 'git@github.com:ENSL/ensl.org.git' set :repo_url, 'git@github.com:ENSL/ensl.org.git'
set :keep_releases, 10 set :keep_releases, 10
set :linked_files, %w{config/database.yml} set :linked_files, %w{.env}
set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system} set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system}
set :normalize_asset_timestamps, %{public/images public/javascripts public/stylesheets} set :normalize_asset_timestamps, %{public/images public/javascripts public/stylesheets}

View file

@ -1,7 +1,8 @@
require File.expand_path('../application', __FILE__) require File.expand_path('../application', __FILE__)
require 'dotenv'
require 'verification' require 'verification'
require 'exceptions' require 'exceptions'
require 'extra' require 'extra'
Dotenv.load
Ensl::Application.initialize! Ensl::Application.initialize!