opsb-git 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/git/base.rb +2 -2
- data/lib/git/lib.rb +3 -3
- metadata +5 -5
data/lib/git/base.rb
CHANGED
@@ -303,8 +303,8 @@ module Git
|
|
303
303
|
#
|
304
304
|
# @git.config('remote.remote-name.push', 'refs/heads/master:refs/heads/master')
|
305
305
|
#
|
306
|
-
def push(remote = 'origin', branch = 'master', tags = false
|
307
|
-
self.lib.push(remote, branch, tags
|
306
|
+
def push(remote = 'origin', branch = 'master', tags = false)
|
307
|
+
self.lib.push(remote, branch, tags)
|
308
308
|
end
|
309
309
|
|
310
310
|
# merges one or more branches into the current working branch
|
data/lib/git/lib.rb
CHANGED
@@ -538,7 +538,7 @@ module Git
|
|
538
538
|
# this is documented as such, but seems broken for some reason
|
539
539
|
# i'll try to get around it some other way later
|
540
540
|
def remote_remove(name)
|
541
|
-
command('remote', ['rm',
|
541
|
+
command('remote', ['rm', name])
|
542
542
|
end
|
543
543
|
|
544
544
|
def remotes
|
@@ -558,8 +558,8 @@ module Git
|
|
558
558
|
command('fetch', remote)
|
559
559
|
end
|
560
560
|
|
561
|
-
def push(remote, branch = 'master', tags = false
|
562
|
-
command('push', [remote, branch]
|
561
|
+
def push(remote, branch = 'master', tags = false)
|
562
|
+
command('push', [remote, branch])
|
563
563
|
command('push', ['--tags', remote]) if tags
|
564
564
|
end
|
565
565
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opsb-git
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 6
|
10
|
+
version: 1.2.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Scott Chacon
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-11-11 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: "0"
|
76
76
|
requirements:
|
77
77
|
- git 1.6.0.0, or greater
|
78
|
-
rubyforge_project:
|
78
|
+
rubyforge_project:
|
79
79
|
rubygems_version: 1.3.7
|
80
80
|
signing_key:
|
81
81
|
specification_version: 3
|