Skip to content

Commit 69bdf5f

Browse files
authored
Merge pull request #526 from coopdevs/develop
Release v2.0
2 parents 4d58da4 + 59cc250 commit 69bdf5f

File tree

18 files changed

+292
-138
lines changed

18 files changed

+292
-138
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.0
1+
2.6.3

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
language: ruby
2+
dist: bionic
23
cache: bundler
4+
services:
5+
- postgresql
6+
- elasticsearch
7+
addons:
8+
postgresql: "9.4"
9+
chrome: stable
310
bundler_args: '--without development'
411
env:
512
global:
613
- DATABASE_URL=postgres://postgres@localhost/timeoverflow_test
714
- CC_TEST_REPORTER_ID=025bc15a0fa9afa52d86ee24fea845cf1d363f48a466bcf2cef8ab80c29acb28
15+
before_install:
16+
- gem install bundler:1.17.3
817
before_script:
918
- bundle exec rake db:setup
1019
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
@@ -14,7 +23,3 @@ before_script:
1423
- sleep 10
1524
after_script:
1625
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
17-
services:
18-
- elasticsearch
19-
addons:
20-
chrome: stable

Capfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require 'capistrano/deploy'
1818
require 'capistrano/rails'
1919

2020
stage = ARGV.first
21-
if stage == 'staging' # Sorry, production is not ready yet
21+
if stage != 'production' # Sorry, production is not ready yet
2222
require 'capistrano/rbenv'
2323
end
2424

Gemfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gem "rdiscount"
88
gem 'activeadmin', '~> 1.2.1'
99
gem 'has_scope'
1010
gem 'pundit', '~> 2.0.0'
11-
gem 'pg', '0.17.1'
11+
gem 'pg', '0.21.0'
1212
gem 'hstore_translate'
1313
gem 'dalli'
1414
gem 'devise', '~> 4.5.0'
@@ -61,8 +61,8 @@ group :test do
6161
gem 'shoulda-matchers', '~> 3.1.2'
6262
gem 'fabrication'
6363
gem 'faker', '~> 1.9'
64-
gem 'capybara', '~> 3.13'
65-
gem 'selenium-webdriver', '~> 3.141'
66-
gem 'webdrivers', '~> 3.0'
67-
gem 'simplecov', '~> 0.16.1', require: false
64+
gem 'capybara', '~> 3.15'
65+
gem 'selenium-webdriver', '~> 3.142'
66+
gem 'webdrivers', '~> 4.1.2'
67+
gem 'simplecov', '~> 0.17', require: false
6868
end

Gemfile.lock

