Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Upgrade to Rails 3.2.3 #1

Merged
merged 3 commits into from

2 participants

Patryk DoppioJP
Patryk

I've upgraded this app to Ruby on Rails version 3.2.3.

Patryk Grunt and others added some commits
DoppioJP
Owner

If that change results in running Cucumber test, then great. If not, let's try to fix the problem first.

Patryk

I've found reason of crashing this test.
Gem 'mini_specunit' has a code that removing describe method. After comment this piece of code bundle exec cucumber is running.

So the question is: Is that gem needed? And if yes, why?

DoppioJP DoppioJP merged commit 1930f74 into from
DoppioJP
Owner

This only works on Ruby 1.9.2 with Rails 3.2.3 but doesn't generate the png files, only html ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 11, 2012
  1. Upgraded app to Rails 3.2.3

    Patryk Grunt authored
  2. Patryk

    Removed .rvmrc

    PjpG authored
Commits on Jun 12, 2012
  1. Patryk

    Removed crashing gem from Gemfile

    PjpG authored
This page is out of date. Refresh to see the latest.
10 .gitignore
View
@@ -1,2 +1,8 @@
-log
-tmp
+.bundle
+db/*.sqlite3
+log/*.log
+/tmp/**/*
+.rvmrc
+.DS_Store
+config/database.yml
+.sass-cache/
7 Gemfile
View
@@ -1,6 +1,6 @@
source 'http://rubygems.org'
-gem 'rails', '~>3.1'
+gem 'rails', '3.2.3'
gem 'sqlite3'
@@ -9,7 +9,7 @@ group :test do
gem 'cucumber-rails'
gem 'capybara'
gem 'capybara-webkit'
- gem 'capybara-screenshot', '~>0.1'
+ gem 'capybara-screenshot', '0.1.10'
gem 'rspec'
end
@@ -27,5 +27,6 @@ end
group :test do
gem 'minitest'
- gem 'mini_specunit'
+ # gem 'mini_specunit'
+ # gem 'minitest-spec-rails'
end
189 Gemfile.lock
View
@@ -1,35 +1,36 @@
GEM
remote: http://rubygems.org/
specs:
- actionmailer (3.1.3)
- actionpack (= 3.1.3)
- mail (~> 2.3.0)
- actionpack (3.1.3)
- activemodel (= 3.1.3)
- activesupport (= 3.1.3)
+ actionmailer (3.2.3)
+ actionpack (= 3.2.3)
+ mail (~> 2.4.4)
+ actionpack (3.2.3)
+ activemodel (= 3.2.3)
+ activesupport (= 3.2.3)
builder (~> 3.0.0)
erubis (~> 2.7.0)
- i18n (~> 0.6)
- rack (~> 1.3.5)
- rack-cache (~> 1.1)
- rack-mount (~> 0.8.2)
+ journey (~> 1.0.1)
+ rack (~> 1.4.0)
+ rack-cache (~> 1.2)
rack-test (~> 0.6.1)
- sprockets (~> 2.0.3)
- activemodel (3.1.3)
- activesupport (= 3.1.3)
+ sprockets (~> 2.1.2)
+ activemodel (3.2.3)
+ activesupport (= 3.2.3)
builder (~> 3.0.0)
- i18n (~> 0.6)
- activerecord (3.1.3)
- activemodel (= 3.1.3)
- activesupport (= 3.1.3)
- arel (~> 2.2.1)
+ activerecord (3.2.3)
+ activemodel (= 3.2.3)
+ activesupport (= 3.2.3)
+ arel (~> 3.0.2)
tzinfo (~> 0.3.29)
- activeresource (3.1.3)
- activemodel (= 3.1.3)
- activesupport (= 3.1.3)
- activesupport (3.1.3)
+ activeresource (3.2.3)
+ activemodel (= 3.2.3)
+ activesupport (= 3.2.3)
+ activesupport (3.2.3)
+ i18n (~> 0.6)
multi_json (~> 1.0)
- arel (2.2.1)
+ addressable (2.2.8)
+ archive-tar-minitar (0.5.2)
+ arel (3.0.2)
builder (3.0.0)
capybara (1.1.2)
mime-types (>= 1.16)
@@ -38,108 +39,111 @@ GEM
rack-test (>= 0.5.4)
selenium-webdriver (~> 2.0)
xpath (~> 0.1.4)
- capybara-screenshot (0.1.11)
+ capybara-screenshot (0.1.10)
capybara (>= 1.0)
- capybara-webkit (0.7.2)
- capybara (>= 1.0.0, < 1.2)
- childprocess (0.3.1)
+ capybara-webkit (0.12.1)
+ capybara (< 1.2, >= 1.0.0)
+ json
+ childprocess (0.3.2)
ffi (~> 1.0.6)
- columnize (0.3.5)
- cucumber (1.1.4)
+ columnize (0.3.6)
+ cucumber (1.2.1)
builder (>= 2.1.2)
- diff-lcs (>= 1.1.2)
- gherkin (~> 2.7.1)
+ diff-lcs (>= 1.1.3)
+ gherkin (~> 2.11.0)
json (>= 1.4.6)
- term-ansicolor (>= 1.0.6)
- cucumber-rails (1.2.0)
- capybara (>= 1.1.1)
- cucumber (>= 1.1.1)
+ cucumber-rails (1.3.0)
+ capybara (>= 1.1.2)
+ cucumber (>= 1.1.8)
nokogiri (>= 1.5.0)
diff-lcs (1.1.3)
erubis (2.7.0)
ffi (1.0.11)
- gherkin (2.7.6)
+ gherkin (2.11.0)
json (>= 1.4.6)
hike (1.2.1)
i18n (0.6.0)
- json (1.6.5)
- linecache (0.46)
- rbx-require-relative (> 0.0.4)
- mail (2.3.0)
+ journey (1.0.3)
+ json (1.7.3)
+ libwebsocket (0.1.3)
+ addressable
+ linecache19 (0.5.12)
+ ruby_core_source (>= 0.1.4)
+ mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
- mime-types (1.17.2)
- mini_specunit (0.1.1)
- minitest
- minitest (2.8.1)
- multi_json (1.0.4)
- nokogiri (1.5.0)
+ mime-types (1.18)
+ minitest (3.0.1)
+ multi_json (1.3.6)
+ nokogiri (1.5.4)
polyglot (0.3.3)
- rack (1.3.6)
- rack-cache (1.1)
+ rack (1.4.1)
+ rack-cache (1.2)
rack (>= 0.4)
- rack-mount (0.8.3)
- rack (>= 1.0.0)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
- rails (3.1.3)
- actionmailer (= 3.1.3)
- actionpack (= 3.1.3)
- activerecord (= 3.1.3)
- activeresource (= 3.1.3)
- activesupport (= 3.1.3)
+ rails (3.2.3)
+ actionmailer (= 3.2.3)
+ actionpack (= 3.2.3)
+ activerecord (= 3.2.3)
+ activeresource (= 3.2.3)
+ activesupport (= 3.2.3)
bundler (~> 1.0)
- railties (= 3.1.3)
- railties (3.1.3)
- actionpack (= 3.1.3)
- activesupport (= 3.1.3)
+ railties (= 3.2.3)
+ railties (3.2.3)
+ actionpack (= 3.2.3)
+ activesupport (= 3.2.3)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (0.9.2.2)
- rbx-require-relative (0.0.5)
- rdoc (3.11)
+ rdoc (3.12)
json (~> 1.4)
- rspec (2.7.0)
- rspec-core (~> 2.7.0)
- rspec-expectations (~> 2.7.0)
- rspec-mocks (~> 2.7.0)
- rspec-core (2.7.1)
- rspec-expectations (2.7.0)
- diff-lcs (~> 1.1.2)
- rspec-mocks (2.7.0)
- rspec-rails (2.7.0)
- actionpack (~> 3.0)
- activesupport (~> 3.0)
- railties (~> 3.0)
- rspec (~> 2.7.0)
- ruby-debug (0.10.4)
- columnize (>= 0.1)
- ruby-debug-base (~> 0.10.4.0)
- ruby-debug-base (0.10.4)
- linecache (>= 0.3)
- rubyzip (0.9.6.1)
- selenium-webdriver (2.19.0)
+ rspec (2.10.0)
+ rspec-core (~> 2.10.0)
+ rspec-expectations (~> 2.10.0)
+ rspec-mocks (~> 2.10.0)
+ rspec-core (2.10.1)
+ rspec-expectations (2.10.0)
+ diff-lcs (~> 1.1.3)
+ rspec-mocks (2.10.1)
+ rspec-rails (2.10.1)
+ actionpack (>= 3.0)
+ activesupport (>= 3.0)
+ railties (>= 3.0)
+ rspec (~> 2.10.0)
+ ruby-debug-base19 (0.11.25)
+ columnize (>= 0.3.1)
+ linecache19 (>= 0.5.11)
+ ruby_core_source (>= 0.1.4)
+ ruby-debug19 (0.11.6)
+ columnize (>= 0.3.1)
+ linecache19 (>= 0.5.11)
+ ruby-debug-base19 (>= 0.11.19)
+ ruby_core_source (0.1.5)
+ archive-tar-minitar (>= 0.5.2)
+ rubyzip (0.9.8)
+ selenium-webdriver (2.22.2)
childprocess (>= 0.2.5)
- ffi (~> 1.0.9)
- multi_json (~> 1.0.4)
+ ffi (~> 1.0)
+ libwebsocket (~> 0.1.3)
+ multi_json (~> 1.0)
rubyzip
- sprockets (2.0.3)
+ sprockets (2.1.3)
hike (~> 1.2)
rack (~> 1.0)
- tilt (~> 1.1, != 1.3.0)
- sqlite3 (1.3.4)
- term-ansicolor (1.0.7)
+ tilt (!= 1.3.0, ~> 1.1)
+ sqlite3 (1.3.6)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
- tzinfo (0.3.31)
+ tzinfo (0.3.33)
xpath (0.1.4)
nokogiri (~> 1.3)
@@ -148,14 +152,13 @@ PLATFORMS
DEPENDENCIES
capybara
- capybara-screenshot (~> 0.1)
+ capybara-screenshot (= 0.1.10)
capybara-webkit
cucumber
cucumber-rails
- mini_specunit
minitest
- rails (~> 3.1)
+ rails (= 3.2.3)
rspec
rspec-rails
- ruby-debug
+ ruby-debug19
sqlite3
7 config/environments/development.rb
View
@@ -27,4 +27,11 @@
# Expands the lines which load the assets
config.assets.debug = true
+
+ # Raise exception on mass assignment protection for Active Record models
+ config.active_record.mass_assignment_sanitizer = :strict
+
+ # Log the query plan for queries taking more than this (works
+ # with SQLite, MySQL, and PostgreSQL)
+ config.active_record.auto_explain_threshold_in_seconds = 0.5
end
4 config/environments/test.rb
View
@@ -36,4 +36,8 @@
# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
+
+ # Raise exception on mass assignment protection for Active Record models
+ config.active_record.mass_assignment_sanitizer = :strict
+
end
BIN  db/test.sqlite3
View
Binary file not shown
Something went wrong with that request. Please try again.