fgi 1.1.6 → 1.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fgi.rb +1 -1
  3. data/lib/fgi/git_service.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91922d15f334ba84772f933b85794b8684e0e26a
4
- data.tar.gz: ad27509e51ffc44569ca6baa93023770b9988621
3
+ metadata.gz: 28e2443d49df4f028464f4acdb7ae90d3489f7d1
4
+ data.tar.gz: 61c8013b9f927b01f37de9d217abf404ded9d5dd
5
5
  SHA512:
6
- metadata.gz: af1d05fc79eb0889510fd949c6206ef0d48de344fb904b0e13e37fa5f372dfeb3a018326fb4987ffaa32c76998907630064f17bce1de8c96149250c3e7f488e9
7
- data.tar.gz: 6d3fd9699f8b44ddbbff1e450f82f6ca5bd13a067b5e0082fa312b6e8a4b042f1229b656199172d8d87d8df0577ab621159ef98b719c5f4daa5c98e3e084e7fa
6
+ metadata.gz: b0a51a704ae41b615a042ad9118dc92fe9550800ab77dc58a40738c60b50f27fc6cc8499f76cd07d8176370cdb95bff7252c00d808f5e0b738bc57bd0e299cf2
7
+ data.tar.gz: 1a3dec1ea08bfa305d789ab3a529ff7bc9e7e4286bf86e96c46332b332f14c7e4b8dd76e2a45785129381c320a07595f964b1125f725d628b42948aaf586a364
data/lib/fgi.rb CHANGED
@@ -14,7 +14,7 @@ module Fgi
14
14
  require_relative 'fgi/configuration'
15
15
  require_relative 'fgi/git_service'
16
16
 
17
- VERSION = '1.1.6'.freeze
17
+ VERSION = '1.1.7'.freeze
18
18
 
19
19
  # Add FGI user's current issues to the gitignore
20
20
  if `cat .gitignore | grep '.current_issues.fgi.yml'`.empty?
@@ -67,9 +67,9 @@ module Fgi
67
67
  commit_message += " - #{options[:fix_message]}" unless options[:fix_message].nil?
68
68
  `git commit -a --allow-empty -m '#{commit_message}'`
69
69
  `git push #{git_remote} HEAD`
70
- `git branch -u #{git_remote}/#{ISSUES[current_branch]}` # Define the upstream branch
71
- `git checkout #{CONFIG[:default_branch]}` # Be sure to be on the default branch.
70
+ `git branch -u #{git_remote}/#{current_branch}` # Define the upstream branch
72
71
  remove_issue(current_branch)
72
+ `git checkout #{CONFIG[:default_branch]}` # Be sure to be on the default branch.
73
73
  puts "Congrat's ! You're now back to work on the default branch (#{CONFIG[:default_branch]})"
74
74
  end
75
75
  rescue Interrupt
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fgi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Philibin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-10-10 00:00:00.000000000 Z
12
+ date: 2017-10-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler