tvd-tvdinner 0.0.8 → 0.0.9

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.8
1
+ 0.0.9
@@ -7,7 +7,7 @@
7
7
  #/ build gem -n gem_name
8
8
 
9
9
  # figure out the project root under which bin, lib live
10
- shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
10
+ shome="$(unset CDPATH; cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
11
11
 
12
12
  # load a jason bourne library
13
13
  source "$shome/libexec/_jason"
@@ -7,7 +7,7 @@
7
7
  #/ build site
8
8
 
9
9
  # figure out the project root under which bin, lib live
10
- shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
10
+ shome="$(unset CDPATH; cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
11
11
 
12
12
  # load a jason bourne library
13
13
  source "$shome/libexec/_jason"
@@ -10,7 +10,7 @@
10
10
  #/ without arguments is equivalent to 'bump patch'
11
11
 
12
12
  # figure out the project root under which bin, lib live
13
- shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
13
+ shome="$(unset CDPATH; cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
14
14
 
15
15
  # load a jason bourne library
16
16
  source "$shome/libexec/_jason"
@@ -9,7 +9,7 @@
9
9
  #/ edit gem -R
10
10
 
11
11
  # figure out the project root under which bin, lib live
12
- shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
12
+ shome="$(unset CDPATH; cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
13
13
 
14
14
  # load a jason bourne library
15
15
  source "$shome/libexec/_jason"
@@ -67,7 +67,7 @@ function main {
67
67
  exit 1
68
68
  fi
69
69
 
70
- pth_gem="$(cd -P -- "$pth_gem" && pwd -P)"
70
+ pth_gem="$(unset CDPATH; cd -P -- "$pth_gem" && pwd -P)"
71
71
 
72
72
  echo "enabling local gem development on ${nm_gem} at ${pth_gem}"
73
73
  mkdir -p "$shome/.local"
@@ -7,7 +7,7 @@
7
7
  #/ publish gem [--public | --private | --local]
8
8
 
9
9
  # figure out the project root under which bin, lib live
10
- shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
10
+ shome="$(unset CDPATH; cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
11
11
 
12
12
  # load a jason bourne library
13
13
  source "$shome/libexec/_jason"
@@ -8,7 +8,7 @@
8
8
  #/ publish site # defaults to output . gh-pages .
9
9
 
10
10
  # figure out the project root under which bin, lib live
11
- shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
11
+ shome="$(unset CDPATH; cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"
12
12
 
13
13
  # load a jason bourne library
14
14
  source "$shome/libexec/_jason"
@@ -16,7 +16,7 @@ source "$shome/libexec/_jason"
16
16
  # define command line options:
17
17
  DEFINE_boolean "clean" "$FLAGS_FALSE" "delete destination branch contents"
18
18
  DEFINE_string "message" "published $(date)" "commit message for published content" "m"
19
- DEFINE_force "force" "$FLAGS_FALSE" "force push to remote" "f"
19
+ DEFINE_boolean "force" "$FLAGS_FALSE" "force push to remote" "f"
20
20
 
21
21
  # entry point
22
22
  function main {
@@ -70,7 +70,7 @@ function main {
70
70
  pushd "$tmp_dir" > /dev/null
71
71
  git add .
72
72
  git status -s
73
- git commit -m "$FLAGS_message"
73
+ git commit -m "$FLAGS_message" || true
74
74
  git push origin "$dst_branch"
75
75
  popd > /dev/null
76
76
  rm -rf "$tmp_dir"
@@ -80,7 +80,7 @@ function main {
80
80
  opt_push="-f "
81
81
  fi
82
82
  git push $opt_push primary $dst_branch:refs/heads/$dst_branch
83
- git push $opt_push secondary $dst_branch:refs/heads/$dst_branch || true
83
+ git push $opt_push secondary $dst_branch:refs/heads/$dst_branch || true
84
84
  }
85
85
 
86
86
  require sub "$BASH_SOURCE" "$@"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvd-tvdinner
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Bombadil
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-03-01 00:00:00 -08:00
18
+ date: 2013-03-02 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency