suspenders 1.9.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/NEWS.md +6 -0
- data/lib/suspenders/app_builder.rb +3 -0
- data/lib/suspenders/version.rb +1 -1
- data/templates/smtp.rb +1 -0
- data/templates/spec_helper.rb +1 -0
- data/templates/unicorn.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69d77473b20593a1671fc134eedd8937e2eac68a
|
4
|
+
data.tar.gz: 4439abee6400c3830f0e47dbe9f5a927743c3286
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 760f7123d033fa460f83a4785590607f19ffb209b622cfaf39258d40bb302625e362a1d18fec39218a78d2ea11a3299aea64920d33d774d4d3f291797c303b62
|
7
|
+
data.tar.gz: bf566bfb24f13022139d7a060fc24a2e5258ab7ab35cd56b6a67f01463d121757fff0739d0ab897c974d7904287a7710ea96f8f97d0a61f342c22f7444ad8c68
|
data/Gemfile.lock
CHANGED
data/NEWS.md
CHANGED
@@ -269,7 +269,10 @@ end
|
|
269
269
|
|
270
270
|
# Set up staging and production git remotes
|
271
271
|
git remote add staging git@heroku.com:#{app_name}-staging.git
|
272
|
+
heroku join --app #{app_name}-staging
|
273
|
+
|
272
274
|
git remote add production git@heroku.com:#{app_name}-production.git
|
275
|
+
heroku join --app #{app_name}-production
|
273
276
|
RUBY
|
274
277
|
|
275
278
|
append_file 'bin/setup', remotes
|
data/lib/suspenders/version.rb
CHANGED
data/templates/smtp.rb
CHANGED
@@ -3,6 +3,7 @@ if Rails.env.staging? || Rails.env.production?
|
|
3
3
|
address: ENV.fetch('SMTP_ADDRESS'), # example: 'smtp.sendgrid.net'
|
4
4
|
authentication: :plain,
|
5
5
|
domain: ENV.fetch('SMTP_DOMAIN'), # example: 'this-app.com'
|
6
|
+
enable_starttls_auto: true,
|
6
7
|
password: ENV.fetch('SMTP_PASSWORD'),
|
7
8
|
port: '587',
|
8
9
|
user_name: ENV.fetch('SMTP_USERNAME')
|
data/templates/spec_helper.rb
CHANGED
@@ -22,6 +22,7 @@ RSpec.configure do |config|
|
|
22
22
|
config.include Features, type: :feature
|
23
23
|
config.infer_base_class_for_anonymous_controllers = false
|
24
24
|
config.order = 'random'
|
25
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
25
26
|
config.use_transactional_fixtures = false
|
26
27
|
end
|
27
28
|
|
data/templates/unicorn.rb
CHANGED
@@ -17,7 +17,7 @@ end
|
|
17
17
|
|
18
18
|
after_fork do |server, worker|
|
19
19
|
Signal.trap 'TERM' do
|
20
|
-
puts 'Unicorn worker intercepting TERM and doing nothing. Wait for master to
|
20
|
+
puts 'Unicorn worker intercepting TERM and doing nothing. Wait for master to send QUIT'
|
21
21
|
end
|
22
22
|
|
23
23
|
if defined? ActiveRecord::Base
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: suspenders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thoughtbot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|