nwiki 0.3.1 → 0.3.2

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: 2d626b1f5a0b9fc63d157caeca25482b05ce2c90
4
- data.tar.gz: 8c7b908ad4230d2f56fba9114016cbb0ef1199d8
3
+ metadata.gz: c0aed16f0e2308e306f62ccf1070e3935a0d19c3
4
+ data.tar.gz: b34711f74d16692f6b0fb513420dd9a34445b3dc
5
5
  SHA512:
6
- metadata.gz: 111fb4e73a246dec26ea911956669a96f8f9698add8f9f8037630b5f6354d4c452bd5119bd32dc19c695ed5aeb6163848d2b39a4a87995474ab58bb40f15da8a
7
- data.tar.gz: 594fb5dd05a519e655775a25c7d00c379def889cd551950434a26222f6d1cddd35a919e758f694f67b010df85216bcec02846a336ac39f56b6714f70c27f30a2
6
+ metadata.gz: 4f433bbe0eb36abf487a9ef6692c814c26faec7340a606481eae40751e321f2e7743d6f262fd97f269d3090e5aa0f661405f65dfe549fdb773c3bd96792a24ba
7
+ data.tar.gz: 0b4b0dece03c38038e2a24a894baf543107edc549e525b2c5c2e2ec990c15af61a48f183f31497f739a11a88b35598a1e9e15d978297d10e276c9461ff03a792
data/CHANGELOG.org CHANGED
@@ -1,4 +1,6 @@
1
1
  * CHANGELOG
2
+ ** 0.3.2
3
+ - Set SVG as binaryfile
2
4
  ** 0.3.1
3
5
  - Update Design
4
6
  - Syntax Highlighting
data/Gemfile.lock CHANGED
@@ -16,7 +16,7 @@ GIT
16
16
  PATH
17
17
  remote: .
18
18
  specs:
19
- nwiki (0.3.1)
19
+ nwiki (0.3.2)
20
20
  org-ruby
21
21
  rack
22
22
  rack-git
@@ -49,7 +49,7 @@ module Nwiki
49
49
  <div class="footer l-box is-center">
50
50
  </div>
51
51
 
52
- <script>Array.forEach(document.getElementsByClassName("src"), function(elem) { hljs.highlightBlock(elem) });</script>
52
+ <script>Array.prototype.forEach.call(document.querySelectorAll("pre.src"), function(e){ hljs.highlightBlock(e) });</script>
53
53
  </body>
54
54
  </html>
55
55
  EOS
@@ -96,7 +96,7 @@ EOS
96
96
  use Rack::Rewrite do
97
97
  rewrite %r{^(.*)$}, '$1.org', if: -> (env) {
98
98
  path = Rack::Utils.unescape(env["PATH_INFO"])
99
- path !~ /\/$/ && File.extname(path) !~ /(png|jpg|gif)/
99
+ path !~ /\/$/ && File.extname(path) !~ /(png|jpg|gif|svg)/
100
100
  }
101
101
  end
102
102
  run Rack::Git::File.new git_repo_path,
data/lib/nwiki/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nwiki
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nwiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - niku
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-24 00:00:00.000000000 Z
11
+ date: 2015-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack