octodmin 0.3.0 → 0.3.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: 0bf286fc4c638a5552de1e48cae1442f6334202b
4
- data.tar.gz: a7fcaa4243fb13481b1b7370efcdaafaff495882
3
+ metadata.gz: 628d01f6e3f0ebaf91f1a4437d0148c578957e06
4
+ data.tar.gz: eba818ad7f140fb080be4e6ff2ac07c46f9b48a3
5
5
  SHA512:
6
- metadata.gz: 6afa97affb291815163e250291a0bc156d43d3bae6f7d8efcb9adba28a452c196a89a490e3314170791b0d40f532c84ce4d5842c7e835bdc7be8f737cbea6d11
7
- data.tar.gz: a9edd643b252f7e11c7935e920a8c9923f59a4539ccd05ad621b2d295375177abce22bedbf77e8b7bc9792de4bbfc0233d9ecbc96320d1ad8bb0058c4ed1e2cc
6
+ metadata.gz: 6c151783a1b30437fd2d285645b53f787555fdc9b8ea1b05503eef29865256b66c658008dc8763db93324455e43293dc8dd5824285f7255ad7a308647eb08891
7
+ data.tar.gz: 110aaa2d980c1275d3f6920c7cff7a00e611fd7cb699122f3aeb5921533eb484eedd05616a49d83b43b25738b3a0fd531b0d657ac1df1827ae0524c29403db0b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ v0.3.1
2
+ ------
3
+
4
+ * Fix staging for those without octodmin dir
5
+
1
6
  v0.3.0
2
7
  ------
3
8
 
@@ -34,7 +34,8 @@ module Octodmin::Controllers::Syncs
34
34
  end
35
35
 
36
36
  # Uploads
37
- git.add(File.join(site.source, "octodmin"))
37
+ dir = File.join(site.source, "octodmin")
38
+ git.add(dir) if Dir.exists?(dir)
38
39
  end
39
40
 
40
41
  def paths(site, git)
@@ -1,3 +1,3 @@
1
1
  module Octodmin
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octodmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Krasnoukhov