arti_mark 0.0.1.beta4 → 0.1.beta1

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,43 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arti_mark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta4
4
+ version: 0.1.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - KOJIMA Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-10 00:00:00.000000000 Z
11
+ date: 2014-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: kpeg
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rspec
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
- - - ~>
31
+ - - "~>"
18
32
  - !ruby/object:Gem::Version
19
- version: '2.11'
33
+ version: '2.14'
20
34
  type: :development
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
- - - ~>
38
+ - - "~>"
25
39
  - !ruby/object:Gem::Version
26
- version: '2.11'
40
+ version: '2.14'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: nokogiri
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - ~>
45
+ - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: 1.5.6
47
+ version: 1.6.0
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
- - - ~>
52
+ - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: 1.5.6
54
+ version: 1.6.0
41
55
  description: simple and customizable text markup language for EPUB
42
56
  email:
43
57
  - skoji@mac.com
@@ -45,7 +59,8 @@ executables: []
45
59
  extensions: []
46
60
  extra_rdoc_files: []
47
61
  files:
48
- - .gitignore
62
+ - ".gitignore"
63
+ - CHANGELOG.md
49
64
  - Gemfile
50
65
  - LICENSE
51
66
  - README.md
@@ -57,14 +72,22 @@ files:
57
72
  - lib/arti_mark/block_image_parser.rb
58
73
  - lib/arti_mark/command_lexer.rb
59
74
  - lib/arti_mark/common_block_parser.rb
60
- - lib/arti_mark/context.rb
61
75
  - lib/arti_mark/definition_list_parser.rb
62
76
  - lib/arti_mark/div_parser.rb
63
77
  - lib/arti_mark/head_parser.rb
78
+ - lib/arti_mark/html/context.rb
79
+ - lib/arti_mark/html/generator.rb
80
+ - lib/arti_mark/html/header_writer.rb
81
+ - lib/arti_mark/html/result.rb
82
+ - lib/arti_mark/html/tag_writer.rb
83
+ - lib/arti_mark/html/util.rb
84
+ - lib/arti_mark/html/writer_selector.rb
64
85
  - lib/arti_mark/list_parser.rb
65
86
  - lib/arti_mark/ordered_list_parser.rb
66
87
  - lib/arti_mark/paragraph_parser.rb
67
- - lib/arti_mark/result.rb
88
+ - lib/arti_mark/parser.kpeg
89
+ - lib/arti_mark/parser.kpeg.rb
90
+ - lib/arti_mark/parser.rb
68
91
  - lib/arti_mark/section_parser.rb
69
92
  - lib/arti_mark/syntax.rb
70
93
  - lib/arti_mark/universal_block_parser.rb
@@ -83,17 +106,17 @@ require_paths:
83
106
  - lib
84
107
  required_ruby_version: !ruby/object:Gem::Requirement
85
108
  requirements:
86
- - - '>='
109
+ - - ">="
87
110
  - !ruby/object:Gem::Version
88
- version: '0'
111
+ version: 2.0.0
89
112
  required_rubygems_version: !ruby/object:Gem::Requirement
90
113
  requirements:
91
- - - '>'
114
+ - - ">"
92
115
  - !ruby/object:Gem::Version
93
116
  version: 1.3.1
94
117
  requirements: []
95
118
  rubyforge_project:
96
- rubygems_version: 2.0.2
119
+ rubygems_version: 2.2.0
97
120
  signing_key:
98
121
  specification_version: 4
99
122
  summary: simple and customizable text markup language for EPUB
@@ -1,25 +0,0 @@
1
- module ArtiMark
2
- class Context
3
- class Result < Array
4
- def initialize
5
- super
6
- end
7
-
8
- def write_as_files(prefix, format='%03d')
9
- self.each_with_index {
10
- |converted, i|
11
- File.open("#{prefix}_#{format%(i+1)}.xhtml", 'w+') {
12
- |file|
13
- file << converted
14
- }
15
- }
16
- end
17
- def write_as_single_file(filename)
18
- File.open(filename, 'w+') {
19
- |file|
20
- file << self[0]
21
- }
22
- end
23
- end
24
- end
25
- end