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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/zotplus-rakehelper/version.rb +1 -1
- data/lib/zotplus-rakehelper.rb +3 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bc7c77f4d9a79fac97842e78e6bf791bca23196
|
|
4
|
+
data.tar.gz: 81491ec09dbcaee6ac2935d7744f7a51d73982a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 80c185cdcd70178ff6573fee1d850d923a703ce649444ace301549fdd04f57a4d5a05ddf092ef6bb37d91be333f0bff736b719897ec34fe362c2beb06de0bdd4
|
|
7
|
+
data.tar.gz: d7acb912185b09a9183f1e6ed43f0c2036d0b0a719834ec283fa63b60e516a7867557ed9a0a38b2077ebf1d0a89ab7b68214fa69a5aab270b16e3231172b6575
|
data/Gemfile.lock
CHANGED
data/lib/zotplus-rakehelper.rb
CHANGED
|
@@ -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
|
|
95
|
-
puts
|
|
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")
|