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.
in lib/shiphawk/helpers/request.rb Rails module is used thought there is no rails dependency in project
Also this
APP_VERSION = IO.popen(['git', 'rev-parse', 'HEAD', :chdir => Rails.root]).read.chompmeans than project could be used only from git directory which is hardly possible for one who going only use it as gem.