-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
in lib/shiphawk/helpers/request.rb Rails module is used thought there is no rails dependency in project
5 module Helpers
6
7 module Request
8
9 APP_VERSION = IO.popen(['git', 'rev-parse', 'HEAD', :chdir => Rails.root]).read.chomp
…
40 conn.use :extended_logging, logger: Rails.logger
41 Also this APP_VERSION = IO.popen(['git', 'rev-parse', 'HEAD', :chdir => Rails.root]).read.chomp means than project could be used only from git directory which is hardly possible for one who going only use it as gem.
Metadata
Metadata
Assignees
Labels
No labels