texrack 0.5.0 → 0.5.1

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: d6317e26ded8ae7d0129684554de7d88e69a1e8b
4
- data.tar.gz: 69b53f08a52c1fc208682845663ae7fb7e07a4b0
3
+ metadata.gz: 5c548f224b7eb99f58da603aec01ccbbb380d03f
4
+ data.tar.gz: 7428ec2df6923cdd1feb8e9d459f94f8de852404
5
5
  SHA512:
6
- metadata.gz: d111375ea46c941da09ae7e24041b738e333810eb993806b818de9212ec139f2dee4d3499e2017ba93ecd8ac077606107357354448ae5df0263084b7df10cfa7
7
- data.tar.gz: b54563309cf3d815c712ec0d3fba2ed718895a390db4a0b906af8c1bed7681199b9aa1849a14cccc4cc800485a232f3ac7c3391720d3d1bdcfe9c752e07ac985
6
+ metadata.gz: 6cd83ec84cdf8992a7d9f546e38c0587c26ccfd762f1c5921b1f5d8fc640fed2d49c176468fdd1b0eb63aa57115f654fa112c08bb4e0efb98a928b129eb6cc78
7
+ data.tar.gz: c9b077643d63b19eb5c0d099fb3af506691584ec8140cce315ef126af2c232f51fe244d75380858763373ca51d9c811b89ddcfe1b61e85e4e3f5ea893dde616e
@@ -2,17 +2,17 @@
2
2
  Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
3
3
  Comment: GPGTools - http://gpgtools.org
4
4
 
5
- iQIcBAABAgAGBQJSe5GZAAoJEH1ncb0Txu7XINMP/1gRdSm8xaodlyEXmnLsBAda
6
- G6ho7yTB4buwDSnnNU0d7+cU+83xwTL4lsWs/Eg318ciAMJURCpNPs8nfWtlnokd
7
- jfYuh7hYBuQf2Bf0ymP3LtKjGICOYl/AuoNHzM77ro4x8cCnE3rskixE3hNn8KP+
8
- aurZAQxRVQX7x1cJdd0Qy+mocWjuhZ7yOiBzHu+DCpGAP2FO3I7BhTnN2blchvr0
9
- +GfevI83LOdj3Ai/r5wRXdGCv0DDpMCSulwLA5AAP4yRqyNy0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+
14
+ 6Szl/12PUyRxM2lzNrBWRPe8AblNa7cZoapKKj3Y10tw28nm6usPzcr7/Ft9ZjNw
15
+ pfrkp1vlG1BN3N8Smo+6s57TnPVn24zhZZv8+AZZlhFoYP4DEgX3SrOztC/gh9GV
16
+ BG+p9lpj6heywY4ABd+y
17
+ =7BXi
18
18
  -----END PGP SIGNATURE-----
data.tar.gz.asc CHANGED
@@ -2,17 +2,17 @@
2
2
  Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
3
3
  Comment: GPGTools - http://gpgtools.org
4
4
 
