rgitflow 0.1.0.pre.alpha.pre.15 → 0.1.0.pre.alpha.pre.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/exe/rgitflow +55 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzY2NjRkMjFjMDE1Mzg0MjY3OGU1MjlkZDM5YjY2NjAxYjkwMDVkYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTg2ZGIxMTdlZDAzMWYxNTM3MTE1MTU0ZmI5MjkwY2ZmMjE5MmM5Ng==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmNlYzUzYzc5MmQ4MWU3MjhhMzY2NGM4MDJlMTMxYjlmOGU1NWRmMzQ4OTdh
|
10
|
+
NzAwM2NiY2I2NTQxZDBhOWVhMzc3NDkxZjczOGE4YzJmMjExNjRiMzQ2NTBm
|
11
|
+
ZDM5ODU5YzQ0MjJiNjIyMmEzNmMyZjAxY2QxODNmYjU1MmMxNjk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YWJlYzE3YjVlZDQxMTk4OTVmMGE2ZDY4NmU4NDk2ZDhmMGYzYzdkYjBhY2Vm
|
14
|
+
ZjYyN2QxOTQyNDUzYTBhMWE1NTgwMWQwM2ZhZTBhNjI5YTI3YmU0OWUyM2Yz
|
15
|
+
NGFhNTJiMTM2ZTFmYmQzMjY5ZjM5N2U4NmYxZTNkNGM5ZThmYzM=
|
data/exe/rgitflow
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'thor'
|
3
|
+
require 'rake'
|
4
|
+
require 'rgitflow'
|
5
|
+
|
6
|
+
module RGitFlowCLI
|
7
|
+
class Feature < Thor
|
8
|
+
desc 'start <name>', 'starts a feature branch named <name>'
|
9
|
+
def start(name)
|
10
|
+
exec "bundle exec rake rgitflow:feature:start BRANCH=#{name}"
|
11
|
+
end
|
12
|
+
|
13
|
+
desc 'finish', 'finishes a feature branch'
|
14
|
+
def finish
|
15
|
+
exec "bundle exec rake rgitflow:feature:finish"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
class Release < Thor
|
20
|
+
desc 'start <name>', 'starts a release branch named <name>'
|
21
|
+
def start(name)
|
22
|
+
exec "bundle exec rake rgitflow:release:start BRANCH=#{name}"
|
23
|
+
end
|
24
|
+
|
25
|
+
desc 'finish', 'finishes a release branch'
|
26
|
+
def finish
|
27
|
+
exec "bundle exec rake rgitflow:release:finish"
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
class Hotfix < Thor
|
32
|
+
desc 'start <name>', 'starts a hotfix branch named <name>'
|
33
|
+
def start(name)
|
34
|
+
exec "bundle exec rake rgitflow:hotfix:start BRANCH=#{name}"
|
35
|
+
end
|
36
|
+
|
37
|
+
desc 'finish', 'finishes a hotfix branch'
|
38
|
+
def finish
|
39
|
+
exec "bundle exec rake rgitflow:hotfix:finish"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
class RGitFlow < Thor
|
44
|
+
desc 'feature SUBCOMMAND ...ARGS', 'start or finish a feature branch'
|
45
|
+
subcommand 'feature', Feature
|
46
|
+
|
47
|
+
desc 'release SUBCOMMAND ...ARGS', 'start or finish a release branch'
|
48
|
+
subcommand 'release', Release
|
49
|
+
|
50
|
+
desc 'hotfix SUBCOMMAND ...ARGS', 'start or finish a hotfix branch'
|
51
|
+
subcommand 'hotfix', Hotfix
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
RGitFlowCLI::RGitFlow.start ARGV
|
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.1.0.pre.alpha.pre.
|
4
|
+
version: 0.1.0.pre.alpha.pre.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Harrah
|
@@ -125,7 +125,8 @@ dependencies:
|
|
125
125
|
description:
|
126
126
|
email:
|
127
127
|
- topplethenunnery@gmail.com
|
128
|
-
executables:
|
128
|
+
executables:
|
129
|
+
- rgitflow
|
129
130
|
extensions: []
|
130
131
|
extra_rdoc_files:
|
131
132
|
- ChangeLog.rdoc
|
@@ -144,6 +145,7 @@ files:
|
|
144
145
|
- README.md
|
145
146
|
- Rakefile
|
146
147
|
- bin/setup
|
148
|
+
- exe/rgitflow
|
147
149
|
- lib/rgitflow.rb
|
148
150
|
- lib/rgitflow/autoload.rb
|
149
151
|
- lib/rgitflow/config.rb
|