fgi 1.1.6 → 1.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.
- checksums.yaml +4 -4
- data/lib/fgi.rb +1 -1
- data/lib/fgi/git_service.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28e2443d49df4f028464f4acdb7ae90d3489f7d1
|
|
4
|
+
data.tar.gz: 61c8013b9f927b01f37de9d217abf404ded9d5dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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?
|
data/lib/fgi/git_service.rb
CHANGED
|
@@ -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}/#{
|
|
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.
|
|
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-
|
|
12
|
+
date: 2017-10-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|