brigit 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -0
- data/brigit.gemspec +5 -5
- data/lib/brigit/cli.rb +1 -1
- data/lib/brigit/commands/update_command.rb +2 -6
- data/lib/brigit/version.rb +1 -1
- data/test/cli_test.rb +1 -1
- data/test/test_helper.rb +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -6,6 +6,7 @@ A random collection of utilities for developers working with Git repositories.
|
|
6
6
|
|
7
7
|
* git (>= 1.0.5) by Scott Chacon (sudo gem install git)
|
8
8
|
* highline (>= 1.4.0) by James Edward Gray II (sudo gem install highline)
|
9
|
+
* echoe (>= 3) by Cloudburst, LLC (sudo gem install echoe)
|
9
10
|
|
10
11
|
== Contributing
|
11
12
|
|
data/brigit.gemspec
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
|
2
|
-
# Gem::Specification for Brigit-0.9.
|
2
|
+
# Gem::Specification for Brigit-0.9.3
|
3
3
|
# Originally generated by Echoe
|
4
4
|
|
5
5
|
--- !ruby/object:Gem::Specification
|
6
6
|
name: brigit
|
7
7
|
version: !ruby/object:Gem::Version
|
8
|
-
version: 0.9.
|
8
|
+
version: 0.9.3
|
9
9
|
platform: ruby
|
10
10
|
authors:
|
11
11
|
- FiveRuns Development Team
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
|
15
|
-
date: 2008-
|
15
|
+
date: 2008-10-03 00:00:00 -05:00
|
16
16
|
default_executable:
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
@@ -131,14 +131,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
131
|
version:
|
132
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
|
-
- - "
|
134
|
+
- - ">="
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: "1.2"
|
137
137
|
version:
|
138
138
|
requirements: []
|
139
139
|
|
140
140
|
rubyforge_project: fiveruns
|
141
|
-
rubygems_version: 1.
|
141
|
+
rubygems_version: 1.3.0
|
142
142
|
specification_version: 2
|
143
143
|
summary: Git utilities
|
144
144
|
test_files:
|
data/lib/brigit/cli.rb
CHANGED
@@ -8,16 +8,12 @@ module Brigit
|
|
8
8
|
def run
|
9
9
|
pull = false
|
10
10
|
super do
|
11
|
-
parser.on('-p', '--pull', "Pull
|
11
|
+
parser.on('-p', '--pull', "Pull repo (remote branch must have same name)") do
|
12
12
|
pull = true
|
13
13
|
end
|
14
14
|
end
|
15
15
|
if pull
|
16
|
-
|
17
|
-
sh "git pull origin master"
|
18
|
-
else
|
19
|
-
say "Not on `master' branch; skipping update of main repo..."
|
20
|
-
end
|
16
|
+
sh "git pull origin '#{Brigit.repo.current_branch}'"
|
21
17
|
end
|
22
18
|
Brigit.at_dot_gitmodules do |path|
|
23
19
|
say "---\nSubmodule: #{path}"
|
data/lib/brigit/version.rb
CHANGED
data/test/cli_test.rb
CHANGED
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brigit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- FiveRuns Development Team
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-10-03 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -128,14 +128,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
128
|
version:
|
129
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|
131
|
-
- - "
|
131
|
+
- - ">="
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: "1.2"
|
134
134
|
version:
|
135
135
|
requirements: []
|
136
136
|
|
137
137
|
rubyforge_project: fiveruns
|
138
|
-
rubygems_version: 1.
|
138
|
+
rubygems_version: 1.3.0
|
139
139
|
signing_key:
|
140
140
|
specification_version: 2
|
141
141
|
summary: Git utilities
|