zotplus-rakehelper 0.0.13 → 0.0.14

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: d8fd746931004ce7190a1bb9a77e30b231f6c321
4
- data.tar.gz: c1f45ca34e9bed9ba32a79cb7f0b29a303c59080
3
+ metadata.gz: 08192a4b1474a854db728d29f082fa92a8a236e9
4
+ data.tar.gz: edd1f105d965e2ba5eed589efb996c1847ffa589
5
5
  SHA512:
6
- metadata.gz: ccb47aeec1f8897fcd7b5870046ad1b5d7a65ae5be28077932fabc4c12188c3261ee0ed24c1853ced9cc37ce5f0c6528360d56023fb6b6f4088fb1ceb340d192
7
- data.tar.gz: 1df8982a07f072372b79398cc3ed89397767a5728a7f33abadc2567763746309523ba1ccb45b1c0596badd9443cea26f06524830ab1f990fcf3caa483ae59f3d
6
+ metadata.gz: 3122b5142c890e17f0d84445d08c3fc5a3bcd7b623bc52c1474aa6134beafe3cc29a449c0877dd42f2c1049f783b5424354f0ba44a30ee3c1bd32dcf465fc842
7
+ data.tar.gz: 2ba17ac98f48068b48a4d45550273542ec25314eff65e58490ab42cd62160f855689d5a85da98a1584e6e931d5a51baf10bcca1567e808925a259f71a5c9e489
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zotplus-rakehelper (0.0.13)
4
+ zotplus-rakehelper (0.0.14)
5
5
  nokogiri
6
6
  rake
7
7
  rubyzip (>= 1.0.0)
@@ -64,7 +64,7 @@ module ZotPlus
64
64
  rdf = Nokogiri::XML(File.open(@update_rdf))
65
65
  rdf.at('//em:version').content = @release
66
66
  rdf.at('//RDF:Description')['about'] = "urn:mozilla:extension:#{@id}"
67
- rdf.xpath('//em:updateLink').each{|link| link.content = "https://zotplus.github.io/#{@extension}/#{xpi}" }
67
+ rdf.xpath('//em:updateLink').each{|link| link.content = "https://zotplus.github.io/#{@extension}/#{File.basename(xpi)}" }
68
68
  rdf.xpath('//em:updateInfoURL').each{|link| link.content = "https://zotplus.github.io/#{@extension}" }
69
69
  File.open(@update_rdf,'wb') {|f| rdf.write_xml_to f}
70
70
  FileUtils.cp(@update_rdf, File.basename(@update_rdf))
@@ -1,5 +1,5 @@
1
1
  module ZotPlus
2
2
  class RakeHelper
3
- VERSION = "0.0.13"
3
+ VERSION = "0.0.14"
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.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emiliano Heyns