Update to Rails 5.0

This commit is contained in:
Petko Bordjukov 2019-04-28 01:34:56 +03:00
parent fffcd8db2c
commit 6ab333edf7
2 changed files with 90 additions and 99 deletions

11
Gemfile
View File

@ -1,9 +1,9 @@
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'rails', '~> 4.2.11' gem 'rails', '~> 5.0.1'
gem 'sqlite3', '~> 1.3.6' gem 'sqlite3'
gem 'pg', '~> 0.15' gem 'pg'
gem 'sass-rails' gem 'sass-rails'
@ -31,11 +31,11 @@ gem 'carrierwave'
gem "mini_magick" gem "mini_magick"
gem "refile", require: ['refile/rails', 'refile/simple_form'] gem "refile", require: ['refile/rails', 'refile/simple_form']
gem "refile-mini_magick" gem "image_processing"
gem 'puma', group: :production gem 'puma', group: :production
gem 'globalize', '~> 5.0.1' gem 'globalize', '~> 5.1.0'
gem 'yaml_db' gem 'yaml_db'
@ -68,7 +68,6 @@ group :development do
gem 'pry-rails' gem 'pry-rails'
# gem 'hirb' # gem 'hirb'
gem 'awesome_print' gem 'awesome_print'
gem 'quiet_assets'
gem 'capistrano' gem 'capistrano'
gem 'capistrano-rails' gem 'capistrano-rails'
# gem 'capistrano-rvm' # gem 'capistrano-rvm'

View File

