twig 1.5 → 1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.travis.yml +2 -0
- data/CONTRIBUTING.md +5 -3
- data/HISTORY.md +23 -0
- data/LICENSE.md +1 -1
- data/README.md +98 -12
- data/bin/twig +1 -0
- data/bin/twig-checkout-child +50 -0
- data/bin/twig-checkout-parent +35 -0
- data/bin/twig-create-branch +24 -0
- data/bin/twig-diff +15 -12
- data/bin/twig-gh-open +14 -5
- data/bin/twig-gh-open-issue +19 -12
- data/bin/twig-gh-update +14 -4
- data/bin/twig-init +15 -0
- data/bin/twig-init-completion +14 -2
- data/bin/twig-init-completion-bash +11 -3
- data/bin/twig-rebase +15 -12
- data/lib/twig.rb +40 -20
- data/lib/twig/branch.rb +34 -13
- data/lib/twig/cli.rb +52 -9
- data/lib/twig/commit_time.rb +1 -1
- data/lib/twig/display.rb +6 -8
- data/lib/twig/options.rb +25 -24
- data/lib/twig/version.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- data/spec/twig/branch_spec.rb +85 -6
- data/spec/twig/cli_spec.rb +90 -35
- data/spec/twig/commit_time_spec.rb +4 -0
- data/spec/twig/display_spec.rb +57 -7
- data/spec/twig/options_spec.rb +33 -16
- data/spec/twig_spec.rb +53 -50
- data/twig.gemspec +17 -10
- metadata +32 -48
metadata
CHANGED
@@ -1,12 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 5
|
9
|
-
version: "1.5"
|
4
|
+
version: "1.6"
|
10
5
|
platform: ruby
|
11
6
|
authors:
|
12
7
|
- Ron DeVera
|
@@ -14,22 +9,15 @@ autorequire:
|
|
14
9
|
bindir: bin
|
15
10
|
cert_chain: []
|
16
11
|
|
17
|
-
date:
|
18
|
-
default_executable:
|
12
|
+
date: 2014-03-04 00:00:00 Z
|
19
13
|
dependencies:
|
20
14
|
- !ruby/object:Gem::Dependency
|
21
15
|
name: json
|
22
16
|
prerelease: false
|
23
17
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
18
|
requirements:
|
26
19
|
- - ~>
|
27
20
|
- !ruby/object:Gem::Version
|
28
|
-
hash: 1
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 7
|
32
|
-
- 5
|
33
21
|
version: 1.7.5
|
34
22
|
type: :runtime
|
35
23
|
version_requirements: *id001
|
@@ -37,15 +25,9 @@ dependencies:
|
|
37
25
|
name: launchy
|
38
26
|
prerelease: false
|
39
27
|
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
28
|
requirements:
|
42
29
|
- - ~>
|
43
30
|
- !ruby/object:Gem::Version
|
44
|
-
hash: 3
|
45
|
-
segments:
|
46
|
-
- 2
|
47
|
-
- 3
|
48
|
-
- 0
|
49
31
|
version: 2.3.0
|
50
32
|
type: :runtime
|
51
33
|
version_requirements: *id002
|
@@ -53,15 +35,9 @@ dependencies:
|
|
53
35
|
name: rake
|
54
36
|
prerelease: false
|
55
37
|
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
38
|
requirements:
|
58
39
|
- - ~>
|
59
40
|
- !ruby/object:Gem::Version
|
60
|
-
hash: 63
|
61
|
-
segments:
|
62
|
-
- 0
|
63
|
-
- 9
|
64
|
-
- 2
|
65
41
|
version: 0.9.2
|
66
42
|
type: :development
|
67
43
|
version_requirements: *id003
|
@@ -69,28 +45,36 @@ dependencies:
|
|
69
45
|
name: rspec
|
70
46
|
prerelease: false
|
71
47
|
requirement: &id004 !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
48
|
requirements:
|
74
49
|
- - ~>
|
75
50
|
- !ruby/object:Gem::Version
|
76
|
-
hash: 53
|
77
|
-
segments:
|
78
|
-
- 2
|
79
|
-
- 14
|
80
|
-
- 1
|
81
51
|
version: 2.14.1
|
82
52
|
type: :development
|
83
53
|
version_requirements: *id004
|
84
|
-
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: rspec-radar
|
56
|
+
prerelease: false
|
57
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.1.0
|
62
|
+
type: :development
|
63
|
+
version_requirements: *id005
|
64
|
+
description: Twig is your personal Git branch assistant. It's a command-line tool for listing your most recent branches, and for remembering branch details for you, like issue tracker ids and todos. It supports subcommands, like automatically fetching statuses from your issue tracking system. It's flexible enough to fit your everyday Git workflow, and will save you a ton of time.
|
85
65
|
email:
|
86
66
|
- hello@rondevera.com
|
87
67
|
executables:
|
88
68
|
- twig
|
69
|
+
- twig-checkout-child
|
70
|
+
- twig-checkout-parent
|
71
|
+
- twig-create-branch
|
89
72
|
- twig-diff
|
90
73
|
- twig-gh-open
|
91
74
|
- twig-gh-open-issue
|
92
75
|
- twig-gh-update
|
93
76
|
- twig-help
|
77
|
+
- twig-init
|
94
78
|
- twig-init-completion
|
95
79
|
- twig-init-completion-bash
|
96
80
|
- twig-rebase
|
@@ -108,11 +92,15 @@ files:
|
|
108
92
|
- README.md
|
109
93
|
- Rakefile
|
110
94
|
- bin/twig
|
95
|
+
- bin/twig-checkout-child
|
96
|
+
- bin/twig-checkout-parent
|
97
|
+
- bin/twig-create-branch
|
111
98
|
- bin/twig-diff
|
112
99
|
- bin/twig-gh-open
|
113
100
|
- bin/twig-gh-open-issue
|
114
101
|
- bin/twig-gh-update
|
115
102
|
- bin/twig-help
|
103
|
+
- bin/twig-init
|
116
104
|
- bin/twig-init-completion
|
117
105
|
- bin/twig-init-completion-bash
|
118
106
|
- bin/twig-rebase
|
@@ -140,18 +128,24 @@ files:
|
|
140
128
|
- spec/twig/util_spec.rb
|
141
129
|
- spec/twig_spec.rb
|
142
130
|
- twig.gemspec
|
143
|
-
has_rdoc: true
|
144
131
|
homepage: http://rondevera.github.io/twig/
|
145
132
|
licenses:
|
146
133
|
- MIT
|
134
|
+
metadata: {}
|
135
|
+
|
147
136
|
post_install_message: |+
|
148
137
|
|
149
138
|
**************************************************************
|
150
139
|
* *
|
151
140
|
* Welcome to Twig! *
|
152
141
|
* *
|
153
|
-
*
|
154
|
-
*
|
142
|
+
* Quick start: *
|
143
|
+
* *
|
144
|
+
* 1. Run `twig init` to set up tab completion. *
|
145
|
+
* 2. Run `twig` to list your Git branches. *
|
146
|
+
* *
|
147
|
+
* For more info, run `twig --help` or visit *
|
148
|
+
* http://rondevera.github.io/twig/ *
|
155
149
|
* *
|
156
150
|
**************************************************************
|
157
151
|
|
@@ -160,31 +154,21 @@ rdoc_options: []
|
|
160
154
|
require_paths:
|
161
155
|
- lib
|
162
156
|
required_ruby_version: !ruby/object:Gem::Requirement
|
163
|
-
none: false
|
164
157
|
requirements:
|
165
158
|
- - ">="
|
166
159
|
- !ruby/object:Gem::Version
|
167
|
-
hash: 57
|
168
|
-
segments:
|
169
|
-
- 1
|
170
|
-
- 8
|
171
|
-
- 7
|
172
160
|
version: 1.8.7
|
173
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
-
none: false
|
175
162
|
requirements:
|
176
163
|
- - ">="
|
177
164
|
- !ruby/object:Gem::Version
|
178
|
-
hash: 3
|
179
|
-
segments:
|
180
|
-
- 0
|
181
165
|
version: "0"
|
182
166
|
requirements: []
|
183
167
|
|
184
168
|
rubyforge_project:
|
185
|
-
rubygems_version:
|
169
|
+
rubygems_version: 2.0.14
|
186
170
|
signing_key:
|
187
|
-
specification_version:
|
171
|
+
specification_version: 4
|
188
172
|
summary: Your personal Git branch assistant.
|
189
173
|
test_files:
|
190
174
|
- spec/spec_helper.rb
|