]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/IndentFirstHashElement in app/models/setting.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 25 Nov 2019 16:48:24 +0000 (16:48 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 25 Nov 2019 16:48:24 +0000 (16:48 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19302 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/setting.rb

index d8f999ee25d34f82f0c38e243e82bc23ed301f6f..503ee1d3fdff4968e60d30e83c82ed336c7a2c85 100644 (file)
 
 class Setting < ActiveRecord::Base
   PASSWORD_CHAR_CLASSES = {
-        'uppercase'     => /[A-Z]/,
-        'lowercase'     => /[a-z]/,
-        'digits'        => /[0-9]/,
-        'special_chars' => /[[:ascii:]&&[:graph:]&&[:^alnum:]]/
-    }
+    'uppercase'     => /[A-Z]/,
+    'lowercase'     => /[a-z]/,
+    'digits'        => /[0-9]/,
+    'special_chars' => /[[:ascii:]&&[:graph:]&&[:^alnum:]]/
+  }
 
   DATE_FORMATS = [
     '%Y-%m-%d',