tbgit 1.1.9 → 1.2.0

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tbgit/version.rb +1 -1
  3. data/lib/tbspec.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8b0e5c3b2efd0fcc7adaf6eb1279a9fcc77861f
4
- data.tar.gz: 8cd21537b520cd959a998578baff57fd3a000dc1
3
+ metadata.gz: f6c9029a429c95f679bbc6b76bcc0f71c4f6a5df
4
+ data.tar.gz: 2ff0568a5240427a1b9d9d7335032be910b9d6de
5
5
  SHA512:
6
- metadata.gz: c8f7a75d0f404670d09d1e2822feb549e1d1efb29596dab0da5467e4c723d8b8f48f22a86f08ae09e0bb8efb9017f7a2b389d0b1cf5b9c47d00c2b45517fcbdd
7
- data.tar.gz: 81584e6b91630cfc609b12f722fe7648ced118bf0ef977079587cb0187dcaebeebd020f7e8591e416f5d0f172f607f97591a79ebc6d4ee54d12f3023252cce77
6
+ metadata.gz: 6f44111943cd5c7013e62078e15fa929f731cc6984a518b053f9e8f07c6c00102ebb8943ebb906c5f3a8b06916fde62c081c47dc46b9439c270bd0870435c503
7
+ data.tar.gz: 4aa4f3c3266250bb6825cb0cf78a4dd4566ed54ba3091fcd73f9ab9b0d9b109b5f15953f329bf9f907f4d01861ad0533b013362bb8ef833cefba108760b7974c
@@ -1,3 +1,3 @@
1
1
  module Tbgit
2
- VERSION = "1.1.9"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -47,7 +47,7 @@ class TBSpec
47
47
  end
48
48
 
49
49
  opts.on("-o", "--on-completion COMMAND", "On completion of rspec testing, execute the specified command.") do |o|
50
- options[:on_completion] = 0
50
+ options[:on_completion] = o
51
51
  end
52
52
 
53
53
  opts.on_tail("-h", "--help", "Show this message") do
@@ -152,7 +152,7 @@ class TBSpec
152
152
  system("git push "+student+" "+student+":master")
153
153
  if options[:on_completion] != nil
154
154
  puts options[:on_completion]
155
- system(options[:on_completion].to_s)
155
+ system(options[:on_completion])
156
156
  end
157
157
  end
158
158
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tbgit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Proctor