git_remote_branch 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,3 +1,5 @@
1
+ .rvmrc
2
+ .rbenv-version
1
3
  .DS_Store
2
4
  pkg
3
5
  coverage
@@ -87,7 +87,7 @@ run to accomplish that goal.
87
87
  Examples:
88
88
 
89
89
  $ grb explain create
90
- git_remote_branch version 0.3.0
90
+ git_remote_branch version 0.3.3
91
91
 
92
92
  List of operations to do to create a new remote branch and track it locally:
93
93
 
@@ -99,7 +99,7 @@ Examples:
99
99
  Explain your specific case:
100
100
 
101
101
  $ grb explain create my_branch github
102
- git_remote_branch version 0.3.0
102
+ git_remote_branch version 0.3.3
103
103
 
104
104
  List of operations to do to create a new remote branch and track it locally:
105
105
 
@@ -112,10 +112,10 @@ This, of course, works for each of the grb commands.
112
112
 
113
113
  = More on git_remote_branch
114
114
 
115
- - Documentation: https://github.com/webmat/git_remote_branch#readme
116
- - Code: http://github.com/webmat/git_remote_branch
117
- - Bugs: https://github.com/webmat/git_remote_branch/issues
118
- - News: http://programblings.com/category/git/git_remote_branch/
115
+ - {Documentation}[http://rubydoc.info/gems/git_remote_branch/0.3.3/frames]
116
+ - {Code}[https://github.com/webmat/git_remote_branch]
117
+ - {Bugs}[https://github.com/webmat/git_remote_branch/issues]
118
+ - News at {Mathieu Martin's blog}[http://programblings.com]
119
119
 
120
120
 
121
121
  == History
@@ -125,10 +125,11 @@ git_remote_branch in its current form was inspired by a script created by Carl M
125
125
 
126
126
  == Contributors
127
127
 
128
- - Mathieu Martin webmat@gmail.com
129
- - Caio Chassot dev@caiochassot.com
130
- - Axelson github.com/axelson
131
- - Carl Mercier github.com/cmer
128
+ - {Mathieu Martin}[http://www.programblings.com]
129
+ - {Ivan}[https://github.com/toy]
130
+ - {Caio Chassot}[http://caiochassot.com]
131
+ - {Axelson}[https://github.com/axelson]
132
+ - {Carl Mercier}[https://github.com/cmer]
132
133
 
133
134
 
134
135
  == Legalese
@@ -139,7 +140,7 @@ git_remote_branch is licensed under the MIT License. See the file LICENSE for de
139
140
 
140
141
  This version of git_remote_branch has been tested with
141
142
 
142
- - OS X Lion
143
+ - OS X Mountain Lion
143
144
  - past versions were known to work on Linux and Windows
144
145
  - Ruby 1.8.7, 1.9.2, 1.9.3
145
146
  - git 1.7+
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ load File.join(File.dirname(__FILE__), 'grb')
@@ -113,7 +113,7 @@ module GitRemoteBranch
113
113
  grb explain create my_branch github
114
114
 
115
115
  All commands also have aliases:
116
- #{ COMMANDS.keys.map{|k| k.to_s}.sort.map {|cmd|
116
+ #{ COMMANDS.keys.map{|k| k.to_s}.sort.map {|cmd|
117
117
  "#{cmd}: #{COMMANDS[cmd.to_sym][:aliases].join(', ')}" }.join("\n ") }
118
118
  HELP
119
119
  end
@@ -27,12 +27,12 @@ module GitRemoteBranch
27
27
  raise(NotOnGitRepositoryError, listing.chomp) if listing =~ /Not a git repository/i
28
28
  if listing =~ /\(no branch\)/
29
29
  raise InvalidBranchError, ["Couldn't identify the current local branch. The branch listing was:",
30
- LOCAL_BRANCH_LISTING_COMMAND.foreground(:red),
30
+ LOCAL_BRANCH_LISTING_COMMAND.foreground(:red),
31
31
  listing].join("\n")
32
32
  end
33
33
 
34
34
  current_branch = nil
35
- branches = listing.split("\n").map do |line|
35
+ branches = listing.split("\n").map do |line|
36
36
  current = line.include? '*'
37
37
  clean_line = line.gsub('*','').strip
38
38
  current_branch = clean_line if current
@@ -2,7 +2,7 @@ module GitRemoteBranch
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,123 +1,129 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: git_remote_branch
3
- version: !ruby/object:Gem::Version
4
- hash: 21
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.4
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 3
9
- - 3
10
- version: 0.3.3
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Mathieu Martin
14
9
  - Carl Mercier
15
10
  autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2011-12-14 00:00:00 -05:00
20
- default_executable:
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
23
- version_requirements: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
13
+ date: 2012-09-12 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
32
16
  name: rake
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
33
23
  type: :development
34
24
  prerelease: false
35
- requirement: *id001
36
- - !ruby/object:Gem::Dependency
37
- version_requirements: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: !ruby/object:Gem::Requirement
38
26
  none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
31
+ - !ruby/object:Gem::Dependency
46
32
  name: rdoc
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
47
39
  type: :development
48
40
  prerelease: false
49
- requirement: *id002
50
- - !ruby/object:Gem::Dependency
51
- version_requirements: &id003 !ruby/object:Gem::Requirement
41
+ version_requirements: !ruby/object:Gem::Requirement
52
42
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- hash: 3
57
- segments:
58
- - 0
59
- version: "0"
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
60
48
  name: test-unit
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
61
55
  type: :development
62
56
  prerelease: false
63
- requirement: *id003
64
- - !ruby/object:Gem::Dependency
65
- version_requirements: &id004 !ruby/object:Gem::Requirement
57
+ version_requirements: !ruby/object:Gem::Requirement
66
58
  none: false
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- hash: 3
71
- segments:
72
- - 0
73
- version: "0"
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ - !ruby/object:Gem::Dependency
74
64
  name: shoulda
65
+ requirement: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
75
71
  type: :development
76
72
  prerelease: false
77
- requirement: *id004
78
- - !ruby/object:Gem::Dependency
79
- version_requirements: &id005 !ruby/object:Gem::Requirement
73
+ version_requirements: !ruby/object:Gem::Requirement
80
74
  none: false
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- hash: 3
85
- segments:
86
- - 0
87
- version: "0"
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ - !ruby/object:Gem::Dependency
88
80
  name: mocha
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
89
87
  type: :development
90
88
  prerelease: false
91
- requirement: *id005
92
- - !ruby/object:Gem::Dependency
93
- version_requirements: &id006 !ruby/object:Gem::Requirement
89
+ version_requirements: !ruby/object:Gem::Requirement
94
90
  none: false
95
- requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- hash: 3
99
- segments:
100
- - 0
101
- version: "0"
91
+ requirements:
92
+ - - ! '>='
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ - !ruby/object:Gem::Dependency
102
96
  name: rainbow
97
+ requirement: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ! '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
103
  type: :runtime
104
104
  prerelease: false
105
- requirement: *id006
106
- description: git_remote_branch is a learning tool to ease the interaction with remote branches in simple situations.
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: git_remote_branch is a learning tool to ease the interaction with remote
112
+ branches in simple situations.
107
113
  email: webmat@gmail.com
108
- executables:
114
+ executables:
115
+ - git-remote-branch
109
116
  - grb
110
117
  extensions: []
111
-
112
118
  extra_rdoc_files: []
113
-
114
- files:
119
+ files:
115
120
  - .gitignore
116
121
  - CHANGELOG
117
122
  - Gemfile
118
123
  - LICENSE
119
124
  - README.rdoc
120
125
  - Rakefile
126
+ - bin/git-remote-branch
121
127
  - bin/grb
122
128
  - git_remote_branch.gemspec
123
129
  - lib/constants.rb
@@ -145,41 +151,37 @@ files:
145
151
  - test/unit/param_reader_test.rb
146
152
  - test/unit/state_test.rb
147
153
  - vendor/capture_fu.rb
148
- has_rdoc: true
149
154
  homepage: http://github.com/webmat/git_remote_branch
150
155
  licenses: []
151
-
152
156
  post_install_message:
153
157
  rdoc_options: []
154
-
155
- require_paths:
158
+ require_paths:
156
159
  - lib
157
- required_ruby_version: !ruby/object:Gem::Requirement
160
+ required_ruby_version: !ruby/object:Gem::Requirement
158
161
  none: false
159
- requirements:
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- hash: 3
163
- segments:
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ segments:
164
167
  - 0
165
- version: "0"
166
- required_rubygems_version: !ruby/object:Gem::Requirement
168
+ hash: -3330691997663419268
169
+ required_rubygems_version: !ruby/object:Gem::Requirement
167
170
  none: false
168
- requirements:
169
- - - ">="
170
- - !ruby/object:Gem::Version
171
- hash: 3
172
- segments:
171
+ requirements:
172
+ - - ! '>='
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ segments:
173
176
  - 0
174
- version: "0"
177
+ hash: -3330691997663419268
175
178
  requirements: []
176
-
177
179
  rubyforge_project:
178
- rubygems_version: 1.3.9.1
180
+ rubygems_version: 1.8.24
179
181
  signing_key:
180
182
  specification_version: 3
181
183
  summary: git_remote_branch eases the interaction with remote branches
182
- test_files:
184
+ test_files:
183
185
  - test/functional/grb_test.rb
184
186
  - test/helpers/array_extensions.rb
185
187
  - test/helpers/constants.rb