caracal 0.1.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.
Files changed (95) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +23 -0
  3. data/Gemfile +3 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +941 -0
  6. data/Rakefile +2 -0
  7. data/caracal.gemspec +27 -0
  8. data/lib/caracal.rb +31 -0
  9. data/lib/caracal/core/file_name.rb +39 -0
  10. data/lib/caracal/core/fonts.rb +75 -0
  11. data/lib/caracal/core/images.rb +37 -0
  12. data/lib/caracal/core/line_breaks.rb +29 -0
  13. data/lib/caracal/core/list_styles.rb +92 -0
  14. data/lib/caracal/core/lists.rb +57 -0
  15. data/lib/caracal/core/models/base_model.rb +51 -0
  16. data/lib/caracal/core/models/border_model.rb +120 -0
  17. data/lib/caracal/core/models/font_model.rb +64 -0
  18. data/lib/caracal/core/models/image_model.rb +118 -0
  19. data/lib/caracal/core/models/line_break_model.rb +15 -0
  20. data/lib/caracal/core/models/link_model.rb +65 -0
  21. data/lib/caracal/core/models/list_item_model.rb +105 -0
  22. data/lib/caracal/core/models/list_model.rb +130 -0
  23. data/lib/caracal/core/models/list_style_model.rb +129 -0
  24. data/lib/caracal/core/models/margin_model.rb +76 -0
  25. data/lib/caracal/core/models/page_break_model.rb +15 -0
  26. data/lib/caracal/core/models/page_number_model.rb +69 -0
  27. data/lib/caracal/core/models/page_size_model.rb +70 -0
  28. data/lib/caracal/core/models/paragraph_model.rb +141 -0
  29. data/lib/caracal/core/models/relationship_model.rb +108 -0
  30. data/lib/caracal/core/models/rule_model.rb +27 -0
  31. data/lib/caracal/core/models/style_model.rb +134 -0
  32. data/lib/caracal/core/models/table_cell_model.rb +155 -0
  33. data/lib/caracal/core/models/table_model.rb +206 -0
  34. data/lib/caracal/core/models/text_model.rb +92 -0
  35. data/lib/caracal/core/page_breaks.rb +29 -0
  36. data/lib/caracal/core/page_numbers.rb +51 -0
  37. data/lib/caracal/core/page_settings.rb +72 -0
  38. data/lib/caracal/core/relationships.rb +90 -0
  39. data/lib/caracal/core/rules.rb +35 -0
  40. data/lib/caracal/core/styles.rb +86 -0
  41. data/lib/caracal/core/tables.rb +41 -0
  42. data/lib/caracal/core/text.rb +73 -0
  43. data/lib/caracal/document.rb +242 -0
  44. data/lib/caracal/errors.rb +23 -0
  45. data/lib/caracal/renderers/app_renderer.rb +41 -0
  46. data/lib/caracal/renderers/content_types_renderer.rb +53 -0
  47. data/lib/caracal/renderers/core_renderer.rb +44 -0
  48. data/lib/caracal/renderers/document_renderer.rb +349 -0
  49. data/lib/caracal/renderers/fonts_renderer.rb +56 -0
  50. data/lib/caracal/renderers/footer_renderer.rb +69 -0
  51. data/lib/caracal/renderers/numbering_renderer.rb +87 -0
  52. data/lib/caracal/renderers/package_relationships_renderer.rb +50 -0
  53. data/lib/caracal/renderers/relationships_renderer.rb +48 -0
  54. data/lib/caracal/renderers/settings_renderer.rb +58 -0
  55. data/lib/caracal/renderers/styles_renderer.rb +163 -0
  56. data/lib/caracal/renderers/xml_renderer.rb +83 -0
  57. data/lib/caracal/version.rb +3 -0
  58. data/lib/tilt/caracal.rb +21 -0
  59. data/spec/lib/caracal/core/file_name_spec.rb +54 -0
  60. data/spec/lib/caracal/core/fonts_spec.rb +119 -0
  61. data/spec/lib/caracal/core/images_spec.rb +25 -0
  62. data/spec/lib/caracal/core/line_breaks_spec.rb +25 -0
  63. data/spec/lib/caracal/core/list_styles_spec.rb +121 -0
  64. data/spec/lib/caracal/core/lists_spec.rb +43 -0
  65. data/spec/lib/caracal/core/models/base_model_spec.rb +38 -0
  66. data/spec/lib/caracal/core/models/border_model_spec.rb +159 -0
  67. data/spec/lib/caracal/core/models/font_model_spec.rb +92 -0
  68. data/spec/lib/caracal/core/models/image_model_spec.rb +192 -0
  69. data/spec/lib/caracal/core/models/line_break_model_spec.rb +21 -0
  70. data/spec/lib/caracal/core/models/link_model_spec.rb +139 -0
  71. data/spec/lib/caracal/core/models/list_item_model_spec.rb +190 -0
  72. data/spec/lib/caracal/core/models/list_model_spec.rb +178 -0
  73. data/spec/lib/caracal/core/models/list_style_model_spec.rb +212 -0
  74. data/spec/lib/caracal/core/models/margin_model_spec.rb +111 -0
  75. data/spec/lib/caracal/core/models/page_break_model_spec.rb +21 -0
  76. data/spec/lib/caracal/core/models/page_number_model_spec.rb +101 -0
  77. data/spec/lib/caracal/core/models/page_size_model_spec.rb +91 -0
  78. data/spec/lib/caracal/core/models/paragraph_model_spec.rb +162 -0
  79. data/spec/lib/caracal/core/models/relationship_model_spec.rb +183 -0
  80. data/spec/lib/caracal/core/models/rule_model_spec.rb +108 -0
  81. data/spec/lib/caracal/core/models/style_model_spec.rb +187 -0
  82. data/spec/lib/caracal/core/models/table_cell_model_spec.rb +221 -0
  83. data/spec/lib/caracal/core/models/table_model_spec.rb +222 -0
  84. data/spec/lib/caracal/core/models/text_model_spec.rb +132 -0
  85. data/spec/lib/caracal/core/page_breaks_spec.rb +25 -0
  86. data/spec/lib/caracal/core/page_numbers_spec.rb +80 -0
  87. data/spec/lib/caracal/core/page_settings_spec.rb +143 -0
  88. data/spec/lib/caracal/core/relationships_spec.rb +119 -0
  89. data/spec/lib/caracal/core/rules_spec.rb +25 -0
  90. data/spec/lib/caracal/core/styles_spec.rb +129 -0
  91. data/spec/lib/caracal/core/tables_spec.rb +25 -0
  92. data/spec/lib/caracal/core/text_spec.rb +52 -0
  93. data/spec/lib/caracal/errors_spec.rb +10 -0
  94. data/spec/spec_helper.rb +8 -0
  95. metadata +245 -0
