tms 1.3.1.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/.tmignore +1 -0
  2. data/Rakefile +0 -1
  3. data/VERSION +1 -1
  4. data/bin/tms +2 -6
  5. data/tms.gemspec +3 -2
  6. metadata +5 -5
@@ -0,0 +1 @@
1
+ /*.gemspec
data/Rakefile CHANGED
@@ -1,4 +1,3 @@
1
- # require 'rubygems'
2
1
  require 'rake'
3
2
  require 'jeweler'
4
3
  require 'rake/gem_ghost_task'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.1.1
1
+ 1.3.2
data/bin/tms CHANGED
@@ -63,8 +63,8 @@ Options for #{type} (-h to view all options):
63
63
  end
64
64
  end
65
65
 
66
- op.on_tail('-h', '--help', 'Show this message') do
67
- puts op.help
66
+ op.on_tail('-h', '--help', 'Show full help') do
67
+ puts option_parser.help
68
68
  exit
69
69
  end
70
70
 
@@ -76,10 +76,6 @@ Options for #{type} (-h to view all options):
76
76
  end
77
77
 
78
78
  ids, options = ARGV.partition{ |arg| arg =~ /^[\-n]?\d+$/ }
79
- begin
80
- option_parser.parse(options) # exits on -h or -v
81
- rescue OptionParser::ParseError => e
82
- end
83
79
  type = ids.empty? ? :list : :diff
84
80
  begin
85
81
  option_parser(type).parse!(options)
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{tms}
8
- s.version = "1.3.1.1"
8
+ s.version = "1.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ivan Kuchin"]
12
- s.date = %q{2010-12-15}
12
+ s.date = %q{2010-12-17}
13
13
  s.default_executable = %q{tms}
14
14
  s.description = %q{View avaliable Time Machine backups and show their diff}
15
15
  s.executables = ["tms"]
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
19
19
  "README.markdown"
20
20
  ]
21
21
  s.files = [
22
+ ".tmignore",
22
23
  "LICENSE.txt",
23
24
  "README.markdown",
24
25
  "Rakefile",
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tms
3
3
  version: !ruby/object:Gem::Version
4
- hash: 65
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 1
10
- - 1
11
- version: 1.3.1.1
9
+ - 2
10
+ version: 1.3.2
12
11
  platform: ruby
13
12
  authors:
14
13
  - Ivan Kuchin
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-12-15 00:00:00 +03:00
18
+ date: 2010-12-17 00:00:00 +03:00
20
19
  default_executable: tms
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
@@ -101,6 +100,7 @@ extra_rdoc_files:
101
100
  - LICENSE.txt
102
101
  - README.markdown
103
102
  files:
103
+ - .tmignore
104
104
  - LICENSE.txt
105
105
  - README.markdown
106
106
  - Rakefile