bin/cloudstrap-versions in cloudstrap-0.46.4.pre vs bin/cloudstrap-versions in cloudstrap-0.46.7.pre
- old
+ new
@@ -1,15 +1,15 @@
#!/usr/bin/env ruby
-require 'faraday'
-require 'tty-table'
-require 'pastel'
-
if ENV['HACKING']
require_relative '../lib/cloudstrap'
else
require 'cloudstrap'
end
+
+require 'faraday'
+require 'tty-table'
+require 'pastel'
CLOUDSTRAP_VERSION = $LOADED_FEATURES
.map { |f| f.match %r{cloudstrap-(?<version>[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+(\.pre)?)} }
.compact
.map { |m| m['version'] }