5
- iQIcBAABAgAGBQJSe5GYAAoJEH1ncb0Txu7XYhcP/1OiDgOwvI2ID2AUtaGhi1yp
6
- JqsK/zcaBJtf6+2dSCACekxxVe74n7DwI9j4yu2egR7dgFfB1XnG4cg4FFxaOnIK
7
- 1UW7JQ8+DFHDLEOIzKgg9OECJtvyJQSvZIuDINgOl/R5myK4a5U85U5Ico9mN95Q
8
- k/6iE9t3nKGYlzUZ/McHw6TiIC9LuGfjvCUgTKmWzkSgWRpXj7tV0N8afvz9PHo0
9
- doBjux5osSanEvjGapa0tf2m+0r5drrad6p7qcBARCTEmRPqzljoxIAOSfA9Abv6
10
- enb2clhWAc8UIwt5pud3yuIIcI66Zp56ZWoUyil1JC+ciXer7LHwYZFF6yuOF/L+
11
- idX4aqF/REtXw8xAzu8QyM6qiD2abH89mKVOaOaS5VvnciN4gwdcDyMBr6AOgRG1
12
- vwuPtJlA4n4Rjs1CxWLFdsd/RwGXioQmdXYXdzQQ/ocwatH50UE3WgylRwgwX2kP
13
- 2BEVkpSdCeikFZFWhsfJwYgIoEV0q2p8UiS45nCEnDA+GV2DcW/7VCSZb63wZ2p3
14
- 0wRaanrZYC59/aJ6apy6VETMLsMKnau5+jKpooWhdl051roGrBkR8Si0SJOMTxWU
15
- hBhbJgO9/1UggMCErDJHHkoGYxrXP9El72Y5eDOcf4v5VphF+yQ6sGhhnONVO3TO
16
- RD0PZqRgH62ieTOtjH01
17
- =2+ib
5
+ iQIcBAABAgAGBQJSe5JPAAoJEH1ncb0Txu7XjegP/0AGxaGl5t3CfkDanymq4Bk3
6
+ iW09BXNHk5PLIqNsanDCzsn3mmFO+s5N4JFkhum5QOJgyrgsWlMpyseCsFbIPgaw
7
+ b1V1Oj3qbvbxqFVnWXZqYNDmEIuyTz53IThrmwiwnvYtU80uQvaPtxpkvecLvjUD
8
+ GZC+O8CM7/+WQPvvXcRb/MwrowV0HDaAl0hgDnJIrdWqThE0ZAaWQCFJZ9TKeHu5
9
+ z0lSDXYmItNZL8YPvu/fSkOJV4unDn0ZPAQ9XAfWbrTmbJ1bg6Fa8lWnpFsJI187
10
+ Rpp20dT+qm0yshWhWAHijmmxj2Q88z+VEFpg/Rzi0PzqfXym2jYi+acerh9wb4Ku
11
+ Wsqsb8uwtO/Nn7QlZXe+v9BiztqwCfah66WNQdQbYkdred06jn09hqmXgZ0dBpAS
12
+ ovZaES30BZMibCs8NIhwP96thOK0K80gTyphPoSMRsrv9q4T8PIiWcJnD4SOjC6f
13
+ 7slTEmowji2c430cJ6ANF246hP4vtYw7hfRWkBA3oGTDE6KMLwtCh8BxN+JSd8C3
14
+ NoEjhOa2OuS4Zr09PmNd7k80R2qXYM0xpr7KM38bEwzkeAlh/dsSlxAYH5gpIEj0
15
+ eBHpgK6ihlBTEl6wGKRsqgxdPJgnR0Ri9H54GjeUF82JTE3VTQu4IvAReg0D9bSW
16
+ 2B4tVsicvc5oWkWL7RSz
17
+ =MU1d
18
18
  -----END PGP SIGNATURE-----
@@ -1,3 +1,8 @@
1
+ # 0.5.1 / 2013-11-07
2
+
3
+ * Oh, git. And stupid authors…
4
+ Make sure `File.chmod` is called **before** sending the file.
5
+
1
6
  # 0.5.0 / 2013-11-07
2
7
 
3
8
  * A typo snuck in, referencing FileText instead of FileTest
@@ -27,8 +27,8 @@ module Texrack
27
27
  pdf_source = erb :latex
28
28
  pdf = Texrack::LatexToPdf.new(pdf_source, logger).generate_pdf
29
29
  png = Texrack::PdfToPng.new(pdf, logger).to_file(output)
30
- send_file png, disposition: :inline
31
30
  File.chmod(0644, png)
31
+ send_file png, disposition: :inline
32
32
  rescue Texrack::LatexFailedError
33
33
  send_static_error "latex-failed.png"
34
34
  rescue Texrack::LatexNotFoundError
@@ -1,3 +1,3 @@
1
1
  module Texrack
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: texrack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Per Christian B. Viken
metadata.gz.asc CHANGED
@@ -2,17 +2,17 @@
2
2
  Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
3
3
  Comment: GPGTools - http://gpgtools.org
4
4
 
5
- iQIcBAABAgAGBQJSe5GYAAoJEH1ncb0Txu7XaboP/A9/Omb/3z5qZ02f1G1uHoDW
6
- FGy2hqn8NrjCJZD+NlwULzcCNRY9tSISGDHEsxvLuKHKkEnrJngTRPSmqLUdx8AE
7
- xyMrRTxyDTlgIBnl7P+e2Jmv+L8UlIMTTvWk7tpto7Q7AKRMbhsTyruNEaKgvXfc
8
- mvS0fEcI4S+F6eM0eYp9AzVbtB4/LTRZjRFMfWTJwdbcKqNdRcjzWgclPYK0ww1a
9
- oAVZikG6ADRgfzA2is8TaAm5Ik148GCoKppUiNtggwwtlpV24KZHLYUpw6J6SFJ3
10
- t6jpA5cBEq8owObm7iJts3ajEDVqdbIJVgE8xVI9eyX5kVNhyg+b6TzzxpLprJkm
11
- qvP6h5vsGyhfgm2k87lPioeGSaLW/Ragf8YXOTRBhwGaGdHWxCr7nfz68Dp26fKP
12
- hgeoTM0r3Y4ZD2OFOXGgrQm7+fjoRlsSkRPVgbEzE0uYfsXcf+jHvyQ1/3peDl/X
13
- Esead3KVdOYBQ6PJstEGjAEHaYeaYUzuJLIdEa6+EW8iH9dNT9iMIsuy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