gitcycle 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/gitcycle.gemspec +1 -1
- data/lib/gitcycle.rb +6 -6
- metadata +3 -3
data/gitcycle.gemspec
CHANGED
data/lib/gitcycle.rb
CHANGED
@@ -61,13 +61,13 @@ class Gitcycle
|
|
61
61
|
branch['home'] = @git_login
|
62
62
|
branch['source'] = branches(:current => true)
|
63
63
|
|
64
|
-
unless yes?("Would you like to eventually merge this feature into #{branch['source']}?")
|
65
|
-
|
66
|
-
end
|
64
|
+
# unless yes?("Would you like to eventually merge this feature into #{branch['source']}?")
|
65
|
+
# branch['source'] = q("What branch would you like to eventually merge this feature into?")
|
66
|
+
# end
|
67
67
|
|
68
|
-
unless branches(:match => branch['source'])
|
68
|
+
# unless branches(:match => branch['source'])
|
69
69
|
|
70
|
-
end
|
70
|
+
# end
|
71
71
|
|
72
72
|
unless yes?("Would you like to name your branch '#{name}'?")
|
73
73
|
name = q("\nWhat would you like to name your branch?")
|
@@ -334,7 +334,7 @@ class Gitcycle
|
|
334
334
|
if options[:current]
|
335
335
|
b.match(/\*\s+(.+)/)[1]
|
336
336
|
elsif options[:match]
|
337
|
-
b.match(/([\s]+|origin\/)(#{options[:match]})
|
337
|
+
b.match(/([\s]+|origin\/)(#{options[:match]})$/)[2] rescue nil
|
338
338
|
else
|
339
339
|
b
|
340
340
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitcycle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 7
|
10
|
+
version: 0.1.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Winton Welsh
|