diff --git a/Gemfile b/Gemfile index 46d072547b7..65aa5128729 100644 --- a/Gemfile +++ b/Gemfile @@ -28,18 +28,18 @@ source 'https://rubygems.org' -gem "rails", "4.0.13" +gem 'rails', '4.0.13' gem 'protected_attributes' gem 'actionpack-action_caching' gem 'activerecord-session_store' gem 'rails-observers' -gem "coderay", "~> 1.0.9" -gem "rubytree", "~> 0.8.3" -gem "rdoc", ">= 2.4.2" +gem 'coderay', '~> 1.0.9' +gem 'rubytree', '~> 0.8.3' +gem 'rdoc', '>= 2.4.2' gem 'globalize', '~> 4.0.3' gem 'omniauth' -gem 'request_store', "~> 1.1.0" +gem 'request_store', '~> 1.1.0' gem 'gravatar_image_tag', '~> 1.2.0' gem 'warden', '~> 1.2' @@ -47,14 +47,14 @@ gem 'warden-basic_auth', '~> 0.2.0' # TODO: adds #auto_link which was deprecated in rails 3.1 gem 'rails_autolink', '~> 1.1.6' -gem "will_paginate", '~> 3.0' -gem "acts_as_list", "~> 0.3.0" +gem 'will_paginate', '~> 3.0' +gem 'acts_as_list', '~> 0.3.0' -gem "awesome_nested_set", '~> 2.1.6' +gem 'awesome_nested_set', '~> 2.1.6' -gem 'color-tools', '~> 1.3.0', :require => 'color' +gem 'color-tools', '~> 1.3.0', require: 'color' -gem "ruby-progressbar" +gem 'ruby-progressbar' # to generate html-diffs (e.g. for wiki comparison) gem 'htmldiff' @@ -63,7 +63,7 @@ gem 'htmldiff' # used for statistics on svn repositories gem 'svg-graph' -gem "date_validator", '~> 0.7.1' +gem 'date_validator', '~> 0.7.1' gem 'ruby-duration', '~> 3.2.0' # We rely on this specific version, which is the latest as of now (end of 2013), @@ -79,14 +79,14 @@ gem 'daemons' # include custom rack-protection for now until rkh/rack-protection is fixed and released # (see https://community.openproject.org/work_packages/3029) -gem 'rack-protection', :git => "https://github.com/finnlabs/rack-protection.git", :ref => '5a7d1bd' +gem 'rack-protection', git: 'https://github.com/finnlabs/rack-protection.git', ref: '5a7d1bd' # Rack::Attack is a rack middleware to protect your web app from bad clients. # It allows whitelisting, blacklisting, throttling, and tracking based on arbitrary properties of the request. # https://github.com/kickstarter/rack-attack gem 'rack-attack' -gem 'syck', :platforms => [:mri, :mingw, :x64_mingw], :require => false +gem 'syck', platforms: [:mri, :mingw, :x64_mingw], require: false gem 'gon', '~> 4.0' @@ -109,10 +109,10 @@ gem 'execjs', '~> 2.4.0' gem 'bourbon', '~> 4.2.0' gem 'uglifier', '>= 1.0.3', require: false -gem "prototype-rails" +gem 'prototype-rails' # remove once we no longer use the deprecated "link_to_remote", "remote_form_for" and alike methods # replace those with :remote => true -gem 'prototype_legacy_helper', '0.0.0', :git => 'https://github.com/rails/prototype_legacy_helper.git' +gem 'prototype_legacy_helper', '0.0.0', git: 'https://github.com/rails/prototype_legacy_helper.git' # small wrapper around the command line gem 'cocaine' @@ -130,16 +130,16 @@ gem 'rack', '~> 1.5.4' # CVE-2015-3225 gem 'nokogiri', '~> 1.6.6' gem 'carrierwave', '~> 0.10.0' -gem 'fog', '~> 1.23.0', require: "fog/aws/storage" +gem 'fog', '~> 1.23.0', require: 'fog/aws/storage' group :test do gem 'rack-test', '~> 0.6.2' gem 'shoulda-context', '~> 1.2' gem 'object-daddy', '~> 1.1.0' - gem "launchy", "~> 2.3.0" - gem "factory_girl_rails", "~> 4.5" - gem 'cucumber-rails', "~> 1.4.2", :require => false + gem 'launchy', '~> 2.3.0' + gem 'factory_girl_rails', '~> 4.5' + gem 'cucumber-rails', '~> 1.4.2', require: false gem 'rack_session_access' # restrict because in version 1.3 a lot of tests using acts as journalized # fail stating: "Column 'user_id' cannot be null". I don't understand the @@ -150,7 +150,7 @@ group :test do # also add to development group, so "spec" rake task gets loaded gem 'rspec-rails', '~> 3.3.0', group: :development gem 'rspec-activemodel-mocks' - gem 'rspec-example_disabler', git: "https://github.com/finnlabs/rspec-example_disabler.git" + gem 'rspec-example_disabler', git: 'https://github.com/finnlabs/rspec-example_disabler.git' gem 'rspec-legacy_formatters' gem 'capybara', '~> 2.3.0' gem 'capybara-screenshot', '~> 1.0.4' @@ -159,19 +159,19 @@ group :test do gem 'selenium-webdriver', '~> 2.45.0' gem 'timecop', '~> 0.7.1' - gem 'rb-readline', "~> 0.5.1" # ruby on CI needs this + gem 'rb-readline', '~> 0.5.1' # ruby on CI needs this # why in Gemfile? see: https://github.com/guard/guard-test gem 'ruby-prof' gem 'simplecov', '0.8.0.pre' - gem "shoulda-matchers", '~> 2.8', require: nil - gem "json_spec" - gem "activerecord-tableless", "~> 1.0" + gem 'shoulda-matchers', '~> 2.8', require: nil + gem 'json_spec' + gem 'activerecord-tableless', '~> 1.0' gem 'codecov', require: nil gem 'equivalent-xml', '~> 0.5.1' end group :ldap do - gem "net-ldap", '~> 0.8.0' + gem 'net-ldap', '~> 0.8.0' end group :development do @@ -186,7 +186,7 @@ group :development, :test do gem 'pry-rails' gem 'pry-stack_explorer' gem 'pry-rescue' - gem 'pry-byebug', :platforms => [:mri] + gem 'pry-byebug', platforms: [:mri] gem 'pry-doc' end @@ -203,28 +203,28 @@ gem 'reform', '~> 1.2.6', require: false platforms :mri, :mingw, :x64_mingw do group :mysql2 do - gem "mysql2", "~> 0.3.11" + gem 'mysql2', '~> 0.3.11' end group :postgres do - gem 'pg', "~> 0.17.1" + gem 'pg', '~> 0.17.1' end end platforms :jruby do - gem "jruby-openssl" + gem 'jruby-openssl' group :mysql do - gem "activerecord-jdbcmysql-adapter" + gem 'activerecord-jdbcmysql-adapter' end group :postgres do - gem "activerecord-jdbcpostgresql-adapter" + gem 'activerecord-jdbcpostgresql-adapter' end end # Load Gemfile.local, Gemfile.plugins and plugins' Gemfiles -Dir.glob File.expand_path("../{Gemfile.local,Gemfile.plugins,lib/plugins/*/Gemfile}", __FILE__) do |file| +Dir.glob File.expand_path('../{Gemfile.local,Gemfile.plugins,lib/plugins/*/Gemfile}', __FILE__) do |file| next unless File.readable?(file) eval_gemfile(file) end