@@ -0,0 +1,25 @@
1
+ require 'spec_helper'
2
+
3
+ describe Caracal::Core::Rules do
4
+ subject { Caracal::Document.new }
5
+
6
+
7
+ #-------------------------------------------------------------
8
+ # Public Methods
9
+ #-------------------------------------------------------------
10
+
11
+ describe 'public method tests' do
12
+
13
+ # .hr
14
+ describe '.hr' do
15
+ let!(:size) { subject.contents.size }
16
+
17
+ before { subject.hr }
18
+
19
+ it { expect(subject.contents.size).to eq size + 1 }
20
+ it { expect(subject.contents.last).to be_a(Caracal::Core::Models::RuleModel) }
21
+ end
22
+
23
+ end
24
+
25
+ end
@@ -0,0 +1,129 @@
1
+ require 'spec_helper'
2
+
3
+ describe Caracal::Core::Styles do
4
+ let(:s1) { Caracal::Core::Models::StyleModel.new({ id: 'Dummy', name: 'dummy' }) }
5
+ let(:s2) { Caracal::Core::Models::StyleModel.new({ id: 'Fake', name: 'fake' }) }
6
+
7
+ subject { Caracal::Document.new }
8
+
9
+
10
+ #-------------------------------------------------------------
11
+ # Class Methods
12
+ #-------------------------------------------------------------
13
+
14
+ describe 'public class tests' do
15
+
16
+ # .default_styles
17
+ describe '.default_styles' do
18
+ let(:expected) { ['Normal', 'Heading1', 'Heading2', 'Heading3', 'Heading4', 'Heading5', 'Heading6', 'Title', 'Subtitle'].sort }
19
+ let(:actual) { subject.class.default_styles.map { |s| s[:id] }.sort }
20
+
21
+ it {expect(actual).to eq expected }
22
+ end
23
+
24
+ end
25
+
26
+
27
+ #-------------------------------------------------------------
28
+ # Public Methods
29
+ #-------------------------------------------------------------
30
+
31
+ describe 'public method tests' do
32
+
33
+ #============== ATTRIBUTES =====================
34
+
35
+ # .style
36
+ describe '.style' do
37
+ it 'delegates to registration method' do
38
+ expect(subject).to receive(:register_style)
39
+ subject.style({ id: 'heading2', name: 'Heading 2' })
40
+ end
41
+ end
42
+
43
+
44
+ #============== GETTERS ========================
45
+
46
+ # .styles
47
+ describe '.styles' do
48
+ it { expect(subject.styles).to be_a(Array) }
49
+ end
50
+
51
+ # .default_style
52
+ describe '.default_style' do
53
+ before do
54
+ allow(s1).to receive(:style_default).and_return(true)
55
+ allow(subject).to receive(:styles).and_return([s1,s2])
56
+ end
57
+
58
+ it { expect(subject.default_style).to eq s1 }
59
+ end
60
+
61
+ # .find_style
62
+ describe '.find_style' do
63
+ let(:actual) { subject.find_style(key) }
64
+
65
+ before do
66
+ allow(subject).to receive(:styles).and_return([s1])
67
+ end
68
+
69
+ describe 'when key is registered' do
70
+ let(:key) { s1.style_id }
71
+
72
+ it { expect(actual).to eq s1 }
73
+ end
74
+ describe 'when key is not registered' do
75
+ let(:key) { s2.style_id }
76
+
77
+ it { expect(actual).to eq nil }
78
+ end
79
+ end
80
+
81
+
82
+ #============== REGISTRATION ========================
83
+
84
+ # .register_style
85
+ describe '.register_style' do
86
+ let(:default_length) { subject.class.default_styles.size }
87
+
88
+ describe 'when not already registered' do
89
+ before do
90
+ subject.register_style(s1)
91
+ end
92
+
93
+ it { expect(subject.styles.size).to eq default_length + 1 }
94
+ end
95
+ describe 'when already registered' do
96
+ before do
97
+ subject.register_style(s1)
98
+ subject.register_style(s1)
99
+ end
100
+
101
+ it { expect(subject.styles.size).to eq default_length + 1 }
102
+ end
103
+ end
104
+
105
+ # .unregister_style
106
+ describe '.unregister_style' do
107
+ let(:default_length) { subject.class.default_styles.size }
108
+
109
+ describe 'when registered' do
110
+ before do
111
+ subject.register_style(s1)
112
+ subject.unregister_style(s1.style_id)
113
+ end
114
+
115
+ it { expect(subject.styles.size).to eq default_length }
116
+ end
117
+ describe 'when not registered' do
118
+ before do
119
+ subject.register_style(s1)
120
+ subject.unregister_style(s2.style_id)
121
+ end
122
+
123
+ it { expect(subject.styles.size).to eq default_length + 1 }
124
+ end
125
+ end
126
+
127
+ end
128
+
129
+ end
@@ -0,0 +1,25 @@
1
+ require 'spec_helper'
2
+
3
+ describe Caracal::Core::Tables do
4
+ subject { Caracal::Document.new }
5
+
6
+
7
+ #-------------------------------------------------------------
8
+ # Public Methods
9
+ #-------------------------------------------------------------
10
+
11
+ describe 'public method tests' do
12
+
13
+ # .table
14
+ describe '.table' do
15
+ let!(:size) { subject.contents.size }
16
+
17
+ before { subject.table [['Sample Text']] }
18
+
19
+ it { expect(subject.contents.size).to eq size + 1 }
20
+ it { expect(subject.contents.last).to be_a(Caracal::Core::Models::TableModel) }
21
+ end
22
+
23
+ end
24
+
25
+ end
@@ -0,0 +1,52 @@
1
+ require 'spec_helper'
2
+
3
+ describe Caracal::Core::Text do
4
+ subject { Caracal::Document.new }
5
+
6
+
7
+ #-------------------------------------------------------------
8
+ # Public Methods
9
+ #-------------------------------------------------------------
10
+
11
+ describe 'public method tests' do
12
+
13
+ # all commands
14
+ [:p, :h1, :h2, :h3, :h4, :h5, :h6].each do |cmd|
15
+ describe ".#{ cmd }" do
16
+ let!(:size) { subject.contents.size }
17
+
18
+ before { subject.send(cmd, 'Smaple text.') }
19
+
20
+ it { expect(subject.contents.size).to eq size + 1 }
21
+ it { expect(subject.contents.last).to be_a(Caracal::Core::Models::ParagraphModel) }
22
+ end
23
+ end
24
+
25
+ end
26
+
27
+
28
+ #-------------------------------------------------------------
29
+ # Private Methods
30
+ #-------------------------------------------------------------
31
+
32
+ describe 'private method tests' do
33
+
34
+ # .style_id_for_header
35
+ describe '.style_id_for_header' do
36
+ (1..6).each do |i|
37
+ describe "when h#{ i }" do
38
+ let(:actual) { subject.send(:style_id_for_header, "h#{ i }") }
39
+
40
+ it { expect(actual).to eq "Heading#{ i }" }
41
+ end
42
+ end
43
+ describe 'when unknown return normal' do
44
+ let(:actual) { subject.send(:style_id_for_header, 'Dummy') }
45
+
46
+ it { expect(actual).to eq 'Normal' }
47
+ end
48
+ end
49
+
50
+ end
51
+
52
+ end
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ describe Caracal::Errors do
4
+
5
+ # existence checks
6
+ it { expect(Caracal::Errors::InvalidModelError).not_to be_nil }
7
+ it { expect(Caracal::Errors::NoDefaultStyleError).not_to be_nil }
8
+ it { expect(Caracal::Errors::NoDocumentError).not_to be_nil }
9
+
10
+ end
@@ -0,0 +1,8 @@
1
+ require 'caracal'
2
+ require 'rspec'
3
+
4
+ RSpec.configure do |config|
5
+ config.mock_with :rspec
6
+
7
+ config.order = 'random'
8
+ end
metadata ADDED
@@ -0,0 +1,245 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: caracal
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Trade Infomatics
8
+ - John Dugan
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-08-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: nokogiri
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.6'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '1.6'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rubyzip
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '1.1'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.1'
42
+ - !ruby/object:Gem::Dependency
43
+ name: tilt
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.4'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '1.4'
56
+ - !ruby/object:Gem::Dependency
57
+ name: bundler
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '1.6'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '1.6'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rspec
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '3.0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '3.0'
84
+ description: " Caracal is a pure Ruby MSWord generation library that produces professional
85
+ quality Word documents using a simple, HTML-style DSL. "
86
+ email:
87
+ - jpdugan@gmail.com
88
+ executables: []
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".gitignore"
93
+ - Gemfile
94
+ - LICENSE.txt
95
+ - README.md
96
+ - Rakefile
97
+ - caracal.gemspec
98
+ - lib/caracal.rb
99
+ - lib/caracal/core/file_name.rb
100
+ - lib/caracal/core/fonts.rb
101
+ - lib/caracal/core/images.rb
102
+ - lib/caracal/core/line_breaks.rb
103
+ - lib/caracal/core/list_styles.rb
104
+ - lib/caracal/core/lists.rb
105
+ - lib/caracal/core/models/base_model.rb
106
+ - lib/caracal/core/models/border_model.rb
107
+ - lib/caracal/core/models/font_model.rb
108
+ - lib/caracal/core/models/image_model.rb
109
+ - lib/caracal/core/models/line_break_model.rb
110
+ - lib/caracal/core/models/link_model.rb
111
+ - lib/caracal/core/models/list_item_model.rb
112
+ - lib/caracal/core/models/list_model.rb
113
+ - lib/caracal/core/models/list_style_model.rb
114
+ - lib/caracal/core/models/margin_model.rb
115
+ - lib/caracal/core/models/page_break_model.rb
116
+ - lib/caracal/core/models/page_number_model.rb
117
+ - lib/caracal/core/models/page_size_model.rb
118
+ - lib/caracal/core/models/paragraph_model.rb
119
+ - lib/caracal/core/models/relationship_model.rb
120
+ - lib/caracal/core/models/rule_model.rb
121
+ - lib/caracal/core/models/style_model.rb
122
+ - lib/caracal/core/models/table_cell_model.rb
123
+ - lib/caracal/core/models/table_model.rb
124
+ - lib/caracal/core/models/text_model.rb
125
+ - lib/caracal/core/page_breaks.rb
126
+ - lib/caracal/core/page_numbers.rb
127
+ - lib/caracal/core/page_settings.rb
128
+ - lib/caracal/core/relationships.rb
129
+ - lib/caracal/core/rules.rb
130
+ - lib/caracal/core/styles.rb
131
+ - lib/caracal/core/tables.rb
132
+ - lib/caracal/core/text.rb
133
+ - lib/caracal/document.rb
134
+ - lib/caracal/errors.rb
135
+ - lib/caracal/renderers/app_renderer.rb
136
+ - lib/caracal/renderers/content_types_renderer.rb
137
+ - lib/caracal/renderers/core_renderer.rb
138
+ - lib/caracal/renderers/document_renderer.rb
139
+ - lib/caracal/renderers/fonts_renderer.rb
140
+ - lib/caracal/renderers/footer_renderer.rb
141
+ - lib/caracal/renderers/numbering_renderer.rb
142
+ - lib/caracal/renderers/package_relationships_renderer.rb
143
+ - lib/caracal/renderers/relationships_renderer.rb
144
+ - lib/caracal/renderers/settings_renderer.rb
145
+ - lib/caracal/renderers/styles_renderer.rb
146
+ - lib/caracal/renderers/xml_renderer.rb
147
+ - lib/caracal/version.rb
148
+ - lib/tilt/caracal.rb
149
+ - spec/lib/caracal/core/file_name_spec.rb
150
+ - spec/lib/caracal/core/fonts_spec.rb
151
+ - spec/lib/caracal/core/images_spec.rb
152
+ - spec/lib/caracal/core/line_breaks_spec.rb
153
+ - spec/lib/caracal/core/list_styles_spec.rb
154
+ - spec/lib/caracal/core/lists_spec.rb
155
+ - spec/lib/caracal/core/models/base_model_spec.rb
156
+ - spec/lib/caracal/core/models/border_model_spec.rb
157
+ - spec/lib/caracal/core/models/font_model_spec.rb
158
+ - spec/lib/caracal/core/models/image_model_spec.rb
159
+ - spec/lib/caracal/core/models/line_break_model_spec.rb
160
+ - spec/lib/caracal/core/models/link_model_spec.rb
161
+ - spec/lib/caracal/core/models/list_item_model_spec.rb
162
+ - spec/lib/caracal/core/models/list_model_spec.rb
163
+ - spec/lib/caracal/core/models/list_style_model_spec.rb
164
+ - spec/lib/caracal/core/models/margin_model_spec.rb
165
+ - spec/lib/caracal/core/models/page_break_model_spec.rb
166
+ - spec/lib/caracal/core/models/page_number_model_spec.rb
167
+ - spec/lib/caracal/core/models/page_size_model_spec.rb
168
+ - spec/lib/caracal/core/models/paragraph_model_spec.rb
169
+ - spec/lib/caracal/core/models/relationship_model_spec.rb
170
+ - spec/lib/caracal/core/models/rule_model_spec.rb
171
+ - spec/lib/caracal/core/models/style_model_spec.rb
172
+ - spec/lib/caracal/core/models/table_cell_model_spec.rb
173
+ - spec/lib/caracal/core/models/table_model_spec.rb
174
+ - spec/lib/caracal/core/models/text_model_spec.rb
175
+ - spec/lib/caracal/core/page_breaks_spec.rb
176
+ - spec/lib/caracal/core/page_numbers_spec.rb
177
+ - spec/lib/caracal/core/page_settings_spec.rb
178
+ - spec/lib/caracal/core/relationships_spec.rb
179
+ - spec/lib/caracal/core/rules_spec.rb
180
+ - spec/lib/caracal/core/styles_spec.rb
181
+ - spec/lib/caracal/core/tables_spec.rb
182
+ - spec/lib/caracal/core/text_spec.rb
183
+ - spec/lib/caracal/errors_spec.rb
184
+ - spec/spec_helper.rb
185
+ homepage: https://github.com/trade-informatics/caracal
186
+ licenses:
187
+ - MIT
188
+ metadata: {}
189
+ post_install_message:
190
+ rdoc_options: []
191
+ require_paths:
192
+ - lib
193
+ required_ruby_version: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ required_rubygems_version: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: '0'
203
+ requirements: []
204
+ rubyforge_project:
205
+ rubygems_version: 2.2.2
206
+ signing_key:
207
+ specification_version: 4
208
+ summary: Fast, professional MSWord writer for Ruby.
209
+ test_files:
210
+ - spec/lib/caracal/core/file_name_spec.rb
211
+ - spec/lib/caracal/core/fonts_spec.rb
212
+ - spec/lib/caracal/core/images_spec.rb
213
+ - spec/lib/caracal/core/line_breaks_spec.rb
214
+ - spec/lib/caracal/core/list_styles_spec.rb
215
+ - spec/lib/caracal/core/lists_spec.rb
216
+ - spec/lib/caracal/core/models/base_model_spec.rb
217
+ - spec/lib/caracal/core/models/border_model_spec.rb
218
+ - spec/lib/caracal/core/models/font_model_spec.rb
219
+ - spec/lib/caracal/core/models/image_model_spec.rb
220
+ - spec/lib/caracal/core/models/line_break_model_spec.rb
221
+ - spec/lib/caracal/core/models/link_model_spec.rb
222
+ - spec/lib/caracal/core/models/list_item_model_spec.rb
223
+ - spec/lib/caracal/core/models/list_model_spec.rb
224
+ - spec/lib/caracal/core/models/list_style_model_spec.rb
225
+ - spec/lib/caracal/core/models/margin_model_spec.rb
226
+ - spec/lib/caracal/core/models/page_break_model_spec.rb
227
+ - spec/lib/caracal/core/models/page_number_model_spec.rb
228
+ - spec/lib/caracal/core/models/page_size_model_spec.rb
229
+ - spec/lib/caracal/core/models/paragraph_model_spec.rb
230
+ - spec/lib/caracal/core/models/relationship_model_spec.rb
231
+ - spec/lib/caracal/core/models/rule_model_spec.rb
232
+ - spec/lib/caracal/core/models/style_model_spec.rb
233
+ - spec/lib/caracal/core/models/table_cell_model_spec.rb
234
+ - spec/lib/caracal/core/models/table_model_spec.rb
235
+ - spec/lib/caracal/core/models/text_model_spec.rb
236
+ - spec/lib/caracal/core/page_breaks_spec.rb
237
+ - spec/lib/caracal/core/page_numbers_spec.rb
238
+ - spec/lib/caracal/core/page_settings_spec.rb
239
+ - spec/lib/caracal/core/relationships_spec.rb
240
+ - spec/lib/caracal/core/rules_spec.rb
241
+ - spec/lib/caracal/core/styles_spec.rb
242
+ - spec/lib/caracal/core/tables_spec.rb
243
+ - spec/lib/caracal/core/text_spec.rb
244
+ - spec/lib/caracal/errors_spec.rb
245
+ - spec/spec_helper.rb