philosophies-suspenders 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +1 -1
- data/Gemfile.lock +1 -1
- data/lib/suspenders/app_builder.rb +6 -0
- data/lib/suspenders/version.rb +1 -1
- data/templates/smtp.rb +3 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43c7cad563378815be9fe78d5097f1135f282258
|
4
|
+
data.tar.gz: b858d5884f0a8c90868acee9c28cdf3e04f2a80a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac59b2537ff06e7e1eb4b27bcebe6453fb2b5fa057c918caca43f2163b100652a6214cbe2d25b85e732f8ec77081bdbc886b6d3b122a580905955aefa0a2854d
|
7
|
+
data.tar.gz: cd26b6de6f50924fd43dc56af2cf4cf1498fdb432b6dd12eac015ffc1c070de46afe57c9d60bb86b34d845331457b841149acb8539b605881382d1041b90d077
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3.
|
1
|
+
2.3.1
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -458,6 +458,12 @@ end
|
|
458
458
|
run_heroku "addons:create sendgrid", environment
|
459
459
|
run_heroku "addons:create airbrake:free_heroku", environment
|
460
460
|
run_heroku "addons:create papertrail", environment
|
461
|
+
run_heroku "addons:create heroku-postgresql:hobby-dev", environment
|
462
|
+
|
463
|
+
if environment == 'production'
|
464
|
+
run_heroku "pg:backups schedule DATABASE_URL "\
|
465
|
+
"--at '02:00 America/Los_Angeles'", environment
|
466
|
+
end
|
461
467
|
|
462
468
|
domain = "#{heroku_app_name_for(environment)}.herokuapp.com"
|
463
469
|
|
data/lib/suspenders/version.rb
CHANGED
data/templates/smtp.rb
CHANGED
@@ -1,7 +1,4 @@
|
|
1
|
-
if ENV['SMTP_PROVIDER'] == '
|
2
|
-
SMTP_USERNAME = ENV.fetch 'MANDRILL_USERNAME'
|
3
|
-
SMTP_PASSWORD = ENV.fetch 'MANDRILL_APIKEY'
|
4
|
-
elsif ENV['SMTP_PROVIDER'] == 'sendgrid'
|
1
|
+
if ENV['SMTP_PROVIDER'] == 'sendgrid'
|
5
2
|
SMTP_USERNAME = ENV.fetch 'SENDGRID_USERNAME'
|
6
3
|
SMTP_PASSWORD = ENV.fetch 'SENDGRID_PASSWORD'
|
7
4
|
else
|
@@ -10,11 +7,11 @@ else
|
|
10
7
|
end
|
11
8
|
|
12
9
|
SMTP_SETTINGS = {
|
13
|
-
address: ENV.fetch('SMTP_ADDRESS'), # example: "smtp.
|
10
|
+
address: ENV.fetch('SMTP_ADDRESS'), # example: "smtp.sendgrid.net"
|
14
11
|
authentication: :plain,
|
15
12
|
domain: ENV.fetch('SMTP_DOMAIN'), # example: "heroku.com"
|
16
13
|
enable_starttls_auto: true,
|
17
14
|
password: SMTP_PASSWORD,
|
18
15
|
port: '587',
|
19
16
|
user_name: SMTP_USERNAME
|
20
|
-
}
|
17
|
+
}.freeze
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: philosophies-suspenders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philosophie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -164,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
164
|
requirements:
|
165
165
|
- - ">="
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version: 2.3.
|
167
|
+
version: 2.3.1
|
168
168
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
170
|
- - ">="
|