Permalink
Browse files

build using rails_apps_composer 2.2.39

  • Loading branch information...
1 parent 2b5ae7e commit 090bc78797963c5fdfb43b60eade3ad0c304aab1 @DanielKehoe DanielKehoe committed Apr 5, 2013
Showing with 87 additions and 134 deletions.
  1. +0 −48 .rvmrc
  2. +10 −10 Gemfile
  3. +59 −57 Gemfile.lock
  4. +4 −4 README.textile
  5. +7 −8 features/support/env.rb
  6. +7 −7 lib/tasks/cucumber.rake
View
48 .rvmrc
@@ -1,48 +0,0 @@
-#!/usr/bin/env bash
-
-# This is an RVM Project .rvmrc file, used to automatically load the ruby
-# development environment upon cd'ing into the directory
-
-# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
-# Only full ruby name is supported here, for short names use:
-# echo "rvm use 1.9.3" > .rvmrc
-environment_id="ruby-2.0.0@rails3-mongoid-devise"
-
-# Uncomment the following lines if you want to verify rvm version per project
-# rvmrc_rvm_version="1.14.2 (latest)" # 1.10.1 seams as a safe start
-# eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
-# echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
-# return 1
-# }
-
-# First we attempt to load the desired environment directly from the environment
-# file. This is very fast and efficient compared to running through the entire
-# CLI and selector. If you want feedback on which environment was used then
-# insert the word 'use' after --create as this triggers verbose mode.
-if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
- && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
-then
- \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
- [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]] &&
- \. "${rvm_path:-$HOME/.rvm}/hooks/after_use" || true
-else
- # If the environment file has not yet been created, use the RVM CLI to select.
- rvm --create "$environment_id" || {
- echo "Failed to create RVM environment '${environment_id}'."
- return 1
- }
-fi
-
-# If you use bundler, this might be useful to you:
-# if [[ -s Gemfile ]] && {
-# ! builtin command -v bundle >/dev/null ||
-# builtin command -v bundle | GREP_OPTIONS= \grep $rvm_path/bin/bundle >/dev/null
-# }
-# then
-# printf "%b" "The rubygem 'bundler' is not installed. Installing it now.\n"
-# gem install bundler
-# fi
-# if [[ -s Gemfile ]] && builtin command -v bundle >/dev/null
-# then
-# bundle install | GREP_OPTIONS= \grep -vE '^Using|Your bundle is complete'
-# fi
View
20 Gemfile
@@ -1,22 +1,22 @@
source 'https://rubygems.org'
-gem 'rails', '3.2.13.rc1'
+gem 'rails', '3.2.13'
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
-gem "mongoid", ">= 3.1.1"
+gem "mongoid", ">= 3.1.2"
gem "rspec-rails", ">= 2.12.2", :group => [:development, :test]
-gem "database_cleaner", ">= 0.9.1", :group => :test
-gem "mongoid-rspec", ">= 1.6.0", :group => :test
+gem "database_cleaner", ">= 1.0.0.RC1", :group => :test
+gem "mongoid-rspec", ">= 1.7.0", :group => :test
gem "email_spec", ">= 1.4.0", :group => :test
-gem "cucumber-rails", ">= 1.3.0", :group => :test, :require => false
+gem "cucumber-rails", ">= 1.3.1", :group => :test, :require => false
gem "launchy", ">= 2.2.0", :group => :test
-gem "capybara", ">= 2.0.2", :group => :test
+gem "capybara", ">= 2.0.3", :group => :test
gem "factory_girl_rails", ">= 4.2.0", :group => [:development, :test]
gem "devise", ">= 2.2.3"
-gem "quiet_assets", ">= 1.0.1", :group => :development
-gem "figaro", ">= 0.5.3"
-gem "better_errors", ">= 0.6.0", :group => :development
-gem "binding_of_caller", ">= 0.7.1", :group => :development, :platforms => [:mri_19, :rbx]
+gem "quiet_assets", ">= 1.0.2", :group => :development
+gem "figaro", ">= 0.6.3"
+gem "better_errors", ">= 0.7.2", :group => :development
+gem "binding_of_caller", ">= 0.7.1", :group => :development, :platforms => [:mri_19, :rbx]
View
@@ -1,50 +1,50 @@
GEM
remote: https://rubygems.org/
specs:
- actionmailer (3.2.13.rc1)
- actionpack (= 3.2.13.rc1)
+ actionmailer (3.2.13)
+ actionpack (= 3.2.13)
mail (~> 2.5.3)
- actionpack (3.2.13.rc1)
- activemodel (= 3.2.13.rc1)
- activesupport (= 3.2.13.rc1)
+ actionpack (3.2.13)
+ activemodel (= 3.2.13)
+ activesupport (= 3.2.13)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.4)
rack (~> 1.4.5)
rack-cache (~> 1.2)
rack-test (~> 0.6.1)
sprockets (~> 2.2.1)
- activemodel (3.2.13.rc1)
- activesupport (= 3.2.13.rc1)
+ activemodel (3.2.13)
+ activesupport (= 3.2.13)
builder (~> 3.0.0)
- activerecord (3.2.13.rc1)
- activemodel (= 3.2.13.rc1)
- activesupport (= 3.2.13.rc1)
+ activerecord (3.2.13)
+ activemodel (= 3.2.13)
+ activesupport (= 3.2.13)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
- activeresource (3.2.13.rc1)
- activemodel (= 3.2.13.rc1)
- activesupport (= 3.2.13.rc1)
- activesupport (3.2.13.rc1)
+ activeresource (3.2.13)
+ activemodel (= 3.2.13)
+ activesupport (= 3.2.13)
+ activesupport (3.2.13)
i18n (= 0.6.1)
multi_json (~> 1.0)
addressable (2.3.3)
arel (3.0.2)
bcrypt-ruby (3.0.1)
- better_errors (0.7.0)
+ better_errors (0.8.0)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
binding_of_caller (0.7.1)
debug_inspector (>= 0.0.1)
builder (3.0.4)
- capybara (2.0.2)
+ capybara (2.0.3)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (~> 2.0)
xpath (~> 1.0.0)
- childprocess (0.3.8)
+ childprocess (0.3.9)
ffi (~> 1.0, >= 1.0.11)
coderay (1.0.9)
coffee-rails (3.2.2)
@@ -53,24 +53,25 @@ GEM
coffee-script (2.2.0)
coffee-script-source
execjs
- coffee-script-source (1.5.0)
- cucumber (1.2.1)
+ coffee-script-source (1.6.2)
+ cucumber (1.2.3)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
- gherkin (~> 2.11.0)
- json (>= 1.4.6)
- cucumber-rails (1.3.0)
+ gherkin (~> 2.11.6)
+ multi_json (~> 1.3)
+ cucumber-rails (1.3.1)
capybara (>= 1.1.2)
- cucumber (>= 1.1.8)
+ cucumber (>= 1.2.0)
nokogiri (>= 1.5.0)
- database_cleaner (0.9.1)
+ rails (~> 3.0)
+ database_cleaner (1.0.0.RC1)
debug_inspector (0.0.2)
devise (2.2.3)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (~> 3.1)
warden (~> 1.2.1)
- diff-lcs (1.2.1)
+ diff-lcs (1.2.2)
email_spec (1.4.0)
launchy (~> 2.1)
mail (~> 2.2)
@@ -82,8 +83,9 @@ GEM
factory_girl_rails (4.2.1)
factory_girl (~> 4.2.0)
railties (>= 3.0.0)
- ffi (1.4.0)
- figaro (0.6.1)
+ ffi (1.6.0)
+ figaro (0.6.3)
+ bundler (~> 1.0)
rails (>= 3, < 5)
gherkin (2.11.6)
json (>= 1.7.6)
@@ -100,7 +102,7 @@ GEM
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
- mime-types (1.21)
+ mime-types (1.22)
mongoid (3.1.2)
activemodel (~> 3.2)
moped (~> 1.4.2)
@@ -110,9 +112,9 @@ GEM
mongoid (>= 3.0.1)
rake
rspec (>= 2.9)
- moped (1.4.3)
- multi_json (1.6.1)
- nokogiri (1.5.6)
+ moped (1.4.5)
+ multi_json (1.7.2)
+ nokogiri (1.5.9)
origin (1.0.11)
orm_adapter (0.4.0)
polyglot (0.3.3)
@@ -125,29 +127,29 @@ GEM
rack
rack-test (0.6.2)
rack (>= 1.0)
- rails (3.2.13.rc1)
- actionmailer (= 3.2.13.rc1)
- actionpack (= 3.2.13.rc1)
- activerecord (= 3.2.13.rc1)
- activeresource (= 3.2.13.rc1)
- activesupport (= 3.2.13.rc1)
+ rails (3.2.13)
+ actionmailer (= 3.2.13)
+ actionpack (= 3.2.13)
+ activerecord (= 3.2.13)
+ activeresource (= 3.2.13)
+ activesupport (= 3.2.13)
bundler (~> 1.0)
- railties (= 3.2.13.rc1)
- railties (3.2.13.rc1)
- actionpack (= 3.2.13.rc1)
- activesupport (= 3.2.13.rc1)
+ railties (= 3.2.13)
+ railties (3.2.13)
+ actionpack (= 3.2.13)
+ activesupport (= 3.2.13)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
- rake (10.0.3)
+ rake (10.0.4)
rdoc (3.12.2)
json (~> 1.4)
rspec (2.13.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
- rspec-core (2.13.0)
+ rspec-core (2.13.1)
rspec-expectations (2.13.0)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.13.0)
@@ -159,12 +161,12 @@ GEM
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
rubyzip (0.9.9)
- sass (3.2.6)
+ sass (3.2.7)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
- selenium-webdriver (2.30.0)
+ selenium-webdriver (2.31.0)
childprocess (>= 0.2.5)
multi_json (~> 1.0)
rubyzip
@@ -174,12 +176,12 @@ GEM
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
- thor (0.17.0)
- tilt (1.3.4)
+ thor (0.18.1)
+ tilt (1.3.6)
treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
- tzinfo (0.3.35)
+ tzinfo (0.3.37)
uglifier (1.3.0)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
@@ -193,22 +195,22 @@ PLATFORMS
ruby
DEPENDENCIES
- better_errors (>= 0.6.0)
+ better_errors (>= 0.7.2)
binding_of_caller (>= 0.7.1)
- capybara (>= 2.0.2)
+ capybara (>= 2.0.3)
coffee-rails (~> 3.2.1)
- cucumber-rails (>= 1.3.0)
- database_cleaner (>= 0.9.1)
+ cucumber-rails (>= 1.3.1)
+ database_cleaner (>= 1.0.0.RC1)
devise (>= 2.2.3)
email_spec (>= 1.4.0)
factory_girl_rails (>= 4.2.0)
- figaro (>= 0.5.3)
+ figaro (>= 0.6.3)
jquery-rails
launchy (>= 2.2.0)
- mongoid (>= 3.1.1)
- mongoid-rspec (>= 1.6.0)
- quiet_assets (>= 1.0.1)
- rails (= 3.2.13.rc1)
+ mongoid (>= 3.1.2)
+ mongoid-rspec (>= 1.7.0)
+ quiet_assets (>= 1.0.2)
+ rails (= 3.2.13)
rspec-rails (>= 2.12.2)
sass-rails (~> 3.2.3)
uglifier (>= 1.0.3)
View
@@ -39,8 +39,8 @@ h2. Dependencies
Before generating your application, you will need:
-* The Ruby language (version 1.9.3)
-* Rails 3.2
+* The Ruby language (version 1.9.3 or 2.0.0)
+* The Rails gem (version 3.2)
* A working installation of "MongoDB":http://www.mongodb.org/ (version 1.6.0 or newer)
See the article "Installing Rails":http://railsapps.github.com/installing-rails.html for advice about updating Rails and your development environment.
@@ -123,7 +123,7 @@ The application generator template will ask you for additional preferences:
2) Haml
3) Slim
extras Set a robots.txt file to ban spiders? (y/n)
- extras Create a project-specific rvm gemset and .rvmrc? (y/n)
+ extras Use or create a project-specific rvm gemset? (y/n)
extras Create a GitHub repository? (y/n)
</pre>
@@ -139,7 +139,7 @@ h4. Other Choices
Set a robots.txt file to ban spiders if you want to keep your new site out of Google search results.
-It is a good idea to use "rvm":https://rvm.io/, the Ruby Version Manager, and create a project-specific rvm gemset and .rvmrc file (not available on Windows). See "Installing Rails":http://railsapps.github.com/installing-rails.html.
+It is a good idea to use "rvm":https://rvm.io/, the Ruby Version Manager, and create a project-specific rvm gemset (not available on Windows). See "Installing Rails":http://railsapps.github.com/installing-rails.html.
If you choose to create a GitHub repository, the generator will prompt you for a GitHub username and password.
View
@@ -1,16 +1,15 @@
# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
-# It is recommended to regenerate this file in the future when you upgrade to a
-# newer version of cucumber-rails. Consider adding your own code to a new file
+# It is recommended to regenerate this file in the future when you upgrade to a
+# newer version of cucumber-rails. Consider adding your own code to a new file
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
# files.
require 'cucumber/rails'
-# Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In
-# order to ease the transition to Capybara we set the default here. If you'd
-# prefer to use XPath just remove this line and adjust any selectors in your
-# steps to use the XPath syntax.
-Capybara.default_selector = :css
+# Capybara defaults to CSS3 selectors rather than XPath.
+# If you'd prefer to use XPath, just uncomment this line and adjust any
+# selectors in your step definitions to use the XPath syntax.
+# Capybara.default_selector = :xpath
# By default, any exception happening in your Rails application will bubble up
# to Cucumber so that your scenario will fail. This is a different from how
@@ -43,7 +42,7 @@
#
# Before('@no-txn,@selenium,@culerity,@celerity,@javascript') do
# # { :except => [:widgets] } may not do what you expect here
-# # as tCucumber::Rails::Database.javascript_strategy overrides
+# # as Cucumber::Rails::Database.javascript_strategy overrides
# # this setting.
# DatabaseCleaner.strategy = :truncation
# end
Oops, something went wrong.

0 comments on commit 090bc78

Please sign in to comment.