exe/githelp-unchanged in githelp-0.1.2 vs exe/githelp-unchanged in githelp-0.1.3
- old
+ new
@@ -1,11 +1,9 @@
#!/usr/bin/env ruby
# coding: utf-8
-progpath = $0
-progpath = File.expand_path(progpath)
-progdir = "#{File.dirname(progpath)}"
+require "bundler/setup"
+require "githelp"
-require "#{progdir}/../lib/files"
-require "#{progdir}/../lib/changes"
+include Githelp
puts unchanged(ARGV[0])