overview 0.0.3.45 → 0.0.3.47

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDUzYWU3NTZlNzNlZGM2Nzg2NTk2MGUxMTc0Y2EzNjIxMzY2N2UwNQ==
4
+ M2E3YTZiNWNiY2FlZmM4ZjhmNGU1ZmNmZThiMjY2NDg5MzkwMTQzMg==
5
5
  data.tar.gz: !binary |-
6
- NTEyYzBjN2E3ZDAxYjE0NDA2YjNmNDMyZWUxZmE2NWM3OWMzY2QxMA==
6
+ M2M5NmZiNzgzZWIwNjFiNjcxMGM4YTIxM2MxM2MyYWRjMjExZTY0Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- M2IxYzFkMmM3NDYyYWY1ZGVjZDQwNzI0YmQ3OWM3MDJmYmU4YjAzYWMzNGM0
10
- YmIzODcyNjNmYjYwMDRmMTkxMTZmNWVjYjE2OTRiM2UwMGMwNDA3NWU1Mjlj
11
- MDJkYzdkODA4YTdkNWUxM2RjNTFiZTUwMDJjOGQyOGE3N2RkYzU=
9
+ Y2RiZGRhZGFkNWY2ZTViYWEwM2RkNjhlMzA1MDY2YjM0MmI3OTcwNGJkZDI5
10
+ MjgxYzZjMDhkNDJjNjg1ZTRjYjEyNmJiMTUyM2E1OTZkOTc4MGY5ODFiOGQ1
11
+ NTY3MjViYWMwYTY5YmNjYmIzYmE3ZTVhODcyOTkzNGQ5ZmNiOTc=
12
12
  data.tar.gz: !binary |-
13
- Y2VmMTJiZDEzZDMzM2E4MWZlYWJmNDJkZjU1OWUyOWNlZGJiMmQxNmI1ODQ5
14
- OTRlZDI4NWRiOTlhMzUwZmZkNGY4ZmRlZTVjYTczZDEyYzc4YjE2MzczYTZi
15
- MmY1Zjg4NmM0NjYzZThhNzU1Mzk5MTM2NTQ2Mjk5N2Y2YWRiNDI=
13
+ N2U0YTgwN2U1NTkxOTYwMWQ5NGY4NjExZTc3NTg0ODJmMTAxNDAyNmI4N2Rj
14
+ MjAxNzZkNTk5N2FjNmUzYzU1YzViZTdlNDgwMWNmNWQ0ODU4MzhlZjc2YmIw
15
+ YjU1ZjYzZDk4ZDIxNjQ4NjMwZDhjN2VhMGM5YjIxOTA2MzZhMTc=
@@ -77,7 +77,7 @@ module Overview
77
77
 
78
78
  def suffix
79
79
  branch = Git.branch
80
- p "Branch = #{branch}"
80
+ p "Branch = #{branch}."
81
81
  case branch
82
82
  when /develop/
83
83
  suffix = '-develop'
@@ -94,6 +94,7 @@ module Overview
94
94
  end
95
95
  #special case for github releases
96
96
  if CI.tagged_build?
97
+ p 'Tagged build, suppressing branch suffix.'
97
98
  suffix = ''
98
99
  end
99
100
  return suffix
data/lib/appversion/ci.rb CHANGED
@@ -4,7 +4,7 @@ module Overview
4
4
  DEFAULT_BUILD_NO = '1'
5
5
 
6
6
  def self.tagged_build?
7
- !ENV['TRAVIS_TAG'].nil?
7
+ !(ENV['TRAVIS_TAG'] || '').empty?
8
8
  end
9
9
 
10
10
  def self.build_no
@@ -24,4 +24,6 @@ module Overview
24
24
  end
25
25
  end
26
26
 
27
- end
27
+ end
28
+
29
+ p Overview::CI.tagged_build?
@@ -1,3 +1,3 @@
1
1
  module Overview
2
- VERSION = '0.0.3.45'
2
+ VERSION = '0.0.3.47'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: overview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.45
4
+ version: 0.0.3.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Orford
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-02 00:00:00.000000000 Z
11
+ date: 2015-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake