about summary refs log tree commit diff
diff options
context:
space:
mode:
authoryhirano <yhirano@me.com>2017-05-07 09:41:12 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-07 02:41:12 +0200
commit87588fa8947c137de1ab75d740318ffc2dfffbbf (patch)
treefafcb4781e52b6ff062f905915b8fd4fa4b7b9f5
parent74036a2c9dba8fad553f13669f265340cd67279a (diff)
Enable CodeClimate Bundler-Audit checks (#2862)
* add bundler-audit to Gemfile

* Enable CodeClimate bundler-audit checks
-rw-r--r--.codeclimate.yml20
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock4
3 files changed, 16 insertions, 9 deletions
diff --git a/.codeclimate.yml b/.codeclimate.yml
index d86475a29..dbb3e4bff 100644
--- a/.codeclimate.yml
+++ b/.codeclimate.yml
@@ -1,14 +1,16 @@
 engines:
- duplication:
-   enabled: false
- rubocop:
-   enabled: true
- eslint:
-   enabled: true
+  bundler-audit:
+    enabled: true
+  duplication:
+    enabled: false
+  eslint:
+    enabled: true
+  rubocop:
+    enabled: true
 ratings:
- paths:
- - "**.rb"
- - "**.js"
+  paths:
+  - "**.rb"
+  - "**.js"
 exclude_paths:
 - spec/
 - vendor/asset
diff --git a/Gemfile b/Gemfile
index 54fb972ab..b74f44dfa 100644
--- a/Gemfile
+++ b/Gemfile
@@ -86,6 +86,7 @@ group :development do
   gem 'letter_opener'
   gem 'letter_opener_web'
   gem 'rubocop', '0.46.0', require: false
+  gem 'bundler-audit', '~> 0.4.0', require: false
 
   gem 'capistrano', '3.8.0'
   gem 'capistrano-rails'
diff --git a/Gemfile.lock b/Gemfile.lock
index 760078627..fdea95642 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -71,6 +71,9 @@ GEM
     bullet (5.5.1)
       activesupport (>= 3.0.0)
       uniform_notifier (~> 1.10.0)
+    bundler-audit (0.4.0)
+      bundler (~> 1.2)
+      thor (~> 0.18)
     capistrano (3.8.0)
       airbrussh (>= 1.0.0)
       i18n
@@ -477,6 +480,7 @@ DEPENDENCIES
   better_errors
   binding_of_caller
   bullet
+  bundler-audit (~> 0.4.0)
   capistrano (= 3.8.0)
   capistrano-rails
   capistrano-rbenv