zotplus-rakehelper 0.0.149 → 0.0.150
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/zotplus-rakehelper/version.rb +1 -1
- data/lib/zotplus-rakehelper.rb +4 -44
- 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: e26ab44714c95b9995aaf337d81295f6f1e48992
|
4
|
+
data.tar.gz: 81121e366495d85b2e1dc230c9647fb217f4bbc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3a6934266a96ee7c068c58da145da6349a6585c81c9cbed9f11678d7b1143a7a192fb12f27db703494d8ed6e04111a1d07c8071a613dde21cb76db2c899440f
|
7
|
+
data.tar.gz: 04e187dd82bde44759fdca60c7b3b50109786fd6ceb419b6ca19d124a95deb3d6bae7f6274d91de65adbf1299c224721dabc20c82a5a6cf0a63eac2c901e2821
|
data/Gemfile.lock
CHANGED
data/lib/zotplus-rakehelper.rb
CHANGED
@@ -224,50 +224,10 @@ task :deploy => XPI do
|
|
224
224
|
github.repos.releases.assets.delete 'ZotPlus', "zotero-#{EXTENSION}", asset.id
|
225
225
|
}
|
226
226
|
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
xml['em'].updates {
|
232
|
-
xml['RDF'].Seq {
|
233
|
-
xml['RDF'].li {
|
234
|
-
xml['RDF'].Description {
|
235
|
-
xml['em'].version { xml.text RELEASE }
|
236
|
-
xml['em'].targetApplication {
|
237
|
-
xml['RDF'].Description {
|
238
|
-
xml['em'].id { xml.text "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" }
|
239
|
-
xml['em'].minVersion { xml.text "17.0" }
|
240
|
-
xml['em'].maxVersion { xml.text "43.*" }
|
241
|
-
xml['em'].updateLink { xml.text "https://github.com/ZotPlus/zotero-better-bibtex/releases/download/#{RELEASE}/zotero-#{EXTENSION}-#{RELEASE}.xpi" }
|
242
|
-
xml['em'].updateInfoURL { xml.text "https://zotplus.github.io/better-bibtex/CHANGELOG.html" }
|
243
|
-
}
|
244
|
-
}
|
245
|
-
xml['em'].targetApplication {
|
246
|
-
xml['RDF'].Description {
|
247
|
-
xml['em'].id { xml.text "zotero@chnm.gmu.edu" }
|
248
|
-
xml['em'].minVersion { "3.0" }
|
249
|
-
xml['em'].maxVersion { "4.0.*" }
|
250
|
-
xml['em'].updateLink{ xml.text "https://github.com/ZotPlus/zotero-better-bibtex/releases/download/#{RELEASE}/zotero-#{EXTENSION}-#{RELEASE}.xpi" }
|
251
|
-
xml['em'].updateInfoURL { xml.text "https://zotplus.github.io/better-bibtex/CHANGELOG.html" }
|
252
|
-
}
|
253
|
-
}
|
254
|
-
}
|
255
|
-
}
|
256
|
-
}
|
257
|
-
}
|
258
|
-
}
|
259
|
-
}
|
260
|
-
}
|
261
|
-
|
262
|
-
Tempfile.create('update_rdf') do |tmp|
|
263
|
-
File.open(tmp, 'wb') {|f| f.write update_rdf.to_xml }
|
264
|
-
|
265
|
-
## upload new update.rdf
|
266
|
-
github.repos.releases.assets.upload('ZotPlus', "zotero-#{EXTENSION}", release.id, tmp.path, {
|
267
|
-
name: 'update.rdf',
|
268
|
-
content_type: 'application/rdf+xml'
|
269
|
-
})
|
270
|
-
end
|
227
|
+
github.repos.releases.assets.upload('ZotPlus', "zotero-#{EXTENSION}", release.id, 'site/update.rdf', {
|
228
|
+
name: 'update.rdf',
|
229
|
+
content_type: 'application/rdf+xml'
|
230
|
+
})
|
271
231
|
else
|
272
232
|
STDERR.puts "Not a tagged release"
|
273
233
|
end
|