jira-cli 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24aaafc8c0cbd9ae1830d16781ccfdae4d57c695
4
- data.tar.gz: 64d3470c5ae4c3b0bcb5f9adfa403e0d0c4f0cf1
3
+ metadata.gz: b826964d62b495e6d3be063a47c450f57045ac66
4
+ data.tar.gz: 330405878fa794dbb8870a29e04f6168bb13294c
5
5
  SHA512:
6
- metadata.gz: ff546c7868f58330d07439fb52cbf01f9db9a076696f3b7d77b1ebde128ac5ea96f246484eb34e9194e262b75f748aba7ac3b7de6487507386e23cd60218cc8c
7
- data.tar.gz: 88acd2274a38804e271b0a0f9dbbb00d19ea9e26cf3577cb72fba1f34d0cb3c8539e5030b31896b450a178379459a0fd6cdeb4671c140bfcb0dfaadab2eb0f0e
6
+ metadata.gz: 5dfb2fb820a72b9644e51759ac43745f586c56ab4a35637e02554e4b7d7042040c7ad1289be38fc935345c050ceef081cd5f8ffa7a7a93457a84458d6be0f948
7
+ data.tar.gz: 4688e54ca3153f165e20dfbda4e1d715bbf7132c8c7d1403ed4237b7d01dcf89a76f6a432c9d33e5cd96c5d1cf4e94e8c17fc1dec02d09ca0c5bba3525f1c7cf
@@ -1,5 +1,5 @@
1
1
  module Jira
2
2
 
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
 
5
5
  end
@@ -66,7 +66,7 @@ module Jira
66
66
  #
67
67
  def root_path
68
68
  return @root_path if !@root_path.nil?
69
- if !system('git rev-parse')
69
+ if !system('git rev-parse 2> /dev/null')
70
70
  puts "JIRA commands can only be run within a git repository."
71
71
  abort
72
72
  end
@@ -3,8 +3,8 @@ module Jira
3
3
 
4
4
  desc "describe", "Describes the input ticket"
5
5
  def describe(ticket=nil)
6
- ticket ||= `git rev-parse --abbrev-ref HEAD`.strip
7
- output_summary(ticket)
6
+ ticket || `git rev-parse --abbrev-ref HEAD`
7
+ description(ticket.strip)
8
8
  end
9
9
 
10
10
  desc "all", "Describes all local branches that match JIRA ticketing syntax"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jira-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darren Lin Cheng