diff options
author | Wild Kat <wk@users.noreply.github.com> | 2018-06-08 09:58:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-08 09:58:46 +0200 |
commit | 670c044b0db9c8f7536e057eb5f5f7525f446fff (patch) | |
tree | e189e750154cd79fce509bd77e8ca712af29d1de /lib/oxidized | |
parent | 3e6dc8acc5268c76f009299d43adc61867dd8343 (diff) |
rc 0.57.1, fixup, todo + drop rails_best_practices (#1372)
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/hook/githubrepo.rb | 2 | ||||
-rw-r--r-- | lib/oxidized/model/br6910.rb | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/oxidized/hook/githubrepo.rb b/lib/oxidized/hook/githubrepo.rb index e077d5d..9701608 100644 --- a/lib/oxidized/hook/githubrepo.rb +++ b/lib/oxidized/hook/githubrepo.rb @@ -49,7 +49,7 @@ class GithubRepo < Oxidized::Hook if cfg.has_key?('username') git_user = cfg.username else - git_user = username_from_url ? username_from_url : 'git' + git_user = username_from_url || 'git' end if cfg.has_key?('password') diff --git a/lib/oxidized/model/br6910.rb b/lib/oxidized/model/br6910.rb index 1e79da3..77fa980 100644 --- a/lib/oxidized/model/br6910.rb +++ b/lib/oxidized/model/br6910.rb @@ -1,4 +1,3 @@ - class BR6910 < Oxidized::Model prompt /^([\w.@()-]+[#>]\s?)$/ comment '! ' |