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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78abdf93216c32be174a21b8350173c19df18706
4
- data.tar.gz: a9721ca5c475dd68cb11dd0526ae68ce69520a32
3
+ metadata.gz: 4abb865edaac75cd236a98caf9227dc63c0175e6
4
+ data.tar.gz: aab398aff1a729858e2eca9bfcce8f30a0f8c225
5
5
  SHA512:
6
- metadata.gz: 994f2bb6917b9066089da05c5507414e9323fa70634cc6e6cb746108af967b03fa1b787ebbc8d52371a5fee597c7589cb0a152fea7b6949b55f079a915e36326
7
- data.tar.gz: 45f9ffa08b3eefbf43eaaebac7ebaebd6b8e3480b1aec9de2619e142e3049a3beabec40aee184ad7bc693370b5f55427dd4cb942fcc683aa6a943254e0c803e8
6
+ metadata.gz: a136065d3f745f524c463c0a1a9b3f8b45b746963ca0a5e0b16e0944397e5e64af6648ee0aab890ed2f13bd05101e95255e23f175388a6ed29b744b9205c5fe4
7
+ data.tar.gz: a586d75d2fd16ecc9ae44fdcd999d177c6b86934d808a68697080184521217c9008809f0e5e8d32d7b5b87c455123caa6a9241813aa51fb2b0b7fa9dd013334d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
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
- checkout_locally(branch)
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.2
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-16 00:00:00.000000000 Z
11
+ date: 2018-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler