roku_builder 3.7.0 → 3.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b77bdbc22da34e8fdcdc5c1f975f656dd696d902
4
- data.tar.gz: ac97ad95bf1b3ce94a112caccdad8190158ebb14
3
+ metadata.gz: 415f6e286c7e0656234674b805f69672c8fc3f6a
4
+ data.tar.gz: 89da30270b9ea70ed5e9863543363b1a7427383b
5
5
  SHA512:
6
- metadata.gz: d20c6095f900ef0165ee91283d04dd655cb8b8a520cca07a556c2c163d3998752a684abb861ad33a5da099b4193455d9eaba1b86fd3fa1639023cfd166f5f1e9
7
- data.tar.gz: 86be7326237f15678c14565df9f93c94aa5a504c21f9aab701ae7deeaa9e0693bbc8d3d088a38260e8680a0b11181d808231c4bf2c0891272cc41e4bade84410
6
+ metadata.gz: 1e964e13e5bda10e763b5a75922fe6f72f673091deda1925f44bfc1226e938f45674bcf52ba4187759d4b273d5688774dcf042b10773eb9bd501d89664a45b9e
7
+ data.tar.gz: c3e692fbd226e107b147a8043335ab7b6fa1a3898cb5cd5843b93a16fafac6a84cd4ef650c0f55827c15abbc7ee2841cb160d0efbfeeb614225060ac62e27bc8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- roku_builder (3.7.0)
4
+ roku_builder (3.7.1)
5
5
  faraday (~> 0.9)
6
6
  faraday-digestauth (~> 0.2)
7
7
  git (~> 1.3)
@@ -76,9 +76,9 @@ module RokuBuilder
76
76
  def git_switch_to(branch:)
77
77
  if branch
78
78
  @git ||= Git.open(@root_dir)
79
+ @git.branch.stashes.save(@stash_key)
79
80
  if @git and branch != @git.current_branch
80
81
  @current_branch = @git.current_branch
81
- @git.branch.stashes.save(@stash_key)
82
82
  @git.checkout(branch)
83
83
  save_state
84
84
  end
@@ -94,6 +94,8 @@ module RokuBuilder
94
94
  @git ||= Git.open(@root_dir)
95
95
  if @git and (@current_branch or load_state)
96
96
  @git.checkout(@current_branch) if checkout
97
+ end
98
+ if @git
97
99
  index = 0
98
100
  @git.branch.stashes.each do |stash|
99
101
  if stash.message == @stash_key
@@ -2,5 +2,5 @@
2
2
 
3
3
  module RokuBuilder
4
4
  # Version of the RokuBuilder Gem
5
- VERSION = "3.7.0"
5
+ VERSION = "3.7.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roku_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - greeneca