blocky 0.0.5 → 0.0.6

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: 963b1cea964bf86ee4f073b2741577ec02467b3b
4
- data.tar.gz: 9e1197be9973661d204e8485c0900f49037ccd11
3
+ metadata.gz: 23a93201a48968e41989283799f7924b759d8f59
4
+ data.tar.gz: 0104a644f2d34772d4ec9c6cfba301c10ceb2c1b
5
5
  SHA512:
6
- metadata.gz: 11b0e8baab4b008d6cd358f6260d7da1373609d586be593029c6c2d56518317b3f86b9e9ec5551807f8ed787eb02c5686cf68533dc8ed7baf9c028d038eb3251
7
- data.tar.gz: 7cbed9b4bf9ef3f9c10c48a7d422f25dfa4a7e4c17ffae17af940630197824ff860a2903dba96a688cf476bf799e99d4cf9a27b8a1222c474ec16f1aa01b51db
6
+ metadata.gz: 657d45ad880a8c00436a1ff26ad594d2d427558e2ec719d081d92e033ac8dd4f26e19ae137a479e3860e1a1e654584ae6b985a3bed8ee1a44c6eb4d2b541bb79
7
+ data.tar.gz: 8b83c1459591e963a375b062f8d8732408bd890fa52c4d8ec71d7b133cce5c5d4e5e932483435e8a44830800728706249d7d0aa7920815accdca98dd49017a67
@@ -21,7 +21,7 @@ module Blocky
21
21
  tab_size: 2,
22
22
  tidy_mark: false
23
23
  })
24
- html = tidy.clean(self.content.to_s.strip)
24
+ html = tidy.clean(self.content.to_s.strip).force_encoding("utf-8")
25
25
  self.content = "\n" + (html.blank? ? "<p><br/></p>" : html) + "\n"
26
26
  end
27
27
 
@@ -1,3 +1,3 @@
1
1
  module Blocky
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blocky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pattison
@@ -613,7 +613,6 @@ files:
613
613
  - spec/dummy/tmp/cache/assets/development/sprockets/f8c2ccce91ab7c89ad8922be93c6f363
614
614
  - spec/dummy/tmp/cache/assets/development/sprockets/fa0df232aba62e841f6077c735cec1aa
615
615
  - spec/dummy/tmp/cache/assets/development/sprockets/fb892eb8050ec923cc8084138b1e6e28
616
- - spec/dummy/tmp/pids/server.pid
617
616
  - spec/factories/content_block_factory.rb
618
617
  - spec/models/blocky/content_block_spec.rb
619
618
  - spec/spec_helper.rb
@@ -1007,7 +1006,6 @@ test_files:
1007
1006
  - spec/dummy/tmp/cache/EB7/EC0/blocky%2Fcontent_blocks%2F11-20140521145206908717000
1008
1007
  - spec/dummy/tmp/cache/EBC/5C0/blocky%2Fcontent_blocks%2F13-20140521145258981073000
1009
1008
  - spec/dummy/tmp/cache/EC4/780/blocky%2Fcontent_blocks%2F12-20140521145258965683000
1010
- - spec/dummy/tmp/pids/server.pid
1011
1009
  - spec/factories/content_block_factory.rb
1012
1010
  - spec/models/blocky/content_block_spec.rb
1013
1011
  - spec/spec_helper.rb
@@ -1 +0,0 @@
1
- 53777