@ -1,45 +1,48 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actionmailer (4.2.11.1) actioncable (5.0.7.2)
actionpack (= 4.2.11.1) actionpack (= 5.0.7.2)
actionview (= 4.2.11.1) nio4r (>= 1.2, < 3.0)
activejob (= 4.2.11.1) websocket-driver (~> 0.6.1)
actionmailer (5.0.7.2)
actionpack (= 5.0.7.2)
actionview (= 5.0.7.2)
activejob (= 5.0.7.2)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5) rails-dom-testing (~> 2.0)
actionpack (4.2.11.1) actionpack (5.0.7.2)
actionview (= 4.2.11.1) actionview (= 5.0.7.2)
activesupport (= 4.2.11.1) activesupport (= 5.0.7.2)
rack (~> 1.6) rack (~> 2.0)
rack-test (~> 0.6.2) rack-test (~> 0.6.3)
rails-dom-testing (~> 1.0, >= 1.0.5) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2) rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.11.1) actionview (5.0.7.2)
activesupport (= 4.2.11.1) activesupport (= 5.0.7.2)
builder (~> 3.1) builder (~> 3.1)
erubis (~> 2.7.0) erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3) rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (4.2.11.1) activejob (5.0.7.2)
activesupport (= 4.2.11.1) activesupport (= 5.0.7.2)
globalid (>= 0.3.0) globalid (>= 0.3.6)
activemodel (4.2.11.1) activemodel (5.0.7.2)
activesupport (= 4.2.11.1) activesupport (= 5.0.7.2)
builder (~> 3.1) activerecord (5.0.7.2)
activerecord (4.2.11.1) activemodel (= 5.0.7.2)
activemodel (= 4.2.11.1) activesupport (= 5.0.7.2)
activesupport (= 4.2.11.1) arel (~> 7.0)
arel (~> 6.0) activesupport (5.0.7.2)
activesupport (4.2.11.1) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7) i18n (>= 0.7, < 2)
minitest (~> 5.1) minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1) tzinfo (~> 1.1)
addressable (2.6.0) addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0) public_suffix (>= 2.0.2, < 4.0)
airbrussh (1.3.1) airbrussh (1.3.1)
sshkit (>= 1.6.1, != 1.7.0) sshkit (>= 1.6.1, != 1.7.0)
arel (6.0.4) arel (7.1.4)
ast (2.4.0) ast (2.4.0)
autoprefixer-rails (9.5.1) autoprefixer-rails (9.5.1)
execjs execjs
@ -117,8 +120,6 @@ GEM
devise (>= 4.6) devise (>= 4.6)
diff-lcs (1.3) diff-lcs (1.3)
docile (1.3.1) docile (1.3.1)
domain_name (0.5.20180417)
unf (>= 0.0.5, < 1.0.0)
erubi (1.8.0) erubi (1.8.0)
erubis (2.7.0) erubis (2.7.0)
execjs (2.7.0) execjs (2.7.0)
@ -137,9 +138,10 @@ GEM
formatador (0.2.5) formatador (0.2.5)
globalid (0.4.2) globalid (0.4.2)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
globalize (5.0.1) globalize (5.1.0)
activemodel (>= 4.2.0, < 4.3) activemodel (>= 4.2, < 5.2)
activerecord (>= 4.2.0, < 4.3) activerecord (>= 4.2, < 5.2)
request_store (~> 1.0)
guard (2.15.0) guard (2.15.0)
formatador (>= 0.2.4) formatador (>= 0.2.4)
listen (>= 2.7, < 4.0) listen (>= 2.7, < 4.0)
@ -155,9 +157,7 @@ GEM
guard-compat (~> 1.1) guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0) rspec (>= 2.99.0, < 4.0)
highline (2.0.2) highline (2.0.2)
http-cookie (1.0.3) i18n (1.6.0)
domain_name (~> 0.5)
i18n (0.9.5)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
i18n-tasks (0.9.29) i18n-tasks (0.9.29)
activesupport (>= 4.0.2) activesupport (>= 4.0.2)
@ -169,6 +169,9 @@ GEM
rails-i18n rails-i18n
rainbow (>= 2.2.2, < 4.0) rainbow (>= 2.2.2, < 4.0)
terminal-table (>= 1.5.1) terminal-table (>= 1.5.1)
image_processing (1.9.0)
mini_magick (>= 4.9.3, < 5)
ruby-vips (>= 2.0.13, < 3)
jbuilder (2.8.0) jbuilder (2.8.0)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
multi_json (>= 1.2) multi_json (>= 1.2)
@ -211,6 +214,7 @@ GEM
net-ssh (>= 2.6.5, < 6.0.0) net-ssh (>= 2.6.5, < 6.0.0)
net-ssh (5.2.0) net-ssh (5.2.0)
netrc (0.11.0) netrc (0.11.0)
nio4r (2.3.1)
nokogiri (1.10.3) nokogiri (1.10.3)
mini_portile2 (~> 2.4.0) mini_portile2 (~> 2.4.0)
notiffany (0.1.1) notiffany (0.1.1)
@ -219,7 +223,7 @@ GEM
orm_adapter (0.5.0) orm_adapter (0.5.0)
parser (2.6.2.1) parser (2.6.2.1)
ast (~> 2.4.0) ast (~> 2.4.0)
pg (0.21.0) pg (1.1.4)
phony (2.15.49) phony (2.15.49)
phony_rails (0.14.11) phony_rails (0.14.11)
activesupport (>= 3.0) activesupport (>= 3.0)
@ -231,30 +235,24 @@ GEM
pry (>= 0.10.4) pry (>= 0.10.4)
public_suffix (3.0.3) public_suffix (3.0.3)
puma (3.12.1) puma (3.12.1)
quiet_assets (1.1.0) rack (2.0.7)
railties (>= 3.1, < 5.0)
rack (1.6.11)
rack-protection (1.5.5)
rack
rack-test (0.6.3) rack-test (0.6.3)
rack (>= 1.0) rack (>= 1.0)
rails (4.2.11.1) rails (5.0.7.2)
actionmailer (= 4.2.11.1) actioncable (= 5.0.7.2)
actionpack (= 4.2.11.1) actionmailer (= 5.0.7.2)
actionview (= 4.2.11.1) actionpack (= 5.0.7.2)
activejob (= 4.2.11.1) actionview (= 5.0.7.2)
activemodel (= 4.2.11.1) activejob (= 5.0.7.2)
activerecord (= 4.2.11.1) activemodel (= 5.0.7.2)
activesupport (= 4.2.11.1) activerecord (= 5.0.7.2)
bundler (>= 1.3.0, < 2.0) activesupport (= 5.0.7.2)
railties (= 4.2.11.1) bundler (>= 1.3.0)
sprockets-rails railties (= 5.0.7.2)
rails-deprecated_sanitizer (1.0.3) sprockets-rails (>= 2.0.0)
activesupport (>= 4.2.0.alpha) rails-dom-testing (2.0.3)
rails-dom-testing (1.0.9) activesupport (>= 4.2.0)
activesupport (>= 4.2.0, < 5.0) nokogiri (>= 1.6)
nokogiri (~> 1.6)
rails-deprecated_sanitizer (>= 1.0.1)
rails-erd (1.5.2) rails-erd (1.5.2)
activerecord (>= 3.2) activerecord (>= 3.2)
activesupport (>= 3.2) activesupport (>= 3.2)
@ -262,12 +260,13 @@ GEM
ruby-graphviz (~> 1.2) ruby-graphviz (~> 1.2)
rails-html-sanitizer (1.0.4) rails-html-sanitizer (1.0.4)
loofah (~> 2.2, >= 2.2.2) loofah (~> 2.2, >= 2.2.2)
rails-i18n (4.0.9) rails-i18n (5.1.3)
i18n (~> 0.7) i18n (>= 0.7, < 2)
railties (~> 4.0) railties (>= 5.0, < 6)
railties (4.2.11.1) railties (5.0.7.2)
actionpack (= 4.2.11.1) actionpack (= 5.0.7.2)
activesupport (= 4.2.11.1) activesupport (= 5.0.7.2)
method_source
rake (>= 0.8.7) rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0) thor (>= 0.18.1, < 2.0)
rainbow (3.0.0) rainbow (3.0.0)
@ -276,19 +275,15 @@ GEM
rb-fsevent (0.10.3) rb-fsevent (0.10.3)
rb-inotify (0.10.0) rb-inotify (0.10.0)
ffi (~> 1.0) ffi (~> 1.0)
refile (0.6.2) refile (0.3.0)
mime-types rest-client (~> 1.7.2)
rest-client (~> 1.8)
sinatra (~> 1.4.5)
refile-mini_magick (0.2.0)
mini_magick (~> 4.0)
refile (~> 0.5)
regexp_parser (1.4.0) regexp_parser (1.4.0)
request_store (1.4.1)
rack (>= 1.4)
responders (2.4.1) responders (2.4.1)
actionpack (>= 4.2.0, < 6.0) actionpack (>= 4.2.0, < 6.0)
railties (>= 4.2.0, < 6.0) railties (>= 4.2.0, < 6.0)
rest-client (1.8.0) rest-client (1.7.3)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0) mime-types (>= 1.16, < 3.0)
netrc (~> 0.7) netrc (~> 0.7)
rqrcode (0.10.1) rqrcode (0.10.1)
@ -315,6 +310,8 @@ GEM
rspec-support (~> 3.8.0) rspec-support (~> 3.8.0)
rspec-support (3.8.0) rspec-support (3.8.0)
ruby-graphviz (1.2.4) ruby-graphviz (1.2.4)
ruby-vips (2.0.13)
ffi (~> 1.9)
ruby_dep (1.5.0) ruby_dep (1.5.0)
rubyzip (1.2.2) rubyzip (1.2.2)
sass (3.7.4) sass (3.7.4)
@ -336,18 +333,14 @@ GEM
childprocess (>= 0.5, < 2.0) childprocess (>= 0.5, < 2.0)
rubyzip (~> 1.2, >= 1.2.2) rubyzip (~> 1.2, >= 1.2.2)
shellany (0.0.1) shellany (0.0.1)
simple_form (4.0.0) simple_form (4.1.0)
actionpack (> 4) actionpack (>= 5.0)
activemodel (> 4) activemodel (>= 5.0)
simplecov (0.16.1) simplecov (0.16.1)
docile (~> 1.1) docile (~> 1.1)
json (>= 1.8, < 3) json (>= 1.8, < 3)
simplecov-html (~> 0.10.0) simplecov-html (~> 0.10.0)
simplecov-html (0.10.2) simplecov-html (0.10.2)
sinatra (1.4.8)
rack (~> 1.5)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
slim (4.0.1) slim (4.0.1)
temple (>= 0.7.6, < 0.9) temple (>= 0.7.6, < 0.9)
tilt (>= 2.0.6, < 2.1) tilt (>= 2.0.6, < 2.1)
@ -366,7 +359,7 @@ GEM
actionpack (>= 4.0) actionpack (>= 4.0)
activesupport (>= 4.0) activesupport (>= 4.0)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
sqlite3 (1.3.13) sqlite3 (1.4.0)
sshkit (1.18.2) sshkit (1.18.2)
net-scp (>= 1.1.2) net-scp (>= 1.1.2)
net-ssh (>= 2.8.0) net-ssh (>= 2.8.0)
@ -380,12 +373,12 @@ GEM
thread_safe (~> 0.1) thread_safe (~> 0.1)
uglifier (4.1.20) uglifier (4.1.20)
execjs (>= 0.3.0, < 3) execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.6)
unicode-display_width (1.5.0) unicode-display_width (1.5.0)
warden (1.2.7) warden (1.2.8)
rack (>= 1.0) rack (>= 2.0.6)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
xpath (3.2.0) xpath (3.2.0)
nokogiri (~> 1.8) nokogiri (~> 1.8)
yaml_db (0.7.0) yaml_db (0.7.0)
@ -419,9 +412,10 @@ DEPENDENCIES
faker faker
faraday faraday
font-awesome-sass (~> 4.6.2) font-awesome-sass (~> 4.6.2)
globalize (~> 5.0.1) globalize (~> 5.1.0)
guard-rspec guard-rspec
i18n-tasks i18n-tasks
image_processing
jbuilder jbuilder
jquery-datatables-rails jquery-datatables-rails
jquery-rails jquery-rails
@ -429,18 +423,16 @@ DEPENDENCIES
mini_racer mini_racer
morrisjs-rails morrisjs-rails
nested_form nested_form
pg (~> 0.15) pg
phony (~> 2.15.11) phony (~> 2.15.11)
phony_rails phony_rails
pry-rails pry-rails
puma puma
quiet_assets rails (~> 5.0.1)
rails (~> 4.2.11)
rails-erd rails-erd
rails-i18n rails-i18n
raphael-rails raphael-rails
refile refile
refile-mini_magick
rqrcode rqrcode
rspec-rails rspec-rails
sass-rails sass-rails
@ -451,7 +443,7 @@ DEPENDENCIES
slim-rails slim-rails
spring spring
spring-commands-rspec spring-commands-rspec
sqlite3 (~> 1.3.6) sqlite3
uglifier uglifier
yaml_db yaml_db