Lines changed: 59 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actionmailer (4.2.11)
5-
actionpack (= 4.2.11)
6-
actionview (= 4.2.11)
7-
activejob (= 4.2.11)
4+
actionmailer (4.2.11.1)
5+
actionpack (= 4.2.11.1)
6+
actionview (= 4.2.11.1)
7+
activejob (= 4.2.11.1)
88
mail (~> 2.5, >= 2.5.4)
99
rails-dom-testing (~> 1.0, >= 1.0.5)
10-
actionpack (4.2.11)
11-
actionview (= 4.2.11)
12-
activesupport (= 4.2.11)
10+
actionpack (4.2.11.1)
11+
actionview (= 4.2.11.1)
12+
activesupport (= 4.2.11.1)
1313
rack (~> 1.6)
1414
rack-test (~> 0.6.2)
1515
rails-dom-testing (~> 1.0, >= 1.0.5)
1616
rails-html-sanitizer (~> 1.0, >= 1.0.2)
17-
actionview (4.2.11)
18-
activesupport (= 4.2.11)
17+
actionview (4.2.11.1)
18+
activesupport (= 4.2.11.1)
1919
builder (~> 3.1)
2020
erubis (~> 2.7.0)
2121
rails-dom-testing (~> 1.0, >= 1.0.5)
@@ -32,17 +32,17 @@ GEM
3232
ransack (~> 1.3)
3333
sass (~> 3.1)
3434
sprockets (< 4.1)
35-
activejob (4.2.11)
36-
activesupport (= 4.2.11)
35+
activejob (4.2.11.1)
36+
activesupport (= 4.2.11.1)
3737
globalid (>= 0.3.0)
38-
activemodel (4.2.11)
39-
activesupport (= 4.2.11)
38+
activemodel (4.2.11.1)
39+
activesupport (= 4.2.11.1)
4040
builder (~> 3.1)
41-
activerecord (4.2.11)
42-
activemodel (= 4.2.11)
43-
activesupport (= 4.2.11)
41+
activerecord (4.2.11.1)
42+
activemodel (= 4.2.11.1)
43+
activesupport (= 4.2.11.1)
4444
arel (~> 6.0)
45-
activesupport (4.2.11)
45+
activesupport (4.2.11.1)
4646
i18n (~> 0.7)
4747
minitest (~> 5.1)
4848
thread_safe (~> 0.3, >= 0.3.4)
@@ -71,7 +71,7 @@ GEM
7171
builder (3.2.3)
7272
byebug (4.0.5)
7373
columnize (= 0.9.0)
74-
capistrano (3.4.0)
74+
capistrano (3.4.1)
7575
i18n
7676
rake (>= 10.0.0)
7777
sshkit (~> 1.3)
@@ -84,16 +84,16 @@ GEM
8484
capistrano-rbenv (2.1.3)
8585
capistrano (~> 3.1)
8686
sshkit (~> 1.3)
87-
capybara (3.13.2)
87+
capybara (3.15.1)
8888
addressable
8989
mini_mime (>= 0.1.3)
9090
nokogiri (~> 1.8)
9191
rack (>= 1.6.0)
9292
rack-test (>= 0.6.3)
9393
regexp_parser (~> 1.2)
9494
xpath (~> 3.2)
95-
childprocess (0.9.0)
96-
ffi (~> 1.0, >= 1.0.11)
95+
childprocess (1.0.1)
96+
rake (< 13.0)
9797
chronic (0.10.2)
9898
coderay (1.1.2)
9999
coffee-rails (4.1.0)
@@ -104,7 +104,7 @@ GEM
104104
execjs
105105
coffee-script-source (1.8.0)
106106
columnize (0.9.0)
107-
concurrent-ruby (1.1.3)
107+
concurrent-ruby (1.1.5)
108108
connection_pool (2.2.1)
109109
crass (1.0.4)
110110
dalli (2.7.2)
@@ -117,7 +117,7 @@ GEM
117117
responders
118118
warden (~> 1.2.3)
119119
diff-lcs (1.3)
120-
docile (1.3.1)
120+
docile (1.3.2)
121121
domain_name (0.5.20170223)
122122
unf (>= 0.0.5, < 1.0.0)
123123
dotenv (2.7.1)
@@ -147,12 +147,11 @@ GEM
147147
i18n (>= 0.7)
148148
faraday (0.9.1)
149149
multipart-post (>= 1.2, < 3)
150-
ffi (1.10.0)
151150
formtastic (3.1.5)
152151
actionpack (>= 3.2.13)
153152
formtastic_i18n (0.6.0)
154153
gli (2.16.0)
155-
globalid (0.4.1)
154+
globalid (0.4.2)
156155
activesupport (>= 4.2.0)
157156
has_scope (0.6.0)
158157
actionpack (>= 3.2, < 5)
@@ -206,23 +205,22 @@ GEM
206205
mime-types-data (~> 3.2015)
207206
mime-types-data (3.2016.0521)
208207
mini_mime (1.0.1)
209-
mini_portile2 (2.3.0)
208+
mini_portile2 (2.4.0)
210209
minitest (5.11.3)
211210
multi_json (1.11.2)
212211
multipart-post (2.0.0)
213-
net-scp (1.2.1)
214-
net-ssh (>= 2.6.5)
215-
net-ssh (2.9.2)
216-
net_http_ssl_fix (0.0.10)
212+
net-scp (2.0.0)
213+
net-ssh (>= 2.6.5, < 6.0.0)
214+
net-ssh (5.2.0)
217215
netrc (0.11.0)
218-
nokogiri (1.8.5)
219-
mini_portile2 (~> 2.3.0)
216+
nokogiri (1.10.3)
217+
mini_portile2 (~> 2.4.0)
220218
orm_adapter (0.5.0)
221219
parallel (1.12.1)
222220
parser (2.5.0.0)
223221
ast (~> 2.4.0)
224222
pdf-core (0.7.0)
225-
pg (0.17.1)
223+
pg (0.21.0)
226224
polyamorous (1.3.3)
227225
activerecord (>= 3.0)
228226
powerpack (0.1.1)
@@ -239,16 +237,16 @@ GEM
239237
rack
240238
rack-test (0.6.3)
241239
rack (>= 1.0)
242-
rails (4.2.11)
243-
actionmailer (= 4.2.11)
244-
actionpack (= 4.2.11)
245-
actionview (= 4.2.11)
246-
activejob (= 4.2.11)
247-
activemodel (= 4.2.11)
248-
activerecord (= 4.2.11)
249-
activesupport (= 4.2.11)
240+
rails (4.2.11.1)
241+
actionmailer (= 4.2.11.1)
242+
actionpack (= 4.2.11.1)
243+
actionview (= 4.2.11.1)
244+
activejob (= 4.2.11.1)
245+
activemodel (= 4.2.11.1)
246+
activerecord (= 4.2.11.1)
247+
activesupport (= 4.2.11.1)
250248
bundler (>= 1.3.0, < 2.0)
251-
railties (= 4.2.11)
249+
railties (= 4.2.11.1)
252250
sprockets-rails
253251
rails-deprecated_sanitizer (1.0.3)
254252
activesupport (>= 4.2.0.alpha)
@@ -261,14 +259,14 @@ GEM
261259
rails-i18n (4.0.3)
262260
i18n (~> 0.6)
263261
railties (~> 4.0)
264-
railties (4.2.11)
265-
actionpack (= 4.2.11)
266-
activesupport (= 4.2.11)
262+
railties (4.2.11.1)
263+
actionpack (= 4.2.11.1)
264+
activesupport (= 4.2.11.1)
267265
rake (>= 0.8.7)
268266
thor (>= 0.18.1, < 2.0)
269267
rainbow (3.0.0)
270268
raindrops (0.16.0)
271-
rake (12.3.1)
269+
rake (12.3.3)
272270
ransack (1.8.6)
273271
actionpack (>= 3.0)
274272
activerecord (>= 3.0)
@@ -277,7 +275,7 @@ GEM
277275
polyamorous (~> 1.3.2)
278276
rdiscount (2.1.7.1)
279277
redis (4.0.1)
280-
regexp_parser (1.3.0)
278+
regexp_parser (1.6.0)
281279
responders (2.4.0)
282280
actionpack (>= 4.2.0, < 5.3)
283281
railties (>= 4.2.0, < 5.3)
@@ -312,7 +310,7 @@ GEM
312310
ruby-progressbar (~> 1.7)
313311
unicode-display_width (~> 1.0, >= 1.0.1)
314312
ruby-progressbar (1.9.0)
315-
rubyzip (1.2.2)
313+
rubyzip (1.2.3)
316314
rufus-scheduler (3.4.2)
317315
et-orbi (~> 1.0)
318316
sass (3.4.21)
@@ -324,8 +322,8 @@ GEM
324322
tilt (>= 1.1, < 3)
325323
select2-rails (4.0.1)
326324
thor (~> 0.14)
327-
selenium-webdriver (3.141.0)
328-
childprocess (~> 0.5)
325+
selenium-webdriver (3.142.3)
326+
childprocess (>= 0.5, < 2.0)
329327
rubyzip (~> 1.2, >= 1.2.2)
330328
shoulda-matchers (3.1.2)
331329
activesupport (>= 4.0.0)
@@ -340,7 +338,7 @@ GEM
340338
simple_form (3.1.0)
341339
actionpack (~> 4.0)
342340
activemodel (~> 4.0)
343-
simplecov (0.16.1)
341+
simplecov (0.17.0)
344342
docile (~> 1.1)
345343
json (>= 1.8, < 3)
346344
simplecov-html (~> 0.10.0)
@@ -356,7 +354,7 @@ GEM
356354
actionpack (>= 4.0)
357355
activesupport (>= 4.0)
358356
sprockets (>= 3.0.0)
359-
sshkit (1.8.1)
357+
sshkit (1.20.0)
360358
net-scp (>= 1.1.2)
361359
net-ssh (>= 2.8.0)
362360
thor (0.20.3)
@@ -383,11 +381,10 @@ GEM
383381
binding_of_caller (>= 0.7.2)
384382
railties (>= 4.0)
385383
sprockets-rails (>= 2.0, < 4.0)
386-
webdrivers (3.7.2)
387-
net_http_ssl_fix
384+
webdrivers (4.1.2)
388385
nokogiri (~> 1.6)
389386
rubyzip (~> 1.0)
390-
selenium-webdriver (~> 3.0)
387+
selenium-webdriver (>= 3.0, < 4.0)
391388
whenever (0.9.4)
392389
chronic (>= 0.6.3)
393390
xpath (3.2.0)
@@ -406,7 +403,7 @@ DEPENDENCIES
406403
capistrano (~> 3.1)
407404
capistrano-rails (~> 1.1)
408405
capistrano-rbenv (~> 2.1)
409-
capybara (~> 3.13)
406+
capybara (~> 3.15)
410407
coffee-rails
411408
dalli
412409
database_cleaner (= 1.6.2)
@@ -423,7 +420,7 @@ DEPENDENCIES
423420
kaminari (~> 1.1.1)
424421
letter_opener (= 1.4.1)
425422
localeapp (= 2.1.1)
426-
pg (= 0.17.1)
423+
pg (= 0.21.0)
427424
prawn (~> 2.2.0)
428425
prawn-table (~> 0.2.2)
429426
pundit (~> 2.0.0)
@@ -436,21 +433,21 @@ DEPENDENCIES
436433
rufus-scheduler (~> 3.4.2)
437434
sass-rails (~> 5.0.7)
438435
select2-rails
439-
selenium-webdriver (~> 3.141)
436+
selenium-webdriver (~> 3.142)
440437
shoulda-matchers (~> 3.1.2)
441438
sidekiq (= 5.1.3)
442439
sidekiq-cron (= 0.6.3)
443440
simple_form (>= 3.0.0)
444-
simplecov (~> 0.16.1)
441+
simplecov (~> 0.17)
445442
skylight
446443
uglifier (= 2.7.2)
447444
unicorn
448445
web-console (= 2.1.3)
449-
webdrivers (~> 3.0)
446+
webdrivers (~> 4.1.2)
450447
whenever
451448

452449
RUBY VERSION
453-
ruby 2.3.0p0
450+
ruby 2.6.3p62
454451

455452
BUNDLED WITH
456-
1.16.2
453+
1.17.3

config/database.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defaults: &defaults
1616
collation: 'es_ES.UTF-8'
1717
ctype: 'es_ES.UTF-8'
1818
template: 'template0'
19-
encoding: utf8
19+
encoding: 'UTF8'
2020

2121
development:
2222
<<: *defaults
@@ -33,3 +33,7 @@ staging:
3333
production:
3434
# Set DATABASE_URL environment variable
3535
url: <%= ENV['DATABASE_URL'] %>
36+
37+
next:
38+
<<: *defaults
39+
database: <%= ENV.fetch('DATABASE_NAME', 'timeoverflow_production') %>

0 commit comments

Comments
 (0)