File tree Expand file tree Collapse file tree 7 files changed +49
-17
lines changed
Expand file tree Collapse file tree 7 files changed +49
-17
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,9 @@ db/*.sqlite3
6565# Netbeans project directory
6666/nbproject /
6767
68+ # RubyMine project files
69+ .idea
70+
6871# Textmate project files
6972/* .tmproj
7073
Original file line number Diff line number Diff line change 4848 coffee-script-source
4949 execjs
5050 coffee-script-source (1.2.0 )
51- cucumber (1.1.8 )
51+ cucumber (1.1.9 )
5252 builder (>= 2.1.2 )
5353 diff-lcs (>= 1.1.2 )
54- gherkin (~> 2.8 .0 )
54+ gherkin (~> 2.9 .0 )
5555 json (>= 1.4.6 )
5656 term-ansicolor (>= 1.0.6 )
5757 cucumber-rails (1.3.0 )
7777 factory_girl (~> 2.6.0 )
7878 railties (>= 3.0.0 )
7979 ffi (1.0.11 )
80- gherkin (2.8 .0 )
80+ gherkin (2.9 .0 )
8181 json (>= 1.4.6 )
8282 hike (1.2.1 )
8383 i18n (0.6.0 )
84- journey (1.0.2 )
85- jquery-rails (2.0.0 )
86- railties (>= 3.2.0.beta , < 5.0 )
84+ journey (1.0.3 )
85+ jquery-rails (2.0.1 )
86+ railties (>= 3.2.0 , < 5.0 )
8787 thor (~> 0.14 )
8888 json (1.6.5 )
89- json_pure (1.6.5 )
9089 launchy (2.0.5 )
9190 addressable (~> 2.2.6 )
9291 mail (2.4.1 )
@@ -142,10 +141,10 @@ GEM
142141 railties (~> 3.2.0 )
143142 sass (>= 3.1.10 )
144143 tilt (~> 1.3 )
145- selenium-webdriver (2.13 .0 )
146- childprocess (>= 0.2.1 )
147- ffi (~> 1.0.9 )
148- json_pure
144+ selenium-webdriver (2.20 .0 )
145+ childprocess (>= 0.2.5 )
146+ ffi (~> 1.0 )
147+ multi_json ( ~> 1.0 )
149148 rubyzip
150149 sprockets (2.1.2 )
151150 hike (~> 1.2 )
Original file line number Diff line number Diff line change 11<%
22rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
33rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
4- std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"
4+ std_opts = "-r features/support/ -r features/step_definitions - -format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"
55% >
66default : <%= std_opts %> features
77wip : --tags @wip:3 --wip features
Original file line number Diff line number Diff line change 1515
1616 # ActionMailer Config
1717 config . action_mailer . default_url_options = { :host => 'localhost:3000' }
18- # A dummy setup for development - no deliveries, but logged
1918 config . action_mailer . delivery_method = :smtp
20- config . action_mailer . perform_deliveries = false
19+ # change to false to prevent email from being sent during development
20+ config . action_mailer . perform_deliveries = true
2121 config . action_mailer . raise_delivery_errors = true
2222 config . action_mailer . default :charset => "utf-8"
2323
24+ config . action_mailer . smtp_settings = {
25+ address : "smtp.gmail.com" ,
26+ port : 587 ,
27+ domain : "example.com" ,
28+ authentication : "plain" ,
29+ enable_starttls_auto : true ,
30+ user_name : ENV [ "GMAIL_USERNAME" ] ,
31+ password : ENV [ "GMAIL_PASSWORD" ]
32+ }
33+
34+
2435
2536 # Print deprecation notices to the Rails logger
2637 config . active_support . deprecation = :log
Original file line number Diff line number Diff line change 6161 # Send deprecation notices to registered listeners
6262 config . active_support . deprecation = :notify
6363
64- config . action_mailer . default_url_options = { :host => 'yourhost .com' }
64+ config . action_mailer . default_url_options = { :host => 'example .com' }
6565 # ActionMailer Config
6666 # Setup for production - deliveries, no errors raised
6767 config . action_mailer . delivery_method = :smtp
6868 config . action_mailer . perform_deliveries = true
6969 config . action_mailer . raise_delivery_errors = false
7070 config . action_mailer . default :charset => "utf-8"
7171
72+ config . action_mailer . smtp_settings = {
73+ address : "smtp.gmail.com" ,
74+ port : 587 ,
75+ domain : "example.com" ,
76+ authentication : "plain" ,
77+ enable_starttls_auto : true ,
78+ user_name : ENV [ "GMAIL_USERNAME" ] ,
79+ password : ENV [ "GMAIL_PASSWORD" ]
80+ }
81+
82+
83+
84+ # Log the query plan for queries taking more than this (works
85+ # with SQLite, MySQL, and PostgreSQL)
86+ # config.active_record.auto_explain_threshold_in_seconds = 0.5
7287end
Original file line number Diff line number Diff line change 3434
3535 # Print deprecation notices to the stderr
3636 config . active_support . deprecation = :stderr
37+
38+ # ActionMailer Config
39+ config . action_mailer . default_url_options = { :host => 'example.com' }
40+
3741end
Original file line number Diff line number Diff line change 1- Rails3DeviseRspecCucumber ::Application . routes . draw do
2- #get \"users\/show\"
1+ Myapp ::Application . routes . draw do
2+
33
44 root :to => "home#index"
55
You can’t perform that action at this time.
0 commit comments