git-up 0.5.10 → 0.5.11

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/lib/git-up.rb +11 -3
  2. data/lib/git-up/version.rb +1 -1
  3. metadata +4 -19
@@ -1,6 +1,8 @@
1
1
  require 'colored'
2
2
  require 'grit'
3
3
 
4
+ require 'git-up/version'
5
+
4
6
  class GitUp
5
7
  def run(argv)
6
8
  process_args(argv)
@@ -38,9 +40,12 @@ Fetch and rebase all remotely-tracked branches.
38
40
  staging #{"fast-forwarding...".yellow}
39
41
  production #{"up to date".green}
40
42
 
41
- There are no command-line options, but there are a few
42
- `git config` variables you can set. For info on those
43
- and more, check out the man page:
43
+ $ git up --version # print version info
44
+ $ git up --help # print this message
45
+
46
+ There are no interesting command-line options, but
47
+ there are a few `git config` variables you can set.
48
+ For info on those and more, check out the man page:
44
49
 
45
50
  $ git up man
46
51
 
@@ -56,6 +61,9 @@ BANNER
56
61
  case argv
57
62
  when []
58
63
  return
64
+ when ["-v"], ["--version"]
65
+ $stdout.puts "git-up #{GitUp::VERSION}"
66
+ exit
59
67
  when ["man"]
60
68
  system "man", man_path
61
69
  exit
@@ -1,3 +1,3 @@
1
1
  class GitUp
2
- VERSION = "0.5.10"
2
+ VERSION = "0.5.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.10
4
+ version: 0.5.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,24 +12,8 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-07-16 00:00:00.000000000 Z
15
+ date: 2013-07-21 00:00:00.000000000 Z
16
16
  dependencies:
17
- - !ruby/object:Gem::Dependency
18
- name: thoughtbot-shoulda
19
- requirement: !ruby/object:Gem::Requirement
20
- none: false
21
- requirements:
22
- - - ! '>='
23
- - !ruby/object:Gem::Version
24
- version: '0'
25
- type: :development
26
- prerelease: false
27
- version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
33
17
  - !ruby/object:Gem::Dependency
34
18
  name: colored
35
19
  requirement: !ruby/object:Gem::Requirement
@@ -78,7 +62,8 @@ files:
78
62
  - LICENSE
79
63
  - README.md
80
64
  homepage: http://github.com/aanand/git-up
81
- licenses: []
65
+ licenses:
66
+ - MIT
82
67
  post_install_message:
83
68
  rdoc_options: []
84
69
  require_paths: