docman 0.0.32 → 0.0.33

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: acc91c3fe53a884a192c08031fbf5895be348072
4
- data.tar.gz: fdfe452438ff4d7dcbe76c5b87ded00693090c8d
3
+ metadata.gz: 60f35da305d3762ad05a4d33cb81e6752d50fdf7
4
+ data.tar.gz: 7a822f7232773f00a3b49999aa9b1b04aa3c6cc8
5
5
  SHA512:
6
- metadata.gz: 7dc89592fd24ac0ce6c589903035efb1ef44f786133b6c479b94ad63c2c7b64731b183ac85eea496168d3c1f6c8c06016fe54ba733f982d16281e1d7af41677c
7
- data.tar.gz: 5c6749805e4143a3ee027755baee5cd651015b4dd46afe1ad7eb809c1391a12fd2015b7e8f1a13eca03517f5fce41c4199adcf2fab583151ce3a6566da4cccf9
6
+ metadata.gz: 9d78656781c71bb6a4647f2d557143e606ef927d9f7ae262933a2111a1a30354b652be41de75d1bf82ea5631e28d949b7a391f2081b57874aa0c8c47dc1ced3c
7
+ data.tar.gz: 1434e1dc3ebcf169365bec5132d6c763a55afda1c23c20d2d9b282e2969e3c386702e3e6aa1b5a9c416181796c13861300715a543caae9e82a670e597b8c9807
data/bin/bump-version.sh CHANGED
@@ -66,8 +66,10 @@ else
66
66
  fi
67
67
 
68
68
  if [ -n "$1" ]; then
69
+ git fetch
69
70
  BRANCH="state_$1"
70
- git show-ref --verify --quiet "refs/heads/${BRANCH}"
71
+ #git show-ref --verify --quiet "refs/heads/${BRANCH}"
72
+ git ls-remote --exit-code . origin/state_stable &> /dev/null
71
73
  if [ $? == 0 ]; then
72
74
  git checkout ${BRANCH}
73
75
  git pull
data/lib/docman/info.rb CHANGED
@@ -22,7 +22,7 @@ module Docman
22
22
  if state['source']['type'] == :retrieve_from_repo
23
23
  repo = state['source']['repo'] == :project_repo ? self['repo'] : state['source']['repo']
24
24
  external_state_info = read_yaml_from_file(repo, self['states_path'], state['source']['branch'], state['source']['file'])
25
- state.deep_merge! external_state_info
25
+ state.deep_merge! external_state_info unless external_state_info.nil?
26
26
  end
27
27
  end
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module Docman
2
- VERSION = "0.0.32"
2
+ VERSION = "0.0.33"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.32
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Tolstikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-07 00:00:00.000000000 Z
11
+ date: 2014-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler