WebsiteTools 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/dyn-site.sh +3 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0d6ff89b613a938df13d68b8253fca32db183a6
4
- data.tar.gz: a46a7ea7bca37c6a8121a8536399815dc0ab623d
3
+ metadata.gz: 9be586b958acb63b955e3831d3a79c7aedbd3a52
4
+ data.tar.gz: f1ea6c2c3533a2e11846f635b0b6fab43439245e
5
5
  SHA512:
6
- metadata.gz: 2086b029a8fb63cc2e853d353e2df1181e461379e2a4d53c6efa0ef75cc974fc8f4c13f78f29dccf2c7fab9305d7ad7b6321a09f3d04c5f0b3292164e36276c8
7
- data.tar.gz: ba33c495a3220f6a93c37dd2a188f194eeb1d1b284fe4103c8970d9c4eb14f534352656da87930f0d883689edc5ae18874f0f9172116b1803f2fd4371da9ba73
6
+ metadata.gz: 854e27f955bd4e2d730715a31ec4ee375b600889fa33d00bd1bbc4963fe9dfcac908bf5d65557091609c47a335ef569f45801f5d0f2ebb10e6afdd0053c913c4
7
+ data.tar.gz: 3c6d9dc472d11d06251a37af000cbe65316beb4176027857149b3ed61ca36095056a3a53803738b39062fabb7cda9b5cf989a476d486a9840676c3202d3121f5
data/bin/dyn-site.sh CHANGED
@@ -101,7 +101,9 @@ rebase-subdir)
101
101
  PUBLIC_PAGES="$HOME/RodaSrv/public/pages/${Subdir}/${Prj}"
102
102
  SITE_ROOT="$HOME/RodaSrv/.site/$Prj"
103
103
  PAGES_ROOT="$SITE_ROOT/pages"
104
- rm -fr ${SITE_ROOT}
104
+ if [ -d ${SITE_ROOT} ]; then
105
+ rm -fr ${SITE_ROOT}
106
+ fi
105
107
  mkdir -p ${PAGES_ROOT}
106
108
  cp -R ${PUBLIC_PAGES}/* ${PAGES_ROOT}/
107
109
  cp -R ${PUBLIC_ASSETS}/* ${SITE_ROOT}/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: WebsiteTools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - CQLS