diff --git a/.ruby-version b/.ruby-version index 8f9174b..abae0d9 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.1.2 \ No newline at end of file +2.1.3 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 0d20e2c..c7585c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: ruby rvm: - - "2.1.2" + - "2.1.3" before_script: rake db:setup before_script: bundle exec rake db:setup env: RAILSGOAT_MAINTAINER=true \ No newline at end of file diff --git a/Gemfile b/Gemfile index 65603bd..b29cfe1 100755 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ source 'https://rubygems.org' gem 'rails', '4.0.10' gem 'protected_attributes' # For Rails 4.0+ -ruby '2.1.2' +ruby '2.1.3' # Bundle edge Rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' diff --git a/config/database.yml b/config/database.yml index 4c8bca9..bb84441 100755 --- a/config/database.yml +++ b/config/database.yml @@ -7,13 +7,13 @@ development: adapter: sqlite3 database: db/development.sqlite3 pool: 5 - timeout: 25000 + timeout: 5000 mysql: adapter: mysql2 database: development_railsgoat pool: 5 - timeout: 25000 + timeout: 5000 host: localhost username: root password: @@ -25,10 +25,10 @@ test: adapter: sqlite3 database: db/test.sqlite3 pool: 5 - timeout: 25000 + timeout: 5000 production: adapter: sqlite3 database: db/production.sqlite3 pool: 5 - timeout: 25000 + timeout: 5000 diff --git a/spec/vulnerabilities/insecure_dor_spec.rb b/spec/vulnerabilities/insecure_dor_spec.rb index c533354..7e198d8 100644 --- a/spec/vulnerabilities/insecure_dor_spec.rb +++ b/spec/vulnerabilities/insecure_dor_spec.rb @@ -16,7 +16,7 @@ feature 'insecure direct object reference' do pending(:if => verifying_fixed?) { page.status_code.should == 200 page.response_headers['Content-Disposition'].should include('database.yml') - page.response_headers['Content-Length'].should == '713' + page.response_headers['Content-Length'].should == '709' } end