Skip to content

Commit

Permalink
Massage a few dependencies for snyk
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Butz authored and textbook committed May 12, 2020
1 parent d90a545 commit c9bf048
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion api/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ group :development, :test do
end

group :development do
gem 'sqlite3', '~> 1.3', '< 1.4'
gem 'sqlite3'
gem 'bullet'
gem 'listen'
gem 'web-console', '>= 3.7.0'
Expand Down
8 changes: 4 additions & 4 deletions api/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ GEM
bcrypt (3.1.13)
bindex (0.8.1)
builder (3.2.4)
bullet (5.9.0)
bullet (6.1.0)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.11)
byebug (11.0.0)
Expand Down Expand Up @@ -295,7 +295,7 @@ GEM
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.13)
sqlite3 (1.4.2)
thor (1.0.1)
thread_safe (0.3.6)
tilt (2.0.10)
Expand All @@ -309,7 +309,7 @@ GEM
unf_ext
unf_ext (0.0.7.5)
unicode-display_width (1.4.1)
uniform_notifier (1.12.1)
uniform_notifier (1.13.0)
warden (1.2.8)
rack (>= 2.0.6)
web-console (4.0.2)
Expand Down Expand Up @@ -358,7 +358,7 @@ DEPENDENCIES
rspec-rails (>= 3.8.2)
rubocop
shoulda-matchers
sqlite3 (~> 1.3, < 1.4)
sqlite3
tzinfo-data
uglifier
web-console (>= 3.7.0)
Expand Down
3 changes: 0 additions & 3 deletions api/config/initializers/new_framework_defaults.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,3 @@

# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
Rails.application.config.ssl_options = { hsts: { subdomains: true } }

# Use integers to represent booleans. Previous versions used 't' and 'f'
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true

0 comments on commit c9bf048

Please sign in to comment.