Skip to content

Commit 4a88a37

Browse files
committed
conform to version generated by version 1.1.6 of rails_apps_composer
1 parent 9265a96 commit 4a88a37

File tree

7 files changed

+49
-17
lines changed

7 files changed

+49
-17
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

Gemfile.lock

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ GEM
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)
@@ -77,16 +77,15 @@ GEM
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)

config/cucumber.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<%
22
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
33
rerun_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
%>
66
default: <%= std_opts %> features
77
wip: --tags @wip:3 --wip features

config/environments/development.rb

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,23 @@
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

config/environments/production.rb

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,27 @@
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
7287
end

config/environments/test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,8 @@
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+
3741
end

config/routes.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Rails3DeviseRspecCucumber::Application.routes.draw do
2-
#get \"users\/show\"
1+
Myapp::Application.routes.draw do
2+
33

44
root :to => "home#index"
55

0 commit comments

Comments
 (0)