rgitflow 0.2.0.pre.alpha.pre.23 → 0.2.0.pre.alpha.pre.25

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzMzZTQ4ZmJlNTAwMTIyZjFjYTJmMGNmZDU0ZWZhZGY1MGJmNTZmMw==
4
+ OTljMGY1M2NlNTFmNmJmMDYxMzhlZDUxNzZlODBiMDllODVkNDZmOA==
5
5
  data.tar.gz: !binary |-
6
- YmRkOGMxNjlkZGJhYmMzZTQzMDM0MzIwMDc4MzIyNzUyMmU3ZDU5MA==
6
+ MjljZDE2M2IzYzQ4YjM0NDU4NGZkYTk4OGM4NDBjNTNiYjlkYTEwNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWRkNzFmMmZkNGNlOTVjNTVmMGI1Y2RlYjEzNDM2NDMxMjFjMWMxZmMyMWQ0
10
- NTlmNjg0OTU1YjU0MjI1ZGM4YWEyZTZlN2UzMmEzZmE3NWZiY2RlMjA5YWVh
11
- YTAwMTY4YzQ5ZmRjYTY5Zjc3MTI4OTAxODU0ZGY5NWFhNjY4ZmI=
9
+ Njk5OGM0OTViMmRiMWM5MDM0MTc2NWVkNmVlMDVjYmQ4Yzk3NGZmNDBjOTg4
10
+ ZWU2NGMwNGNkM2U0MjgyZjI5ZjcwN2Q0NDQ5OWNjODE1N2ExYWFlNjY1ZTEz
11
+ ZThmODBiMjE1ZjU2ZmE2NzM3ZmMxOTJjY2E3OTljZTU1NzZhNTA=
12
12
  data.tar.gz: !binary |-
13
- ZWY2M2E0OTViMWYwMzdlNjNjYzRkYjViNzE3Y2FmZjE1NDZiZTIwNjk3MTY5
14
- MmY0OGNjNDA0M2M1MWNhZWI3ZmUwYTA4ZGZkZTY3ZTc1NTZlOTE4NDJiMjA5
15
- MjNkNzEyMDA5M2Y5YzUwMWMyMjY4OTAwOTFhNzIzYWQ2MDg0NDY=
13
+ ZGNkZDlkNzI1MjljZjM4NjEwYjNhNGE3ZWU1OWZlMmViZjBhZGJmZjBkNzM5
14
+ NzA4MDgxYTUxNjIxODY3NWM4ZTExZGEwYzNlOTcxZTk1YjE0YTliNDUxMDYy
15
+ NmRmMGY4OTI5ZTIwNmYyNTdiZGQ2ODFjYjY5YmUzMTc0ZmViY2U=
data/README.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # RGitFlow
2
2
 
