githublaunch 0.1.2 → 0.1.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.
data/githublaunch.gemspec CHANGED
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- require File.expand_path('../lib/githublaunch/version', __FILE__)
2
+ require File.expand_path('../lib/githublaunch', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "githublaunch"
data/lib/githublaunch.rb CHANGED
@@ -3,6 +3,7 @@ require 'pathname'
3
3
  require 'grit'
4
4
 
5
5
  class GithubLaunch < Thor
6
+ VERSION = "0.1.3"
6
7
 
7
8
  desc "network", "Open network view"
8
9
  def network; launch "/network"; end
@@ -38,6 +39,9 @@ class GithubLaunch < Thor
38
39
  launch "/pull/new/#{base}...#{head || repo.head.name}"
39
40
  end
40
41
 
42
+ desc "version", "Displays current version"
43
+ def version; puts VERSION; end
44
+
41
45
  private
42
46
 
43
47
  def repo
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: githublaunch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -57,7 +57,6 @@ files:
57
57
  - bin/ghl
58
58
  - githublaunch.gemspec
59
59
  - lib/githublaunch.rb
60
- - lib/githublaunch/version.rb
61
60
  homepage: https://github.com/loganlinn/githublaunch
62
61
  licenses: []
63
62
  post_install_message:
@@ -1,3 +0,0 @@
1
- class GithubLaunch
2
- VERSION = "0.1.2"
3
- end