opsb-git 1.2.9 → 1.2.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/git/base.rb +2 -2
  2. data/lib/git/lib.rb +2 -2
  3. metadata +4 -4
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, options = [])
307
+ self.lib.push(remote, branch, tags, options)
308
308
  end
309
309
 
310
310
  # merges one or more branches into the current working branch
data/lib/git/lib.rb CHANGED
@@ -558,9 +558,9 @@ module Git
558
558
  command('fetch', remote)
559
559
  end
560
560
 
561
- def push(remote, branch = 'master', tags = false)
561
+ def push(remote, branch = 'master', tags = false, options = [])
562
562
  command('push', [remote, branch])
563
- command('push', ['--tags', remote]) if tags
563
+ command('push', (['--tags', remote] + options) ) if tags
564
564
  end
565
565
 
566
566
  def tag_sha(tag_name)
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: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 9
10
- version: 1.2.9
9
+ - 10
10
+ version: 1.2.10
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-11-11 00:00:00 +00:00
18
+ date: 2010-11-14 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies: []
21
21