lib/signore/settings.rb in signore-0.3.1 vs lib/signore/settings.rb in signore-0.3.2
- old
+ new
@@ -9,12 +9,12 @@
def action
args.first
end
- def db_path
- db_dir = ENV.fetch('XDG_DATA_HOME') { File.expand_path('~/.local/share') }
- Pathname.new("#{db_dir}/signore/signatures.yml")
+ def repo_path
+ dir = ENV.fetch('XDG_DATA_HOME') { File.expand_path('~/.local/share') }
+ Pathname.new("#{dir}/signore/signatures.yml")
end
def tags
Tags.new(forbidden: forbidden, required: required)
end