rmake-notation 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c1a9a72a7dcbfce78f7d421339a91f99dd73bbb1
4
+ data.tar.gz: b3514f69509d4d3e660d5a163476c3d951599f1d
5
+ SHA512:
6
+ metadata.gz: 1a89377329a9b122a3ff6a91c7ad55e806a58d4b448e53b8ac996b34622e0943066827ce40c86dd4fde4073a1edc61408dd8f9a47aa66c945b3ae1db2ee770bd
7
+ data.tar.gz: b69eb11c282d5d5b1f184627561c57d91f50ebe7ac9d65f3b683d4bd717ad23d31fa35854d8371c49340631b94d5e20eb199c13566c6558e4d7e560d77105aba
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .idea
@@ -310,8 +310,11 @@ EOS
310
310
  style += "color:#{tag};"
311
311
  end
312
312
  end
313
+
314
+ text_data = parsed_block[2..parsed_block.length-1]
315
+ text_data = text_data.is_a?(Array) ? text_data.join(' ') : text_data.to_s
313
316
 
314
- text = parsed_block[2] ? parsed_block[2..parsed_block.length-1] : nil
317
+ text = !text_data.blank? ? text_data : nil
315
318
  result = "<span style=\"#{style}\">#{text}</span>"
316
319
 
317
320
  when "nicovideo"
@@ -1,5 +1,5 @@
1
1
  module Rmake
2
2
  module Notation
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,33 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmake-notation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
5
- prerelease:
4
+ version: 0.0.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Rmake Developers
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-16 00:00:00.000000000 Z
11
+ date: 2013-11-20 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
- description: ! 'A simple wiki engine for Rmake. '
27
+ description: 'A simple wiki engine for Rmake. '
31
28
  email:
32
29
  - akasata@rmake.net
33
30
  executables: []
@@ -45,26 +42,25 @@ files:
45
42
  - rmake-notation.gemspec
46
43
  homepage: ''
47
44
  licenses: []
45
+ metadata: {}
48
46
  post_install_message:
49
47
  rdoc_options: []
50
48
  require_paths:
51
49
  - lib
52
50
  required_ruby_version: !ruby/object:Gem::Requirement
53
- none: false
54
51
  requirements:
55
- - - ! '>='
52
+ - - '>='
56
53
  - !ruby/object:Gem::Version
57
54
  version: '0'
58
55
  required_rubygems_version: !ruby/object:Gem::Requirement
59
- none: false
60
56
  requirements:
61
- - - ! '>='
57
+ - - '>='
62
58
  - !ruby/object:Gem::Version
63
59
  version: '0'
64
60
  requirements: []
65
61
  rubyforge_project:
66
- rubygems_version: 1.8.25
62
+ rubygems_version: 2.0.3
67
63
  signing_key:
68
- specification_version: 3
64
+ specification_version: 4
69
65
  summary: A simple wiki engine
70
66
  test_files: []