tdiary-style-rd 0.0.2 → 0.0.3

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: 181a4739f4c27829c1ab8221f8c42bf07f57cda5
4
- data.tar.gz: acacc2f3c50a308b3934a5c27941b97ddf9b92e5
3
+ metadata.gz: cb3ec0799d33aaca665a18d5fc012f84cedc9262
4
+ data.tar.gz: 9171003d3c085cab0869bc5ef5b6efd3f46983ff
5
5
  SHA512:
6
- metadata.gz: 5d6d79dbd40409f463f249980624db23705010cc682ad8018645cad26da5c35cc5f72466782c7170e7fb9822719792f45933810c0007bd6eb4c8a5a9fd85ba83
7
- data.tar.gz: f9c57b7dfee90522eb55279c033d8082fbadfbd36f42cc9ac2f3d29edb45bf0c5c85619330230b6d4a04000349ba7201f0e337342dba632a3fb35bd0aa6ae9b5
6
+ metadata.gz: 78084a03c5280c1eddcf2cb2ba0dfbc3a9bdbed88438dcb23fff8886c1029754cfefa721e2e9e3aef21c2e7fc3c8f3b7752d8b8b3b8841aa77943c61ea47d88f
7
+ data.tar.gz: a0fe0472b0b2c183edc9a7c9b21587720c62a3086ba207a80daa1f894535bd1a16bbe80ec457edb1fa8b7842bd839b764523c7e685f96b456b8c6349b7a0b023
@@ -1,3 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.0
3
+ - 1.9.3
4
+ - 2.0.0
5
+ script: bundle exec rake spec
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Tdiary::Style::Rd
1
+ # TDiary::Style::Rd
2
2
 
3
3
  rd_style.rb: RD style for tDiary 2.x format. based on Wiki style which Copyright belongs to TADA Tadashi.
4
4
 
@@ -334,8 +334,6 @@ module TDiary
334
334
  end
335
335
  return r
336
336
  end
337
-
338
- undef :to_html4, :to_chtml
339
337
  end
340
338
  end
341
339
  end
@@ -1,7 +1,7 @@
1
- module Tdiary
1
+ module TDiary
2
2
  module Style
3
3
  module Rd
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
@@ -5,3 +5,4 @@ require 'tdiary/style'
5
5
  require 'tdiary/style/rd'
6
6
 
7
7
  TDiary::Style::RdDiary.send(:include, TDiary::Style::BaseDiary)
8
+ TDiary::Style::RDSection.send(:include, TDiary::Style::BaseSection)
@@ -32,7 +32,7 @@ honbun
32
32
  </div>
33
33
  EOF
34
34
  end
35
- it { @diary.to_html.should eq @html }
35
+ it { expect(@diary.to_html).to eq @html }
36
36
  end
37
37
  end
38
38
 
@@ -69,7 +69,7 @@ replace
69
69
  </div>
70
70
  EOF
71
71
  end
72
- it { @diary.to_html.should eq @html }
72
+ it { expect(@diary.to_html).to eq @html }
73
73
  end
74
74
 
75
75
  describe '#add_section' do
@@ -102,7 +102,7 @@ honbun
102
102
  </div>
103
103
  EOF
104
104
  end
105
- it { @diary.to_html.should eq @html }
105
+ it { expect(@diary.to_html).to eq @html }
106
106
  end
107
107
 
108
108
  describe '#delete_section' do
@@ -127,7 +127,7 @@ honbun
127
127
  </div>
128
128
  EOF
129
129
  end
130
- it { @diary.to_html.should eq @html }
130
+ it { expect(@diary.to_html).to eq @html }
131
131
  end
132
132
 
133
133
  describe 'test_rd_style_plugin' do
@@ -165,7 +165,7 @@ aaa</p>
165
165
  </div>
166
166
  EOF
167
167
  end
168
- it { @diary.to_html.should eq @html }
168
+ it { expect(@diary.to_html).to eq @html }
169
169
  end
170
170
  end
171
171
 
@@ -187,7 +187,7 @@ aaa</p>
187
187
  </div>
188
188
  EOF
189
189
  end
190
- it { @diary.to_html.should eq @html }
190
+ it { expect(@diary.to_html).to eq @html }
191
191
  end
192
192
  end
193
193
 
@@ -205,8 +205,8 @@ RD syntax error: line 1:
205
205
  EOF
206
206
  end
207
207
  it {
208
- lambda{ @diary.to_html }.should raise_error(SyntaxError){ |e|
209
- e.message.should eq @exception_message
208
+ expect{ @diary.to_html }.to raise_error(SyntaxError){ |e|
209
+ expect(e.message).to eq @exception_message
210
210
  }
211
211
  }
212
212
  end
@@ -5,12 +5,12 @@ require 'tdiary/style/rd/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "tdiary-style-rd"
8
- spec.version = Tdiary::Style::Rd::VERSION
8
+ spec.version = TDiary::Style::Rd::VERSION
9
9
  spec.authors = ["SHIBATA Hiroshi"]
10
10
  spec.email = ["shibata.hiroshi@gmail.com"]
11
11
  spec.description = %q{RD Style for tDiary}
12
12
  spec.summary = %q{RD Style for tDiary}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/tdiary/tdiary-style-rd"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdiary-style-rd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - SHIBATA Hiroshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-28 00:00:00.000000000 Z
11
+ date: 2014-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdtool
@@ -87,7 +87,7 @@ files:
87
87
  - spec/spec_helper.rb
88
88
  - spec/tdiary/style/rd_spec.rb
89
89
  - tdiary-style-rd.gemspec
90
- homepage: ''
90
+ homepage: https://github.com/tdiary/tdiary-style-rd
91
91
  licenses:
92
92
  - MIT
93
93
  metadata: {}
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.1.3
110
+ rubygems_version: 2.4.1
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: RD Style for tDiary