flight_plan_cli 0.3.2 → 0.3.3
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/VERSION +1 -1
- data/lib/flight_plan_cli/commands/checkout.rb +1 -8
- 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: 4abb865edaac75cd236a98caf9227dc63c0175e6
|
|
4
|
+
data.tar.gz: aab398aff1a729858e2eca9bfcce8f30a0f8c225
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a136065d3f745f524c463c0a1a9b3f8b45b746963ca0a5e0b16e0944397e5e64af6648ee0aab890ed2f13bd05101e95255e23f175388a6ed29b744b9205c5fe4
|
|
7
|
+
data.tar.gz: a586d75d2fd16ecc9ae44fdcd999d177c6b86934d808a68697080184521217c9008809f0e5e8d32d7b5b87c455123caa6a9241813aa51fb2b0b7fa9dd013334d
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.3
|
|
@@ -38,17 +38,10 @@ module FlightPlanCli
|
|
|
38
38
|
branch = remote_branches.find { |rb| rb.name == remote_branch_name }
|
|
39
39
|
|
|
40
40
|
puts "Checking out and tracking remote branch '#{branch.name}'".green
|
|
41
|
-
|
|
41
|
+
branch.checkout
|
|
42
42
|
true
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
-
def checkout_locally(branch)
|
|
46
|
-
local_name = branch.name[branch.remote_name.size + 1..-1]
|
|
47
|
-
new_branch = git.branches.create(local_name, branch.name)
|
|
48
|
-
new_branch.upstream = branch
|
|
49
|
-
git.checkout(local_name)
|
|
50
|
-
end
|
|
51
|
-
|
|
52
45
|
def new_branch_for_issue
|
|
53
46
|
git.checkout('master')
|
|
54
47
|
git.pull
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flight_plan_cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Cleary
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02-
|
|
11
|
+
date: 2018-02-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|