guitr 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +6 -1
  2. data/lib/guitr.rb +1 -1
  3. data/lib/guitr/git.rb +5 -5
  4. metadata +4 -4
data/History.txt CHANGED
@@ -21,4 +21,9 @@
21
21
  * --pull operation was refactored
22
22
  * bug with absence of the remote branch or empty repo was fixed
23
23
  Other
24
- * additional small improvements
24
+ * additional small improvements
25
+
26
+ === 0.0.5 2010-06-24
27
+
28
+ * 1 major enhancements:
29
+ * --unpushed operation was enhanced to be informative
data/lib/guitr.rb CHANGED
@@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module Guitr
5
- VERSION = '0.0.4'
5
+ VERSION = '0.0.5'
6
6
  end
7
7
 
8
8
  require 'guitr/guitr'
data/lib/guitr/git.rb CHANGED
@@ -31,7 +31,7 @@ module Guitr
31
31
  current_branch = git_lib.branch_current
32
32
  remote = git_lib.remotes
33
33
  if remote.empty?
34
- puts "There is no remote for '#{repo}' repository."
34
+ puts "There is no remote for '#{repo}'."
35
35
  return ''
36
36
  end
37
37
  res = ''
@@ -39,13 +39,13 @@ module Guitr
39
39
  res = git_lib.unpushed(current_branch, "#{remote}/#{current_branch}")
40
40
  if !res.empty?
41
41
  puts
42
- puts 'Unpushed commits: '
42
+ puts "Unpushed commits '#{repo}': "
43
43
  puts res
44
44
  puts
45
45
  end
46
- puts "There is no unpushed commits for #{repo} repository." if res.empty?
46
+ puts "There is no unpushed commits for #{repo}." if res.empty?
47
47
  rescue Git::GitExecuteError => e
48
- puts "Unable to check unpushed commits: #{e.message}"
48
+ puts "Unable to check unpushed commits '#{repo}' #{e.message}"
49
49
  end
50
50
 
51
51
  res
@@ -66,7 +66,7 @@ module Guitr
66
66
  puts res
67
67
  res
68
68
  rescue Git::GitExecuteError => e
69
- puts "Unable to pull: #{e.message}"
69
+ puts "Unable to pull for #{repo}: #{e.message}"
70
70
  end
71
71
  end
72
72
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guitr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - webdizz
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-17 00:00:00 +03:00
18
+ date: 2010-06-24 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency