twig 1.4 → 1.5
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.
- data/HISTORY.md +15 -0
- data/README.md +17 -4
- data/bin/twig-gh-open +1 -1
- data/bin/twig-gh-open-issue +1 -1
- data/bin/twig-gh-update +1 -1
- data/bin/twig-help +1 -1
- data/bin/twig-init-completion-bash +22 -3
- data/bin/twig-rebase +1 -1
- data/lib/twig.rb +23 -13
- data/lib/twig/branch.rb +24 -9
- data/lib/twig/cli.rb +84 -25
- data/lib/twig/commit_time.rb +10 -0
- data/lib/twig/display.rb +9 -0
- data/lib/twig/options.rb +88 -46
- data/lib/twig/subcommands.rb +26 -0
- data/lib/twig/system.rb +9 -0
- data/lib/twig/version.rb +1 -1
- data/spec/spec_helper.rb +7 -0
- data/spec/twig/branch_spec.rb +134 -60
- data/spec/twig/cli_spec.rb +247 -156
- data/spec/twig/commit_time_spec.rb +20 -18
- data/spec/twig/display_spec.rb +108 -57
- data/spec/twig/github_spec.rb +90 -73
- data/spec/twig/options_spec.rb +311 -152
- data/spec/twig/subcommands_spec.rb +29 -0
- data/spec/twig/system_spec.rb +36 -0
- data/spec/twig/util_spec.rb +20 -20
- data/spec/twig_spec.rb +103 -76
- data/twig.gemspec +9 -6
- metadata +17 -11
data/twig.gemspec
CHANGED
@@ -10,12 +10,15 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.authors = ['Ron DeVera']
|
11
11
|
spec.email = ["hello@rondevera.com"]
|
12
12
|
spec.homepage = Twig::HOMEPAGE
|
13
|
+
spec.license = 'MIT'
|
13
14
|
spec.summary = %{Your personal Git branch assistant.}
|
14
|
-
spec.description =
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
spec.description = %w[
|
16
|
+
Twig is your personal Git branch assistant. It's a command-line tool for
|
17
|
+
listing your most recent branches, and for remembering each branch's ticket
|
18
|
+
ids, todos, and other details. Twig supports subcommands for managing
|
19
|
+
branches however you want. It's flexible enough to fit your every Git
|
20
|
+
workflow, and will save you a ton of time.
|
21
|
+
].join(' ')
|
19
22
|
spec.post_install_message =
|
20
23
|
"\n**************************************************************" <<
|
21
24
|
"\n* *" <<
|
@@ -36,5 +39,5 @@ Gem::Specification.new do |spec|
|
|
36
39
|
spec.add_runtime_dependency 'json', '~> 1.7.5'
|
37
40
|
spec.add_runtime_dependency 'launchy', '~> 2.3.0'
|
38
41
|
spec.add_development_dependency 'rake', '~> 0.9.2'
|
39
|
-
spec.add_development_dependency 'rspec', '~> 2.
|
42
|
+
spec.add_development_dependency 'rspec', '~> 2.14.1'
|
40
43
|
end
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: "1.
|
8
|
+
- 5
|
9
|
+
version: "1.5"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Ron DeVera
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2013-
|
17
|
+
date: 2013-11-21 00:00:00 -08:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -73,15 +73,15 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
hash:
|
76
|
+
hash: 53
|
77
77
|
segments:
|
78
78
|
- 2
|
79
|
-
-
|
80
|
-
-
|
81
|
-
version: 2.
|
79
|
+
- 14
|
80
|
+
- 1
|
81
|
+
version: 2.14.1
|
82
82
|
type: :development
|
83
83
|
version_requirements: *id004
|
84
|
-
description: Twig is your personal Git branch assistant. It's a command-line tool for
|
84
|
+
description: Twig is your personal Git branch assistant. It's a command-line tool for listing your most recent branches, and for remembering each branch's ticket ids, todos, and other details. Twig supports subcommands for managing branches however you want. It's flexible enough to fit your every Git workflow, and will save you a ton of time.
|
85
85
|
email:
|
86
86
|
- hello@rondevera.com
|
87
87
|
executables:
|
@@ -124,6 +124,8 @@ files:
|
|
124
124
|
- lib/twig/github.rb
|
125
125
|
- lib/twig/homepage.rb
|
126
126
|
- lib/twig/options.rb
|
127
|
+
- lib/twig/subcommands.rb
|
128
|
+
- lib/twig/system.rb
|
127
129
|
- lib/twig/util.rb
|
128
130
|
- lib/twig/version.rb
|
129
131
|
- spec/spec_helper.rb
|
@@ -133,13 +135,15 @@ files:
|
|
133
135
|
- spec/twig/display_spec.rb
|
134
136
|
- spec/twig/github_spec.rb
|
135
137
|
- spec/twig/options_spec.rb
|
138
|
+
- spec/twig/subcommands_spec.rb
|
139
|
+
- spec/twig/system_spec.rb
|
136
140
|
- spec/twig/util_spec.rb
|
137
141
|
- spec/twig_spec.rb
|
138
142
|
- twig.gemspec
|
139
143
|
has_rdoc: true
|
140
144
|
homepage: http://rondevera.github.io/twig/
|
141
|
-
licenses:
|
142
|
-
|
145
|
+
licenses:
|
146
|
+
- MIT
|
143
147
|
post_install_message: |+
|
144
148
|
|
145
149
|
**************************************************************
|
@@ -190,5 +194,7 @@ test_files:
|
|
190
194
|
- spec/twig/display_spec.rb
|
191
195
|
- spec/twig/github_spec.rb
|
192
196
|
- spec/twig/options_spec.rb
|
197
|
+
- spec/twig/subcommands_spec.rb
|
198
|
+
- spec/twig/system_spec.rb
|
193
199
|
- spec/twig/util_spec.rb
|
194
200
|
- spec/twig_spec.rb
|