gitcycle 0.1.6 → 0.1.7

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.
Files changed (3) hide show
  1. data/gitcycle.gemspec +1 -1
  2. data/lib/gitcycle.rb +6 -6
  3. metadata +3 -3
data/gitcycle.gemspec CHANGED
@@ -6,7 +6,7 @@ $:.unshift lib unless $:.include?(lib)
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "gitcycle"
9
- s.version = '0.1.6'
9
+ s.version = '0.1.7'
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.authors = [ 'Winton Welsh' ]
12
12
  s.email = [ 'mail@wintoni.us' ]
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
- branch['source'] = q("What branch would you like to eventually merge this feature into?")
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]})/)[2] rescue nil
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 6
10
- version: 0.1.6
9
+ - 7
10
+ version: 0.1.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Winton Welsh