mediawiki-replaceable-content 0.2.1 → 0.2.2

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
  SHA256:
3
- metadata.gz: 6cba1d4d392f832817deceae7de443e872a0eeafa4c6321b1e5eab31baae996c
4
- data.tar.gz: ce45f42317be4eb3ae5dca06d900e427d5b66fa9f42da8b9ac077495eaddcd01
3
+ metadata.gz: f8f48e7b5341d5110a36c25c01959ae43670e0c9189a987eb1379bd032e09d71
4
+ data.tar.gz: '006184e2541c4bf0939f0d757b46debcb4b4b5887fde6c46c8cf9e5adcefb3d4'
5
5
  SHA512:
6
- metadata.gz: 98f954935950afbd03bfed2bee7e7d0f5805d86147a6661c6361b801087ab983327ff9525ac72b540f0bb1ab1e201d5f8d082e690433ebd729365e397e44f6bb
7
- data.tar.gz: 2f4a1089e4831f9f3a0bf355f1419982a62270bac5f2bbe3da81f5ac1b4b3ffb28fdf6e43bb391f7d59357878ace77c4fe4a16170638808f31ef22520e3ce7d0
6
+ metadata.gz: f140cce28ff901ba30178b965b833f6aa946801dcb522f4fc4ecd691dc50311846590b2f29f90bc219220d2088fa27fe181364a75fe74d9269cbd7718bfe1fae
7
+ data.tar.gz: faff405e79004c1675f3ada21a071a108a1a54ed1da445c628f2a52cec092db10ef0c49994941ce0314660ea775444b0d6d0fa0ebfb398920a34d045422708f7
@@ -63,7 +63,7 @@ module MediaWiki
63
63
  attr_accessor :client, :title, :template
64
64
 
65
65
  def wikitext
66
- @wikitext ||= client.get_wikitext(title).body
66
+ @wikitext ||= client.get_wikitext(title).body.dup.force_encoding('UTF-8')
67
67
  end
68
68
 
69
69
  def template_re
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.required_ruby_version = '>= 2.5.0'
8
8
 
9
9
  spec.name = 'mediawiki-replaceable-content'
10
- spec.version = '0.2.1'
10
+ spec.version = '0.2.2'
11
11
  spec.authors = ['Tony Bowden', 'Mark Longair']
12
12
  spec.email = ['tony@tmtm.com']
13
13
  spec.licenses = ['MIT']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediawiki-replaceable-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Bowden
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-09-01 00:00:00.000000000 Z
12
+ date: 2020-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mediawiki_api