clwiki 3.0.1 → 3.0.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 +4 -4
- data/lib/cl_wiki/file.rb +1 -5
- data/lib/cl_wiki/version.rb +1 -1
- data/test/dummy/log/test.log +1233 -0
- data/test/dummy/tmp/testrep/BaaRamEwe.txt +5 -0
- data/test/dummy/tmp/testrep/BarFoo.txt +5 -0
- data/test/dummy/tmp/testrep/NewEncryptedPage.txt +5 -0
- data/test/dummy/tmp/testrep/users/testy.json +1 -1
- data/test/lib/clwiki/file_test.rb +6 -0
- metadata +7 -1
@@ -1 +1 @@
|
|
1
|
-
{"username":"testy","password_digest":"$2a$04$
|
1
|
+
{"username":"testy","password_digest":"$2a$04$Z1NpwnpxkFO8UfBzJWi9jO.Q/krdosYQ9vhi.o9ayb0fYfnp3l5fS"}
|
@@ -150,4 +150,10 @@ class ClWikiFileTest < TestBase
|
|
150
150
|
|
151
151
|
assert_match(/awesome/, ::File.read(wiki_file.full_path_and_name, mode: 'rb'))
|
152
152
|
end
|
153
|
+
|
154
|
+
def test_utf_8_content
|
155
|
+
create_legacy_file('EllipsisPage.txt', '“It” …')
|
156
|
+
file = ClWiki::File.new('EllipsisPage', @test_wiki_path)
|
157
|
+
assert_equal "“It” …\n", file.content
|
158
|
+
end
|
153
159
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clwiki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chrismo
|
@@ -302,8 +302,11 @@ files:
|
|
302
302
|
- test/dummy/tmp/cache/assets/sprockets/v4.0.0/z9/z9HQmzff5j_6CFyk6eQ52nYt9cPLXsxDQY0Yep1Hz-0.cache
|
303
303
|
- test/dummy/tmp/cache/assets/sprockets/v4.0.0/zM/zMvcc87IG1SRbqwUNtWQfHgeWr5XN36OU8vg-v3rUus.cache
|
304
304
|
- test/dummy/tmp/cache/assets/sprockets/v4.0.0/zn/znjQpjNzh1iUAe9DljeFghnStRvqNIr1GuOTibVcEJQ.cache
|
305
|
+
- test/dummy/tmp/testrep/BaaRamEwe.txt
|
306
|
+
- test/dummy/tmp/testrep/BarFoo.txt
|
305
307
|
- test/dummy/tmp/testrep/BazQuux.txt
|
306
308
|
- test/dummy/tmp/testrep/FooBar.txt
|
309
|
+
- test/dummy/tmp/testrep/NewEncryptedPage.txt
|
307
310
|
- test/dummy/tmp/testrep/NewPage.txt
|
308
311
|
- test/dummy/tmp/testrep/users/testy.json
|
309
312
|
- test/dummy/tmp/wikirep/FrontPage.txt
|
@@ -570,7 +573,10 @@ test_files:
|
|
570
573
|
- test/dummy/tmp/cache/assets/sprockets/v4.0.0/R2/R2Xqb6eAeUW2xTaTaTjlkyUCirkb1qfYgW2CyY80VjM.cache
|
571
574
|
- test/dummy/tmp/cache/assets/sprockets/v4.0.0/Tg/TgTXCuKAEg1DI5zjHO8tGMGuQGC9BRt9vgDZj2FdSa8.cache
|
572
575
|
- test/dummy/tmp/cache/assets/sprockets/v4.0.0/1V/1VmPI9-8O9Y8OP-JxSXl7-yNRMZHqapeh2drmkXiRGE.cache
|
576
|
+
- test/dummy/tmp/testrep/NewEncryptedPage.txt
|
573
577
|
- test/dummy/tmp/testrep/NewPage.txt
|
578
|
+
- test/dummy/tmp/testrep/BarFoo.txt
|
579
|
+
- test/dummy/tmp/testrep/BaaRamEwe.txt
|
574
580
|
- test/dummy/tmp/testrep/users/testy.json
|
575
581
|
- test/dummy/tmp/testrep/BazQuux.txt
|
576
582
|
- test/dummy/tmp/testrep/FooBar.txt
|