diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli.rb | 6 | ||||
-rw-r--r-- | lib/leap_cli/version.rb | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/leap_cli.rb b/lib/leap_cli.rb index 0b3a59f..e258cf3 100644 --- a/lib/leap_cli.rb +++ b/lib/leap_cli.rb @@ -1,10 +1,6 @@ module LeapCli; end -unless defined?(LeapCli::VERSION) - # ^^ I am not sure why this is needed. - require 'leap_cli/version.rb' -end - +require 'leap_cli/version.rb' require 'core_ext/hash' require 'core_ext/boolean' require 'core_ext/nil' diff --git a/lib/leap_cli/version.rb b/lib/leap_cli/version.rb index c272647..5900ee5 100644 --- a/lib/leap_cli/version.rb +++ b/lib/leap_cli/version.rb @@ -1,3 +1,5 @@ module LeapCli - VERSION = '0.0.1' + unless defined?(LeapCli::VERSION) + VERSION = '0.0.1' + end end |