tdiary-style-gfm 0.1.5 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +5 -1
- data/lib/tdiary/style/gfm/version.rb +1 -1
- data/spec/tdiary/style/gfm_spec.rb +23 -23
- data/tdiary-style-gfm.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bca1aeaa3100089462d7b5488f50099d3d866aa
|
4
|
+
data.tar.gz: 1dff9f39fea5bf8c6c360ad7bbb8cde0ee1880ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 459c472c90785520df79711cead2f546006fcf4358501313d9fadce64b81fcaddf1f5d68ee29e59d38946000b9fbd78cabac8304a0cfe1fcf732de7ec8c330ec
|
7
|
+
data.tar.gz: 3aa332c74ba89c02d5f8fbbd0f90de10f3edb8f48fc53c62f0d579aaa31dd929d2172474abf3559faa9c9cbb164e6ff0399f3c2a6feb6a82fd075c0b22150b81
|
data/.travis.yml
CHANGED
@@ -41,7 +41,7 @@ honbun
|
|
41
41
|
</div>
|
42
42
|
EOF
|
43
43
|
end
|
44
|
-
it { @diary.to_html.
|
44
|
+
it { expect(@diary.to_html).to eq @html }
|
45
45
|
end
|
46
46
|
|
47
47
|
context 'CHTML' do
|
@@ -60,11 +60,11 @@ honbun
|
|
60
60
|
<%=section_leave_proc( Time.at( 1041346800 ) )%>
|
61
61
|
EOF
|
62
62
|
end
|
63
|
-
it { @diary.to_html({}, :CHTML).
|
63
|
+
it { expect(@diary.to_html({}, :CHTML)).to eq @html }
|
64
64
|
end
|
65
65
|
|
66
66
|
context 'to_src' do
|
67
|
-
it { @diary.to_src.
|
67
|
+
it { expect(@diary.to_src).to eq @source }
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
@@ -103,7 +103,7 @@ replace
|
|
103
103
|
</div>
|
104
104
|
EOF
|
105
105
|
end
|
106
|
-
it { @diary.to_html.
|
106
|
+
it { expect(@diary.to_html).to eq @html }
|
107
107
|
end
|
108
108
|
|
109
109
|
describe 'autolink' do
|
@@ -134,7 +134,7 @@ http://www.google.com
|
|
134
134
|
EOF
|
135
135
|
end
|
136
136
|
|
137
|
-
it { @diary.to_html.
|
137
|
+
it { expect(@diary.to_html).to eq @html }
|
138
138
|
end
|
139
139
|
|
140
140
|
describe 'auto imagelink' do
|
@@ -159,7 +159,7 @@ http://www.google.com
|
|
159
159
|
EOF
|
160
160
|
end
|
161
161
|
|
162
|
-
it { @diary.to_html.
|
162
|
+
it { expect(@diary.to_html).to eq @html }
|
163
163
|
|
164
164
|
end
|
165
165
|
|
@@ -181,7 +181,7 @@ http://www.google.com
|
|
181
181
|
EOF
|
182
182
|
end
|
183
183
|
|
184
|
-
it { @diary.to_html.
|
184
|
+
it { expect(@diary.to_html).to eq @html }
|
185
185
|
|
186
186
|
end
|
187
187
|
|
@@ -210,7 +210,7 @@ http://example.com is example.com
|
|
210
210
|
</div>
|
211
211
|
EOF
|
212
212
|
end
|
213
|
-
it { @diary.to_html.
|
213
|
+
it { expect(@diary.to_html).to eq @html }
|
214
214
|
end
|
215
215
|
|
216
216
|
describe 'ignored url syntax with markdown anchor' do
|
@@ -232,7 +232,7 @@ http://example.com is example.com
|
|
232
232
|
</div>
|
233
233
|
EOF
|
234
234
|
end
|
235
|
-
it { @diary.to_html.
|
235
|
+
it { expect(@diary.to_html).to eq @html }
|
236
236
|
end
|
237
237
|
|
238
238
|
describe 'plugin syntax' do
|
@@ -257,7 +257,7 @@ http://example.com is example.com
|
|
257
257
|
</div>
|
258
258
|
EOF
|
259
259
|
end
|
260
|
-
it { @diary.to_html.
|
260
|
+
it { expect(@diary.to_html).to eq @html }
|
261
261
|
end
|
262
262
|
|
263
263
|
describe 'plugin syntax with url args' do
|
@@ -278,7 +278,7 @@ http://example.com is example.com
|
|
278
278
|
</div>
|
279
279
|
EOF
|
280
280
|
end
|
281
|
-
it { @diary.to_html.
|
281
|
+
it { expect(@diary.to_html).to eq @html }
|
282
282
|
end
|
283
283
|
|
284
284
|
describe 'link to my plugin' do
|
@@ -304,7 +304,7 @@ http://example.com is example.com
|
|
304
304
|
</div>
|
305
305
|
EOF
|
306
306
|
end
|
307
|
-
it { @diary.to_html.
|
307
|
+
it { expect(@diary.to_html).to eq @html }
|
308
308
|
end
|
309
309
|
|
310
310
|
describe 'code highlighting' do
|
@@ -331,7 +331,7 @@ http://example.com is example.com
|
|
331
331
|
</div>
|
332
332
|
EOF
|
333
333
|
end
|
334
|
-
it { @diary.to_html.
|
334
|
+
it { expect(@diary.to_html).to eq @html }
|
335
335
|
end
|
336
336
|
|
337
337
|
describe 'ignore emphasis' do
|
@@ -356,7 +356,7 @@ http://example.com is example.com
|
|
356
356
|
</div>
|
357
357
|
EOF
|
358
358
|
end
|
359
|
-
it { @diary.to_html.
|
359
|
+
it { expect(@diary.to_html).to eq @html }
|
360
360
|
end
|
361
361
|
|
362
362
|
context 'twitter username' do
|
@@ -378,7 +378,7 @@ http://example.com is example.com
|
|
378
378
|
</div>
|
379
379
|
EOF
|
380
380
|
end
|
381
|
-
it { @diary.to_html.
|
381
|
+
it { expect(@diary.to_html).to eq @html }
|
382
382
|
end
|
383
383
|
|
384
384
|
describe 'with <pre>' do
|
@@ -404,7 +404,7 @@ http://example.com is example.com
|
|
404
404
|
</div>
|
405
405
|
EOF
|
406
406
|
end
|
407
|
-
it { @diary.to_html.
|
407
|
+
it { expect(@diary.to_html).to eq @html }
|
408
408
|
end
|
409
409
|
|
410
410
|
describe 'with <code>' do
|
@@ -429,7 +429,7 @@ http://example.com is example.com
|
|
429
429
|
</div>
|
430
430
|
EOF
|
431
431
|
end
|
432
|
-
it { @diary.to_html.
|
432
|
+
it { expect(@diary.to_html).to eq @html }
|
433
433
|
end
|
434
434
|
end
|
435
435
|
|
@@ -452,7 +452,7 @@ http://example.com is example.com
|
|
452
452
|
</div>
|
453
453
|
EOF
|
454
454
|
end
|
455
|
-
it { @diary.to_html.
|
455
|
+
it { expect(@diary.to_html).to eq @html }
|
456
456
|
end
|
457
457
|
|
458
458
|
describe 'in (multiline) <pre>' do
|
@@ -478,7 +478,7 @@ http://example.com is example.com
|
|
478
478
|
</div>
|
479
479
|
EOF
|
480
480
|
end
|
481
|
-
it { @diary.to_html.
|
481
|
+
it { expect(@diary.to_html).to eq @html }
|
482
482
|
end
|
483
483
|
|
484
484
|
describe 'in <code>' do
|
@@ -499,7 +499,7 @@ http://example.com is example.com
|
|
499
499
|
</div>
|
500
500
|
EOF
|
501
501
|
end
|
502
|
-
it { @diary.to_html.
|
502
|
+
it { expect(@diary.to_html).to eq @html }
|
503
503
|
end
|
504
504
|
|
505
505
|
describe 'in <code> (with attribute)' do
|
@@ -520,7 +520,7 @@ http://example.com is example.com
|
|
520
520
|
</div>
|
521
521
|
EOF
|
522
522
|
end
|
523
|
-
it { @diary.to_html.
|
523
|
+
it { expect(@diary.to_html).to eq @html }
|
524
524
|
end
|
525
525
|
end
|
526
526
|
|
@@ -570,7 +570,7 @@ ruby -e "puts \"hello, world.\""
|
|
570
570
|
</div>
|
571
571
|
EOF
|
572
572
|
end
|
573
|
-
it { @diary.to_html.
|
573
|
+
it { expect(@diary.to_html).to eq @html }
|
574
574
|
end
|
575
575
|
|
576
576
|
describe 'plugin syntax in pre, code block' do
|
@@ -602,7 +602,7 @@ NOTE: `{{.NetworkSettings.IPAddress}}` is golang template.
|
|
602
602
|
</div>
|
603
603
|
EOF
|
604
604
|
end
|
605
|
-
it { @diary.to_html.
|
605
|
+
it { expect(@diary.to_html).to eq @html }
|
606
606
|
end
|
607
607
|
end
|
608
608
|
|
data/tdiary-style-gfm.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_dependency 'github-markdown'
|
22
22
|
spec.add_dependency 'pygments.rb'
|
23
23
|
spec.add_dependency 'twitter-text'
|
24
|
-
spec.add_dependency '
|
24
|
+
spec.add_dependency 'emot'
|
25
25
|
|
26
26
|
spec.add_development_dependency "bundler", "~> 1.3"
|
27
27
|
spec.add_development_dependency "rake"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tdiary-style-gfm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SHIBATA Hiroshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-markdown
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: emot
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
150
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.
|
151
|
+
rubygems_version: 2.5.1
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: GFM Style for tDiary
|