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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e71f12ff6bcb32aa2c08109b750e4a8125c4b286a3e6f286a600039b18b49ebf
4
- data.tar.gz: ef0596bccd2ba1c8142127e463649cf3cd9e64c1056f2ae4b52f5bf213700bea
3
+ metadata.gz: 8075e8154aa567ff116d27efc9691a85a7929d60a7215dfbf022324717a6053f
4
+ data.tar.gz: 07eea150c45792545f31b3212f203f275a436980eedf6a9eb245f91a8e571540
5
5
  SHA512:
6
- metadata.gz: dfee1b73edd31fe5b5046f68f9bf2b874a281a8832705b8ec6c06333b4b78abfaa05be3d6e3b7f9210b1d8f5e6c870d55be31ce2df4a6a1c30ddd5ba2e803294
7
- data.tar.gz: a8a2b28cd3d53297a662e29f2dca7c0a311fe2700b6e88955be53f2906dfde7b1a001a47e089595c2ef37a188be68de36691110f3462fb124b8881c8c21ea48f
6
+ metadata.gz: 0e2bf33e44d5b8d353aee6f8396710a46def57a348cf1f7dd9040c97e25ad009af279f86a32eeba5fa63e8769ebc77c713376d4b8fb01c699bcdda5f4761d833
7
+ data.tar.gz: 9680a0d603ee93c0a1db502001382eb3bdefec96824e791c3fd1e4974df57cd0896565324c21f18861a6b34bc77caeaf8abbf22a742df566891e1117b7b1c67a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ninny (0.1.4)
4
+ ninny (0.1.5)
5
5
  git (~> 1.5.0)
6
6
  gitlab (~> 4.11.0)
7
7
  pastel (~> 0.7.2)
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
- git.pull if do_after_pull
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
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Ninny
2
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
3
5
  end
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
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-08-20 00:00:00.000000000 Z
11
+ date: 2019-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-box