gittest 0.1.3 → 0.1.4

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.
Files changed (3) hide show
  1. data/bin/gittest +5 -1
  2. data/lib/gittest.rb +2 -2
  3. metadata +4 -4
data/bin/gittest CHANGED
@@ -18,7 +18,11 @@ OptionParser.new do |opts|
18
18
  end
19
19
  opts.on("-t", "--trace", "Enable full backtrace on exception") do |o|
20
20
  options[:trace] = o
21
- end
21
+ end
22
+ opts.on("--version", "Show version info and exit") do |o|
23
+ puts "gittest version " + Gittest::VERSION
24
+ exit
25
+ end
22
26
  end.parse!
23
27
 
24
28
  # create an instance of Gittest to do the dirty work
data/lib/gittest.rb CHANGED
@@ -4,7 +4,7 @@ require 'rbconfig'
4
4
 
5
5
  class Gittest
6
6
 
7
- VERSION = '0.1.3'
7
+ VERSION = '0.1.4'
8
8
 
9
9
  attr_reader :commit, :test_mappings
10
10
 
@@ -21,7 +21,7 @@ class Gittest
21
21
  @commit = commit
22
22
  end
23
23
 
24
- # Reset the known files and both new_or_modified_files and files_to_test values
24
+ # Reset the new_or_modified_files and files_to_test values
25
25
  def reset
26
26
  @new_or_modified_files = nil
27
27
  @files_to_test = nil
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gittest
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mark Woods
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-17 00:00:00 +00:00
18
+ date: 2011-05-19 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency