raykit 0.0.145 → 0.0.146

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/raykit/git/directory.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a13d4b7ac769cd7e4b70d2ae8e40717cd7ad1b4d414b770d22bab65bff15c255
4
- data.tar.gz: e08fcff71b7b6b269b98dd28b3b570f370de3c3dd45d852f6f506fb7ff1b8775
3
+ metadata.gz: ab11bb04b9076d57a08a7b4d365ff117c5779680c45b19a10bd8e5eca423ee87
4
+ data.tar.gz: 33fbcfa2fca6f8adc06b24c62991c21cb2c357e7cc5d4f6c427a3aea4bb3063c
5
5
  SHA512:
6
- metadata.gz: ab562eda0a0d98103c17aa32abef9a57f176b479ffb715b8d10bb87b080518d058c0fc091a31a7998174226cce9896f5486d77b0861fadd09867f2cf15bcf822
7
- data.tar.gz: bbc61a647b4d949b390c3faefae553023101972b173bc10e0c9f2158cb14014836f24ded62bc55125f54ff48a7679684175e7b43b0aea2a596effa1c4d845258
6
+ metadata.gz: 3d3f2a86fbf5e12833c9d5aaa1873e5476e7efbd5e3eb370580cbd6c969b328c9e452536fe94b777381cb68ce087d123104f4d84107fc24c193f2f647b355526
7
+ data.tar.gz: 6e7ca02007c69cf3c0f0791f3cb4467644888808c9a65b289d67a206d3bcfd99f7e81714744808a57b35e029329a851d43c5ec7544199a2cef731c9890761a8e
@@ -23,7 +23,8 @@ module Raykit
23
23
  def pull
24
24
  Dir.chdir(directory) do
25
25
  diff=`git diff`.strip
26
- if(diff.length == 0)
26
+ status=`git status`.strip
27
+ if(diff.length == 0 && status.include?('nothing to commit'))
27
28
  PROJECT.run('git pull')
28
29
  end
29
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raykit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.145
4
+ version: 0.0.146
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow