ninny 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ninny/git.rb +3 -1
- data/lib/ninny/version.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8075e8154aa567ff116d27efc9691a85a7929d60a7215dfbf022324717a6053f
|
4
|
+
data.tar.gz: 07eea150c45792545f31b3212f203f275a436980eedf6a9eb245f91a8e571540
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e2bf33e44d5b8d353aee6f8396710a46def57a348cf1f7dd9040c97e25ad009af279f86a32eeba5fa63e8769ebc77c713376d4b8fb01c699bcdda5f4761d833
|
7
|
+
data.tar.gz: 9680a0d603ee93c0a1db502001382eb3bdefec96824e791c3fd1e4974df57cd0896565324c21f18861a6b34bc77caeaf8abbf22a742df566891e1117b7b1c67a
|
data/Gemfile.lock
CHANGED
data/lib/ninny/git.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Ninny
|
2
4
|
class Git
|
3
5
|
extend Forwardable
|
@@ -65,7 +67,7 @@ module Ninny
|
|
65
67
|
def check_out(branch, do_after_pull=true)
|
66
68
|
git.fetch
|
67
69
|
branch.checkout
|
68
|
-
|
70
|
+
pull if do_after_pull
|
69
71
|
unless current_branch.name == branch.name
|
70
72
|
raise CheckoutFailed, "Failed to check out '#{branch}'"
|
71
73
|
end
|
data/lib/ninny/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ninny
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carl Allen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-box
|