zotplus-rakehelper 0.0.119 → 0.0.120

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1940a5c6ef182cc110414fcd41be0da06f7750bb
4
- data.tar.gz: 084b84ea25c7e1757ec3b0536925e08d2fea59fe
3
+ metadata.gz: 51f55f371c08b18653a15a343bcefe8f28615602
4
+ data.tar.gz: 138065b8af75e4d702b071626229632f867155ac
5
5
  SHA512:
6
- metadata.gz: 205a333cc0f3f4245b514276ec5e278315c3071b91fc4a89ca61704dbd00afce17d0107d42f8699827df24d5d74a4f66f22319c3c3367fd534757acf4998dd70
7
- data.tar.gz: c23bc2c1855f0db3913ef6a139dae34678e4d88c26561da1a30a3db353a8e126c3a193800ac69c859adbc81fb91106ec9a4a8b0b6af2beabcb26c77f8bb601af
6
+ metadata.gz: 882f54aa407603500995ffaefaa60bf05427a9204cae574fc948d45399f114fbbee8c3f1c194356875a890ff4a77b97326583f7ac011163ebfabe9aae9b61fa4
7
+ data.tar.gz: 210b24121624a5c79710e976ac303cda912ec9770d0ffe1874b984cde7b2f1521ba75a8dfc28f68703b03c249d91d9f090779536b19cfc417c98ceb004a02250
@@ -8,7 +8,14 @@ require 'open-uri'
8
8
  require 'ostruct'
9
9
  require 'open-uri'
10
10
 
11
- DEBUGBUILD = ENV['DEBUGBUILD'] == 'true' ? '-' + Random.rand(10000).to_s + '-' + Time.now.to_i.to_s : ''
11
+ case ENV['DEBUGBUILD']
12
+ when 'true'
13
+ DEBUGBUILD = '-' + Random.rand(10000).to_s + '-' + Time.now.to_i.to_s
14
+ when 'false', '', nil
15
+ DEBUGBUILD = ''
16
+ else
17
+ DEBUGBUILD = ENV['DEBUGBUILD']
18
+ end
12
19
 
13
20
  ID = Nokogiri::XML(File.open('install.rdf')).at('//em:id').inner_text
14
21
  EXTENSION = ID.gsub(/@.*/, '')
@@ -1,5 +1,5 @@
1
1
  module ZotPlus
2
2
  class RakeHelper
3
- VERSION = "0.0.119"
3
+ VERSION = "0.0.120"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zotplus-rakehelper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.119
4
+ version: 0.0.120
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emiliano Heyns