From 39246ca1387154741bb9f4986e8700fee3ef33b9 Mon Sep 17 00:00:00 2001 From: Mark Moser Date: Mon, 20 Mar 2017 15:13:03 -0500 Subject: [PATCH] update autoprefixer gem --- Gemfile | 2 +- Gemfile.lock | 4 ++-- Guardfile | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 9fcbd2b..0125a12 100644 --- a/Gemfile +++ b/Gemfile @@ -14,7 +14,7 @@ gem 'mailjet', '~> 1.3.8' gem 'puma', '~> 3.0' gem 'pundit' gem 'sass-rails', '~> 5.0' -gem 'autoprefixer-rails', '~> 6.3' +gem 'autoprefixer-rails', '~> 6' gem 'settingslogic', '~> 2.0.9' gem 'turbolinks', '~> 5' gem 'uglifier', '>= 1.3.0' diff --git a/Gemfile.lock b/Gemfile.lock index 99bc82f..ecf5026 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -43,7 +43,7 @@ GEM ansi (1.5.0) arel (7.1.4) ast (2.3.0) - autoprefixer-rails (6.3.6) + autoprefixer-rails (6.7.7) execjs awesome_print (1.7.0) bcrypt (3.1.11) @@ -304,7 +304,7 @@ PLATFORMS ruby DEPENDENCIES - autoprefixer-rails (~> 6.3) + autoprefixer-rails (~> 6) awesome_print bcrypt (~> 3.1.7) better_errors diff --git a/Guardfile b/Guardfile index 2ebc431..e30a007 100644 --- a/Guardfile +++ b/Guardfile @@ -70,15 +70,15 @@ guard :minitest, spring: "bin/rails test", all_after_pass: true do watch(%r{^app/views/(.*_mailer/)?([^/]+)\.erb$}) { ["test/mailers", "test/integration"] } end -# ESLint guard :shell, all_on_start: true do - # TODO: Annoyingly, all files are linted twice on start/full runs. Why? + # ESLint watch %r{app/assets/javascripts/*/.*} do |file| system %(echo "ESLint:\033[32m #{file[0]}\033[0m") system %(./node_modules/eslint/bin/eslint.js #{file[0]}) end - watch %r{app/assets/stylesheets/*/.*} do |file| + # sass-lint + watch %r{app/assets/stylesheets/*/.*scss$} do |file| system %(echo "sass-lint:\033[32m #{file[0]}\033[0m") system %(sass-lint --cache --config .sass-lint.yml '#{file[0]}' --verbose --no-exit) end