zotplus-rakehelper 0.0.147 → 0.0.148
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 +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9dee6e7324d86de3136910f27fc2d9197163f950
|
4
|
+
data.tar.gz: a63aa542dde7f02a94b7ae9e9997e341a5024bcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b587a515675fa415ddebfa4e889399245d2c49e31ed359ea377180fdc35d33b34ce3236d55c182532e679f714a158502e950fed09d7c2554a8d748a0d4587cf
|
7
|
+
data.tar.gz: 4b460262ca62ac8f8e6ad78384b3ff9ef2b97839c9ef34f1f9c010c10e02ab671c71663a1430695b1418020ee844056a07a9f645d3c6cd2b355a00ad9378f6fe
|
data/Gemfile.lock
CHANGED
data/lib/zotplus-rakehelper.rb
CHANGED
@@ -11,6 +11,7 @@ require 'securerandom'
|
|
11
11
|
require 'tempfile'
|
12
12
|
require 'uri'
|
13
13
|
require 'zip'
|
14
|
+
require 'front_matter_parser'
|
14
15
|
|
15
16
|
case ENV['DEBUGBUILD']
|
16
17
|
when 'true'
|
@@ -93,10 +94,10 @@ task :bump, :what do |t, args|
|
|
93
94
|
File.open('install.rdf','w') {|f| install_rdf.write_xml_to f}
|
94
95
|
|
95
96
|
## UPDATE.RDF
|
96
|
-
update = Nokogiri::XML(open('site/update.rdf'))
|
97
|
+
update = Nokogiri::XML(open('site/public/update.rdf'))
|
97
98
|
update.at('//em:version').content = release
|
98
99
|
update.xpath('//em:updateLink').each{|link| link.content = "https://github.com/ZotPlus/zotero-#{EXTENSION}/releases/download/#{release}/zotero-#{EXTENSION}-#{release}.xpi" }
|
99
|
-
open('site/update.rdf', 'w'){|f| update.write_xml_to f }
|
100
|
+
open('site/public/update.rdf', 'w'){|f| update.write_xml_to f }
|
100
101
|
|
101
102
|
sh "git add site install.rdf README.md"
|
102
103
|
sh "git commit -m 'release: zotero-#{EXTENSION}-#{release}.xpi'"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zotplus-rakehelper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.148
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emiliano Heyns
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|