diff --git a/.gitignore b/.gitignore index bff52cc..dac7ff5 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ config/initializers/setup_mail.rb public/system/dragonfly/* .rspec vendor/cache/* -config/secrets.yml \ No newline at end of file +config/secrets.yml +.vscode/* \ No newline at end of file diff --git a/Gemfile b/Gemfile index e7893cc..f4b847b 100644 --- a/Gemfile +++ b/Gemfile @@ -6,22 +6,25 @@ gem 'dragonfly' gem 'jquery-rails' gem 'pg', '0.20' gem 'listen' -gem 'rails', '4.2.10' +gem 'rails', '5.0.7' gem 'RedCloth' +gem 'redis' gem 'resque' gem 'resque_mailer' gem 'sass-rails' gem 'simple_form' gem 'uglifier' -gem 'protected_attributes' -gem 'pry' group :development,:test do - gem 'minitest' - gem 'rspec-rails', '2.99.0' - gem 'shoulda-matchers', require: false + gem 'pry' + gem 'rspec-rails' gem 'factory_bot_rails' gem 'launchy' gem 'simplecov' end +group :test do + gem 'shoulda-matchers' + gem 'rails-controller-testing' +end + diff --git a/Gemfile.lock b/Gemfile.lock index 5fd7974..99acc74 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,44 +2,47 @@ GEM remote: https://rubygems.org/ specs: RedCloth (4.3.2) - actionmailer (4.2.10) - actionpack (= 4.2.10) - actionview (= 4.2.10) - activejob (= 4.2.10) + actioncable (5.0.7) + actionpack (= 5.0.7) + nio4r (>= 1.2, < 3.0) + websocket-driver (~> 0.6.1) + actionmailer (5.0.7) + actionpack (= 5.0.7) + actionview (= 5.0.7) + activejob (= 5.0.7) mail (~> 2.5, >= 2.5.4) - rails-dom-testing (~> 1.0, >= 1.0.5) - actionpack (4.2.10) - actionview (= 4.2.10) - activesupport (= 4.2.10) - rack (~> 1.6) - rack-test (~> 0.6.2) - rails-dom-testing (~> 1.0, >= 1.0.5) + rails-dom-testing (~> 2.0) + actionpack (5.0.7) + actionview (= 5.0.7) + activesupport (= 5.0.7) + rack (~> 2.0) + rack-test (~> 0.6.3) + rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.0.2) - actionview (4.2.10) - activesupport (= 4.2.10) + actionview (5.0.7) + activesupport (= 5.0.7) builder (~> 3.1) 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) - activejob (4.2.10) - activesupport (= 4.2.10) - globalid (>= 0.3.0) - activemodel (4.2.10) - activesupport (= 4.2.10) - builder (~> 3.1) - activerecord (4.2.10) - activemodel (= 4.2.10) - activesupport (= 4.2.10) - arel (~> 6.0) - activesupport (4.2.10) - i18n (~> 0.7) + activejob (5.0.7) + activesupport (= 5.0.7) + globalid (>= 0.3.6) + activemodel (5.0.7) + activesupport (= 5.0.7) + activerecord (5.0.7) + activemodel (= 5.0.7) + activesupport (= 5.0.7) + arel (~> 7.0) + activesupport (5.0.7) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 0.7, < 2) minitest (~> 5.1) - thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) addressable (2.5.2) public_suffix (>= 2.0.2, < 4.0) - arel (6.0.4) - bcrypt (3.1.11) + arel (7.1.4) + bcrypt (3.1.12) builder (3.2.3) coderay (1.1.2) coffee-script (2.4.1) @@ -47,7 +50,7 @@ GEM execjs coffee-script-source (1.12.2) concurrent-ruby (1.0.5) - crass (1.0.3) + crass (1.0.4) devise (4.4.3) bcrypt (~> 3.0) orm_adapter (~> 0.1) @@ -55,24 +58,24 @@ GEM responders warden (~> 1.2.3) diff-lcs (1.3) - docile (1.3.0) + docile (1.3.1) dragonfly (1.1.5) addressable (~> 2.3) multi_json (~> 1.0) rack (>= 1.3) erubis (2.7.0) execjs (2.7.0) - factory_bot (4.8.2) + factory_bot (4.10.0) activesupport (>= 3.0.0) - factory_bot_rails (4.8.2) - factory_bot (~> 4.8.2) + factory_bot_rails (4.10.0) + factory_bot (~> 4.10.0) railties (>= 3.0.0) - ffi (1.9.23) + ffi (1.9.25) globalid (0.4.1) activesupport (>= 4.2.0) - i18n (0.9.5) + i18n (1.0.1) concurrent-ruby (~> 1.0) - jquery-rails (4.3.1) + jquery-rails (4.3.3) rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) @@ -94,43 +97,46 @@ GEM minitest (5.11.3) mono_logger (1.1.0) multi_json (1.13.1) - nokogiri (1.8.2) + mustermann (1.0.2) + nio4r (2.3.1) + nokogiri (1.8.3) mini_portile2 (~> 2.3.0) orm_adapter (0.5.0) pg (0.20.0) - protected_attributes (1.1.4) - activemodel (>= 4.0.1, < 5.0) pry (0.11.3) coderay (~> 1.1.0) method_source (~> 0.9.0) public_suffix (3.0.2) - rack (1.6.9) - rack-protection (1.5.5) + rack (2.0.5) + rack-protection (2.0.3) rack rack-test (0.6.3) rack (>= 1.0) - rails (4.2.10) - actionmailer (= 4.2.10) - actionpack (= 4.2.10) - actionview (= 4.2.10) - activejob (= 4.2.10) - activemodel (= 4.2.10) - activerecord (= 4.2.10) - activesupport (= 4.2.10) - bundler (>= 1.3.0, < 2.0) - railties (= 4.2.10) - sprockets-rails - rails-deprecated_sanitizer (1.0.3) - activesupport (>= 4.2.0.alpha) - rails-dom-testing (1.0.9) - activesupport (>= 4.2.0, < 5.0) - nokogiri (~> 1.6) - rails-deprecated_sanitizer (>= 1.0.1) + rails (5.0.7) + actioncable (= 5.0.7) + actionmailer (= 5.0.7) + actionpack (= 5.0.7) + actionview (= 5.0.7) + activejob (= 5.0.7) + activemodel (= 5.0.7) + activerecord (= 5.0.7) + activesupport (= 5.0.7) + bundler (>= 1.3.0) + railties (= 5.0.7) + sprockets-rails (>= 2.0.0) + rails-controller-testing (1.0.2) + actionpack (~> 5.x, >= 5.0.1) + actionview (~> 5.x, >= 5.0.1) + activesupport (~> 5.x) + rails-dom-testing (2.0.3) + activesupport (>= 4.2.0) + nokogiri (>= 1.6) rails-html-sanitizer (1.0.4) loofah (~> 2.2, >= 2.2.2) - railties (4.2.10) - actionpack (= 4.2.10) - activesupport (= 4.2.10) + railties (5.0.7) + actionpack (= 5.0.7) + activesupport (= 5.0.7) + method_source rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) rake (12.3.1) @@ -152,21 +158,23 @@ GEM resque_mailer (2.4.3) actionmailer (>= 3.0) activesupport (>= 3.0) - rspec-collection_matchers (1.1.3) - rspec-expectations (>= 2.99.0.beta1) - rspec-core (2.99.2) - rspec-expectations (2.99.2) - diff-lcs (>= 1.1.3, < 2.0) - rspec-mocks (2.99.4) - rspec-rails (2.99.0) + rspec-core (3.7.1) + rspec-support (~> 3.7.0) + rspec-expectations (3.7.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.7.0) + rspec-mocks (3.7.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.7.0) + rspec-rails (3.7.2) actionpack (>= 3.0) - activemodel (>= 3.0) activesupport (>= 3.0) railties (>= 3.0) - rspec-collection_matchers - rspec-core (~> 2.99.0) - rspec-expectations (~> 2.99.0) - rspec-mocks (~> 2.99.0) + rspec-core (~> 3.7.0) + rspec-expectations (~> 3.7.0) + rspec-mocks (~> 3.7.0) + rspec-support (~> 3.7.0) + rspec-support (3.7.1) ruby_dep (1.5.0) sass (3.5.6) sass-listen (~> 4.0.0) @@ -181,19 +189,20 @@ GEM tilt (>= 1.1, < 3) shoulda-matchers (3.1.2) activesupport (>= 4.0.0) - simple_form (3.5.1) - actionpack (> 4, < 5.2) - activemodel (> 4, < 5.2) + simple_form (4.0.1) + actionpack (>= 5.0) + activemodel (>= 5.0) simplecov (0.16.1) docile (~> 1.1) json (>= 1.8, < 3) simplecov-html (~> 0.10.0) simplecov-html (0.10.2) - sinatra (1.4.8) - rack (~> 1.5) - rack-protection (~> 1.4) - tilt (>= 1.3, < 3) - sprockets (3.7.1) + sinatra (2.0.3) + mustermann (~> 1.0) + rack (~> 2.0) + rack-protection (= 2.0.3) + tilt (~> 2.0) + sprockets (3.7.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) sprockets-rails (3.2.1) @@ -205,12 +214,15 @@ GEM tilt (2.0.8) tzinfo (1.2.5) thread_safe (~> 0.1) - uglifier (4.1.8) + uglifier (4.1.14) execjs (>= 0.3.0, < 3) vegas (0.1.11) rack (>= 1.0.0) warden (1.2.7) rack (>= 1.0) + websocket-driver (0.6.5) + websocket-extensions (>= 0.1.0) + websocket-extensions (0.1.3) PLATFORMS ruby @@ -224,14 +236,14 @@ DEPENDENCIES jquery-rails launchy listen - minitest pg (= 0.20) - protected_attributes pry - rails (= 4.2.10) + rails (= 5.0.7) + rails-controller-testing + redis resque resque_mailer - rspec-rails (= 2.99.0) + rspec-rails sass-rails shoulda-matchers simple_form