tdiary-style-gfm 0.1.5 → 0.2.0

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: 73f967a0dd3170a9fb979f9d648cb711cc2b8489
4
- data.tar.gz: c46526f9277dff693c4442205d1d20a5e32412ed
3
+ metadata.gz: 9bca1aeaa3100089462d7b5488f50099d3d866aa
4
+ data.tar.gz: 1dff9f39fea5bf8c6c360ad7bbb8cde0ee1880ed
5
5
  SHA512:
6
- metadata.gz: 902da037044c1c1d8c322dbe9159894ec5d52c9c645cc7089f05fbfd55dd231908a1eddcdf03f14db88e7b0914fa7c2960ec6f92d73c41e76e4fefc4bdaf2258
7
- data.tar.gz: 8343daea42a6158ce1014e1a89921b651c112f3df38acaab6847493f887ae314956673d53bfb0ddf753fd41ae0aae40f9a7bf3a39afbbaa13aff2bb7ee0fdcb4
6
+ metadata.gz: 459c472c90785520df79711cead2f546006fcf4358501313d9fadce64b81fcaddf1f5d68ee29e59d38946000b9fbd78cabac8304a0cfe1fcf732de7ec8c330ec
7
+ data.tar.gz: 3aa332c74ba89c02d5f8fbbd0f90de10f3edb8f48fc53c62f0d579aaa31dd929d2172474abf3559faa9c9cbb164e6ff0399f3c2a6feb6a82fd075c0b22150b81
data/.travis.yml CHANGED
@@ -1,5 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
3
  - 2.0.0
4
+ - 2.1
5
+ - 2.2
6
+ - 2.3.0
7
+ - ruby-head
8
+ before_install: gem update bundler
5
9
  script: bundle exec rake spec
@@ -1,7 +1,7 @@
1
1
  module TDiary
2
2
  module Style
3
3
  module Gfm
4
- VERSION = "0.1.5"
4
+ VERSION = "0.2.0"
5
5
  end
6
6
  end
7
7
  end
@@ -41,7 +41,7 @@ honbun
41
41
  </div>
42
42
  EOF
43
43
  end
44
- it { @diary.to_html.should eq @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).should eq @html }
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.should eq @source }
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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @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.should eq @html }
605
+ it { expect(@diary.to_html).to eq @html }
606
606
  end
607
607
  end
608
608
 
@@ -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 'gemoji'
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.1.5
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: 2014-12-22 00:00:00.000000000 Z
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: gemoji
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.4.5
151
+ rubygems_version: 2.5.1
152
152
  signing_key:
153
153
  specification_version: 4
154
154
  summary: GFM Style for tDiary