zotplus-rakehelper 0.0.32 → 0.0.33

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: 3baab57d15bc4bcfafd05888cb7bf15c5ccfe3cf
4
- data.tar.gz: 0dfbfccaae80562a056f07a7de58366009d85c09
3
+ metadata.gz: 9bc7c77f4d9a79fac97842e78e6bf791bca23196
4
+ data.tar.gz: 81491ec09dbcaee6ac2935d7744f7a51d73982a2
5
5
  SHA512:
6
- metadata.gz: 3b6cc2f731d1c2837f949cfefd77d0dd57d904dc55ccf83483695ae56a721aea6fd171ce86813f1ede335aac5f2f02057b520446af1760734021f83bbbdb764e
7
- data.tar.gz: f040c09fa7dd31760e3b739bc96ddfab7d0bc6a976a0d76e713eceea94eef1245b18902bd939b48ab0f501dff8b32632bd3fa03cc2c0bb13ecb47372c09e6435
6
+ metadata.gz: 80c185cdcd70178ff6573fee1d850d923a703ce649444ace301549fdd04f57a4d5a05ddf092ef6bb37d91be333f0bff736b719897ec34fe362c2beb06de0bdd4
7
+ data.tar.gz: d7acb912185b09a9183f1e6ed43f0c2036d0b0a719834ec283fa63b60e516a7867557ed9a0a38b2077ebf1d0a89ab7b68214fa69a5aab270b16e3231172b6575
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zotplus-rakehelper (0.0.32)
4
+ zotplus-rakehelper (0.0.33)
5
5
  nokogiri
6
6
  rake
7
7
  rickshaw
@@ -1,5 +1,5 @@
1
1
  module ZotPlus
2
2
  class RakeHelper
3
- VERSION = "0.0.32"
3
+ VERSION = "0.0.33"
4
4
  end
5
5
  end
@@ -44,7 +44,6 @@ task 'update.rdf' => [XPI, 'install.rdf'] do |t|
44
44
  rdf.at('//RDF:Description')['about'] = "urn:mozilla:extension:#{ID}"
45
45
  rdf.xpath('//em:updateLink').each{|link| link.content = "https://zotplus.github.io/#{EXTENSION}/#{XPI}" }
46
46
  rdf.xpath('//em:updateInfoURL').each{|link| link.content = "https://zotplus.github.io/#{EXTENSION}" }
47
- rdf.xpath('//em:updateHash').each{|hash| hash.content = "sha1:#{Rickshaw::SHA1.hash(XPI)}" }
48
47
  File.open(t.name, 'w') {|f| rdf.write_xml_to f}
49
48
  end
50
49
 
@@ -56,7 +55,7 @@ task :debugbridge do
56
55
  end
57
56
 
58
57
  task XPI => SOURCES + ['install.rdf'] do
59
- puts "Building #{XPI}"
58
+ puts "Building #{XPI} after change in #{t.prerequisites.inspect}"
60
59
  Dir["*.xpi"].each{|f| File.unlink(f) }
61
60
 
62
61
  Zip::File.open(XPI, 'w') do |zipfile|
@@ -91,8 +90,8 @@ task :bump, :what do |t, args|
91
90
  install_rdf.at('//em:updateURL').content = "https://zotplus.github.io/#{EXTENSION}/update.rdf"
92
91
  File.open('install.rdf','w') {|f| install_rdf.write_xml_to f}
93
92
  puts `git add install.rdf`
94
- puts `/bin/sh -lc rake`
95
- puts `/bin/sh -lc rake README.md update.rdf`
93
+ puts `rake`
94
+ puts `rake README.md update.rdf`
96
95
  puts "Release set to #{release}. Please publish."
97
96
 
98
97
  FileUtils.cp('update.rdf', "www/#{EXTENSION}/update.rdf")
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.32
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emiliano Heyns