3
- A collection of Rake tasks intended to emulate Git Flow in a Ruby context.
3
+ [![Code Climate](https://img.shields.io/codeclimate/github/Nunnery/rgitflow.svg?style=flat-square)](https://codeclimate.com/github/Nunnery/rgitflow)
4
+ [![Test Coverage](https://img.shields.io/codeclimate/coverage/github/Nunnery/rgitflow.svg?style=flat-square)](https://codeclimate.com/github/Nunnery/rgitflow/coverage)
5
+ [![Build Status](https://img.shields.io/travis/Nunnery/rgitflow.svg?style=flat-square)](https://travis-ci.org/Nunnery/rgitflow)
6
+ [![Dependency Status](https://img.shields.io/gemnasium/Nunnery/rgitflow.svg?style=flat-square)](https://gemnasium.com/Nunnery/rgitflow)
7
+ [![Gem Version](https://img.shields.io/gem/v/rgitflow.svg?style=flat-square)](https://rubygems.org/gems/rgitflow)
8
+ [![Docs Coverage](http://inch-ci.org/github/Nunnery/rgitflow.svg?branch=master&style=flat-square)](http://inch-ci.org/github/Nunnery/rgitflow)
4
9
 
5
10
  ## Installation
6
11
 
@@ -33,4 +38,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/Nunner
33
38
  ## License
34
39
 
35
40
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
36
-
data/README.rdoc ADDED
@@ -0,0 +1,30 @@
1
+ = rgitflow
2
+
3
+ {<img src="https://img.shields.io/codeclimate/github/Nunnery/rgitflow.svg?style=flat-square" alt="Code Climate" />}[https://codeclimate.com/github/Nunnery/rgitflow]
4
+ {<img src="https://img.shields.io/codeclimate/coverage/github/Nunnery/rgitflow.svg?style=flat-square" alt="Code Coverage" />}[https://codeclimate.com/github/Nunnery/rgitflow/coverage]
5
+ {<img src="https://img.shields.io/travis/Nunnery/rgitflow.svg?style=flat-square" alt="Build Status" />}[https://travis-ci.org/Nunnery/rgitflow]
6
+ {<img src="https://img.shields.io/gemnasium/Nunnery/rgitflow.svg?style=flat-square" alt="Dependency Status" />}[https://gemnasium.com/Nunnery/rgitflow]
7
+ {<img src="https://img.shields.io/gem/v/rgitflow.svg?style=flat-square" alt="RubyGems" />}[https://rubygems.org/gems/rgitflow]
8
+ {<img src="http://inch-ci.org/github/Nunnery/rgitflow.svg?branch=master&style=flat-square" alt="Doc Coverage" />}[http://inch-ci.org/github/Nunnery/rgitflow]
9
+
10
+ == Description
11
+
12
+ TODO: Description
13
+
14
+ == Features
15
+
16
+ == Examples
17
+
18
+ require 'rgitflow'
19
+
20
+ == Requirements
21
+
22
+ == Install
23
+
24
+ $ gem install rgitflow
25
+
26
+ == Copyright
27
+
28
+ Copyright (c) 2015 Richard Harrah
29
+
30
+ See LICENSE.txt for details.
data/exe/rgitflow CHANGED
@@ -12,8 +12,8 @@ module RGitFlowCLI
12
12
  end
13
13
 
14
14
  desc 'finish', 'finishes a feature branch'
15
- def finish
16
- run 'bundle', 'exec', 'rake', 'rgitflow:feature:finish'
15
+ def finish(name)
16
+ run 'bundle', 'exec', 'rake', 'rgitflow:feature:finish', "BRANCH=#{name}"
17
17
  end
18
18
  end
19
19
 
@@ -22,13 +22,13 @@ module RGitFlowCLI
22
22
 
23
23
  desc 'start', %Q(starts a release branch named
24
24
  #{RGitFlow::Config.options[:release]}/#{RGitFlow::VERSION.to_s})
25
- def start
26
- run 'bundle', 'exec', 'rake', 'rgitflow:release:start'
25
+ def start(name)
26
+ run 'bundle', 'exec', 'rake', 'rgitflow:release:start', "BRANCH=#{name}"
27
27
  end
28
28
 
29
29
  desc 'finish', 'finishes a release branch'
30
- def finish
31
- run 'bundle', 'exec', 'rake', 'rgitflow:release:finish'
30
+ def finish(name)
31
+ run 'bundle', 'exec', 'rake', 'rgitflow:release:finish', "BRANCH=#{name}"
32
32
  end
33
33
  end
34
34
 
@@ -41,8 +41,8 @@ module RGitFlowCLI
41
41
  end
42
42
 
43
43
  desc 'finish', 'finishes a hotfix branch'
44
- def finish
45
- run 'bundle', 'exec', 'rake', 'rgitflow:hotfix:finish'
44
+ def finish(name)
45
+ run 'bundle', 'exec', 'rake', 'rgitflow:hotfix:finish', "BRANCH=#{name}"
46
46
  end
47
47
  end
48
48
 
@@ -36,7 +36,7 @@ module RGitFlow
36
36
  end
37
37
 
38
38
  def dirty?
39
- @git.dirty?
39
+ @git.diff.size > 0
40
40
  end
41
41
 
42
42
  def print_status
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgitflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.pre.alpha.pre.23
4
+ version: 0.2.0.pre.alpha.pre.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Harrah
@@ -131,6 +131,7 @@ extensions: []
131
131
  extra_rdoc_files:
132
132
  - ChangeLog.rdoc
133
133
  - LICENSE.txt
134
+ - README.rdoc
134
135
  files:
135
136
  - .codeclimate.yml
136
137
  - .document
@@ -143,6 +144,7 @@ files:
143
144
  - Gemfile
144
145
  - LICENSE.txt
145
146
  - README.md
147
+ - README.rdoc
146
148
  - Rakefile
147
149
  - bin/setup
148
150
  - exe/rgitflow