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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 012a11e613c132f8314b9de8cf4505c846b809df
4
- data.tar.gz: 9e29712ff216823cb1f2ecd42d89a65bd3c5f551
3
+ metadata.gz: 43c7cad563378815be9fe78d5097f1135f282258
4
+ data.tar.gz: b858d5884f0a8c90868acee9c28cdf3e04f2a80a
5
5
  SHA512:
6
- metadata.gz: a48068496b901e6125352281d1304acc5c81f21ec8ba2d44df2f354b906cf075365cae768630fb10be8709fd8762b0230bc8443344a8821e9630b9a1dcfbc128
7
- data.tar.gz: d08790666df68bc805ec5568471d05fe76ba55351cbdd12223ab61ddf21917f96fca46539d7790b6214bcf7a2daf5eac8d752e3b143ad68fb2be31112bf4d902
6
+ metadata.gz: ac59b2537ff06e7e1eb4b27bcebe6453fb2b5fa057c918caca43f2163b100652a6214cbe2d25b85e732f8ec77081bdbc886b6d3b122a580905955aefa0a2854d
7
+ data.tar.gz: cd26b6de6f50924fd43dc56af2cf4cf1498fdb432b6dd12eac015ffc1c070de46afe57c9d60bb86b34d845331457b841149acb8539b605881382d1041b90d077
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.3.0
1
+ 2.3.1
data/.travis.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  language: ruby
2
- rvm: 2.2.2
2
+ rvm: 2.3.1
3
3
  cache: bundler
4
4
  sudo: false
5
5
  before_install:
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- philosophies-suspenders (2.1.1)
4
+ philosophies-suspenders (2.1.2)
5
5
  bundler (~> 1.3)
6
6
  rails (= 4.2.5.1)
7
7
 
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module Suspenders
2
2
  RAILS_VERSION = "4.2.5.1"
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
- VERSION = "2.1.1"
4
+ VERSION = "2.1.2"
5
5
  end
data/templates/smtp.rb CHANGED
@@ -1,7 +1,4 @@
1
- if ENV['SMTP_PROVIDER'] == 'mandrill'
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.mandrillapp.com"
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.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-02-14 00:00:00.000000000 Z
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.0
167
+ version: 2.3.1
168
168
  required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - ">="