dotfile_linker 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- require 'dotfile_linker/version'
1
+ require 'dotfile_linker/version' unless defined?(DotfileLinker::VERSION)
2
2
  require 'optparse'
3
3
  require 'fileutils'
4
4
  require 'colorize'
@@ -23,7 +23,7 @@ module DotfileLinker
23
23
  optparse = OptionParser.new do |opts|
24
24
  opts.on('-p', '--path PATH', 'Use [PATH] as dotfiles directory (instead of current directory)') { |path| @options[:path] = File.expand_path(path) }
25
25
  opts.on_tail('-u', '--unlink', 'Unlink mode') { @options[:unlink_mode] = true }
26
- opts.on_tail('-v', '--version', 'Show version') { puts VERSION; exit }
26
+ opts.on_tail('-v', '--version', 'Show version') { puts DotfileLinker::VERSION; exit }
27
27
  opts.on_tail('-h', '--help', 'Show this message') { puts opts; exit }
28
28
  end
29
29
  optparse.parse!
@@ -1,3 +1,3 @@
1
1
  module DotfileLinker
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotfile_linker
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dillon Kearns