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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 654ee075d6f2b71183da52da5de373e3d8034fc0
4
- data.tar.gz: cf73f6767c42a069f6ffdbaa8f0f5175a752f7ac
3
+ metadata.gz: 9dee6e7324d86de3136910f27fc2d9197163f950
4
+ data.tar.gz: a63aa542dde7f02a94b7ae9e9997e341a5024bcf
5
5
  SHA512:
6
- metadata.gz: ab5aeea7e551f659ae7a1a555dcf27223a65ec3812d4cb2f5f446c0e2a5b692a0f4c14385f8ea8d6cf45959f7a3d5f0dc58825cfc7e43b9499130a87cfa55dbb
7
- data.tar.gz: 33bc9a21effd63b5f2abd36e8a8b7be2372c7ad230cb7c5d2ee81e4f4b909662e5e383817d2bc51e2bad0253802235e3599aa908888f27819107679185427c80
6
+ metadata.gz: 2b587a515675fa415ddebfa4e889399245d2c49e31ed359ea377180fdc35d33b34ce3236d55c182532e679f714a158502e950fed09d7c2554a8d748a0d4587cf
7
+ data.tar.gz: 4b460262ca62ac8f8e6ad78384b3ff9ef2b97839c9ef34f1f9c010c10e02ab671c71663a1430695b1418020ee844056a07a9f645d3c6cd2b355a00ad9378f6fe
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zotplus-rakehelper (0.0.147)
4
+ zotplus-rakehelper (0.0.148)
5
5
  front_matter_parser
6
6
  github_api
7
7
  nokogiri
@@ -1,5 +1,5 @@
1
1
  module ZotPlus
2
2
  class RakeHelper
3
- VERSION = "0.0.147"
3
+ VERSION = "0.0.148"
4
4
  end
5
5
  end
@@ -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.147
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-19 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler