blocks 2.8.0 → 3.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +5 -13
  2. data/.gitignore +4 -4
  3. data/.travis.yml +51 -0
  4. data/Gemfile +15 -2
  5. data/Guardfile +15 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +41 -0
  8. data/Rakefile +3 -7
  9. data/bin/console +14 -0
  10. data/bin/setup +8 -0
  11. data/blocks.gemspec +18 -11
  12. data/gemfiles/Gemfile.rails-3-0-stable +13 -0
  13. data/gemfiles/Gemfile.rails-3-1-stable +13 -0
  14. data/gemfiles/Gemfile.rails-3-2-stable +13 -0
  15. data/gemfiles/Gemfile.rails-4-0-stable +12 -0
  16. data/gemfiles/Gemfile.rails-4-1-stable +12 -0
  17. data/gemfiles/Gemfile.rails-4-2-stable +12 -0
  18. data/gemfiles/Gemfile.rails-5-0-stable +10 -0
  19. data/gemfiles/Gemfile.rails-5-1-stable +10 -0
  20. data/lib/blocks.rb +41 -20
  21. data/lib/blocks/action_view_extensions/view_extensions.rb +26 -0
  22. data/lib/blocks/builders/block_definition.rb +71 -0
  23. data/lib/blocks/builders/builder.rb +159 -0
  24. data/lib/blocks/builders/hook_definition.rb +25 -0
  25. data/lib/blocks/experimental/builder_permissions.rb +52 -0
  26. data/lib/blocks/experimental/invalid_permissions_handler.rb +27 -0
  27. data/lib/blocks/renderers/abstract_renderer.rb +69 -0
  28. data/lib/blocks/renderers/adjacent_blocks_renderer.rb +15 -0
  29. data/lib/blocks/renderers/block_placeholder.rb +13 -0
  30. data/lib/blocks/renderers/block_renderer.rb +13 -0
  31. data/lib/blocks/renderers/block_with_hooks_renderer.rb +35 -0
  32. data/lib/blocks/renderers/collection_renderer.rb +17 -0
  33. data/lib/blocks/renderers/nesting_blocks_renderer.rb +24 -0
  34. data/lib/blocks/renderers/partial_renderer.rb +18 -0
  35. data/lib/blocks/renderers/renderer.rb +43 -0
  36. data/lib/blocks/renderers/runtime_context.rb +193 -0
  37. data/lib/blocks/renderers/wrapper_renderer.rb +19 -0
  38. data/lib/blocks/utilities/configurator.rb +26 -0
  39. data/lib/blocks/utilities/dynamic_configuration.rb +71 -0
  40. data/lib/blocks/utilities/hash_with_caller.rb +73 -0
  41. data/lib/blocks/utilities/hash_with_render_strategy.rb +47 -0
  42. data/lib/blocks/utilities/options_set.rb +95 -0
  43. data/lib/blocks/version.rb +1 -1
  44. metadata +70 -80
  45. data/.ruby-gemset +0 -1
  46. data/.ruby-version +0 -1
  47. data/README.rdoc +0 -99
  48. data/blocks_render_order.graffle +0 -1397
  49. data/blocks_render_order.png +0 -0
  50. data/lib/blocks/base.rb +0 -580
  51. data/lib/blocks/container.rb +0 -5
  52. data/lib/blocks/controller_additions.rb +0 -9
  53. data/lib/blocks/view_additions.rb +0 -10
  54. data/rails/init.rb +0 -1
  55. data/spec/blocks/base_spec.rb +0 -641
  56. data/spec/blocks/blocks_spec.rb +0 -12
  57. data/spec/blocks/view_additions_spec.rb +0 -22
  58. data/spec/spec_helper.rb +0 -22
data/.ruby-gemset DELETED
@@ -1 +0,0 @@
1
- blocks
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 1.9.3-p484
data/README.rdoc DELETED
@@ -1,99 +0,0 @@
1
- = Blocks
2
-
3
- How do you render your blocks of code?
4
-
5
- With blocks, you can:
6
- 1. Easily define named blocks of view-level code, capable of taking parameters as arguments
7
- 2. Render a defined block of view-level code and pass in an arbitrary number of parameters
8
- 3. Provide a default block of code to render if a named block is not found
9
- 4. Specify view-level code to render before, after, or around a particular block of code
10
- 5. Render a collection of elements using a defined block
11
-
12
- == Author's Note
13
- To fully appreciate how powerful Blocks can be, i highly recommend checking out the
14
- project {TableFor}[https://github.com/hunterae/table-for] first.
15
- This is a gem that was built using Blocks and {WithTemplate (an extension of Blocks)}[https://github.com/hunterae/with_template]
16
- with very few lines of code, and illustrates the power of Blocks and WithTemplate
17
- and how they can be can be used to build extremely useful reusable UI components.
18
-
19
- == Installation
20
-
21
- In <b>Rails 3</b> or <b>Rails 4</b>, add this to your Gemfile.
22
-
23
- gem "blocks"
24
-
25
- == Simple Case
26
- <% blocks.define :sample do |a, b| %>
27
- This is a snippet of code with parameters <%= a %> and <%= b %> passed in<br>
28
- <% end %>
29
-
30
- <% blocks.before :sample do %>
31
- This is a snippet of code that will render before the block named :sample<br>
32
- <% end %>
33
-
34
- <% blocks.after :sample do %>
35
- This is a snippet of code that will render after the block named :sample<br>
36
- <% end %>
37
-
38
- <%# This is when the code gets rendered %>
39
- <%= blocks.render :sample, "1", 2 %>
40
-
41
- <%# Provide a wrapper element to wrap around the rendered block
42
- <%= blocks.render :sample, "1", 2, :wrap_with => {:tag => :div, :id => "sample" } %>
43
-
44
- <%# Rendering a block that doesn't exist will simply render nothing %>
45
- <%= blocks.render :sample2 %>
46
-
47
- <%# Rendering a block that doesn't exist with a default definition will simply use the default definition %>
48
- <%= blocks.render :sample3 do %>
49
- This is a snippet that will get rendered if a block named :sample3 is not defined anywhere
50
- <% end %>
51
-
52
- == A More Complicated Case
53
- In this example, @brands will represent a collection of brands fetched from the database
54
- <% blocks.define :brand do |brand| %>
55
- Brand <%= brand.name %>
56
- <% end %>
57
-
58
- <%= blocks.render :brand,
59
- :collection => @brands,
60
- :wrap_with => { :tag => :ul, :id => "brands", :style => "list-style-type:circle" },
61
- :wrap_each => { :tag => :li,
62
- :id => Proc.new {|brand| "brand#{brand.id}"},
63
- :class => Proc.new { cycle("even", "odd") },
64
- :style => "padding-left: 20px;" }%>
65
-
66
- == A Practical example
67
- Surround your javascript includes and css includes in your
68
- template with a named block, and from the view, the included order can easily be changed.
69
- Note: I use this approach in every single project I setup.
70
-
71
- In layout, such as application.html.erb:
72
- <!DOCTYPE html>
73
- <head>
74
- ...
75
- <%= blocks.render :stylesheets do %>
76
- <%= stylesheet_link_tag "application", :media => "all" %>
77
- <% end %>
78
- </head>
79
- <body>
80
- ...
81
- <%= blocks.render :javascripts do %>
82
- <%= javascript_include_tag "application" %>
83
- <% end %>
84
- </body>
85
- </html>
86
-
87
- In a view, stylesheets and javascript files can easily be prepended, appended, or replace the existing set of
88
- includes:
89
- <% blocks.before :stylesheets do %>
90
- <%= stylesheet_link_tag "SOME_STYLESHEET_TO_INCLUDE_FIRST", :media => "all" %>
91
- <% end %>
92
- <% blocks.after :stylesheets do %>
93
- <%= stylesheet_link_tag "SOME_STYLESHEET_TO_INCLUDE_LAST", :media => "all" %>
94
- <% end %>
95
-
96
- <%# Flat out replaces the javascript includes %>
97
- <% blocks.define :javascripts do %>
98
- <%= stylesheet_link_tag "MY_JAVASCRIPT_FILES_TO_INCLUDE", :media => "all" %>
99
- <% end %>
@@ -1,1397 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>ActiveLayerIndex</key>
6
- <integer>0</integer>
7
- <key>ApplicationVersion</key>
8
- <array>
9
- <string>com.omnigroup.OmniGrafflePro</string>
10
- <string>138.33.0.157554</string>
11
- </array>
12
- <key>AutoAdjust</key>
13
- <true/>
14
- <key>BackgroundGraphic</key>
15
- <dict>
16
- <key>Bounds</key>
17
- <string>{{0, 0}, {576, 1466}}</string>
18
- <key>Class</key>
19
- <string>SolidGraphic</string>
20
- <key>FontInfo</key>
21
- <dict>
22
- <key>Font</key>
23
- <string>Helvetica</string>
24
- <key>Size</key>
25
- <real>12</real>
26
- </dict>
27
- <key>ID</key>
28
- <integer>2</integer>
29
- <key>Style</key>
30
- <dict>
31
- <key>shadow</key>
32
- <dict>
33
- <key>Draws</key>
34
- <string>NO</string>
35
- </dict>
36
- <key>stroke</key>
37
- <dict>
38
- <key>Draws</key>
39
- <string>NO</string>
40
- </dict>
41
- </dict>
42
- </dict>
43
- <key>CanvasOrigin</key>
44
- <string>{0, 0}</string>
45
- <key>ColumnAlign</key>
46
- <integer>1</integer>
47
- <key>ColumnSpacing</key>
48
- <real>36</real>
49
- <key>CreationDate</key>
50
- <string>2011-05-03 13:59:36 +0000</string>
51
- <key>Creator</key>
52
- <string>Andrew Hunter</string>
53
- <key>DisplayScale</key>
54
- <string>1 0/72 in = 1.0000 in</string>
55
- <key>GraphDocumentVersion</key>
56
- <integer>8</integer>
57
- <key>GraphicsList</key>
58
- <array>
59
- <dict>
60
- <key>Bounds</key>
61
- <string>{{345.65201, 544.02832}, {222.07201, 112}}</string>
62
- <key>Class</key>
63
- <string>ShapedGraphic</string>
64
- <key>FitText</key>
65
- <string>Vertical</string>
66
- <key>Flow</key>
67
- <string>Resize</string>
68
- <key>ID</key>
69
- <integer>48</integer>
70
- <key>Shape</key>
71
- <string>Rectangle</string>
72
- <key>Style</key>
73
- <dict>
74
- <key>fill</key>
75
- <dict>
76
- <key>Draws</key>
77
- <string>NO</string>
78
- </dict>
79
- <key>shadow</key>
80
- <dict>
81
- <key>Draws</key>
82
- <string>NO</string>
83
- </dict>
84
- <key>stroke</key>
85
- <dict>
86
- <key>Draws</key>
87
- <string>NO</string>
88
- </dict>
89
- </dict>
90
- <key>Text</key>
91
- <dict>
92
- <key>Align</key>
93
- <integer>0</integer>
94
- <key>Pad</key>
95
- <integer>0</integer>
96
- <key>Text</key>
97
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
98
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
99
- {\colortbl;\red255\green255\blue255;}
100
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
101
-
102
- \f0\fs24 \cf0 Use the default implementation for the block (if) provided to the "blocks.use :some_block" method call.\
103
- For example:\
104
- &lt;%= blocks.use :some_block do %&gt;\
105
- This is the default implementation for\
106
- :some_block. \
107
- &lt;% end %&gt;}</string>
108
- <key>VerticalPad</key>
109
- <integer>0</integer>
110
- </dict>
111
- </dict>
112
- <dict>
113
- <key>Bounds</key>
114
- <string>{{345.65201, 421.27899}, {222.07201, 98}}</string>
115
- <key>Class</key>
116
- <string>ShapedGraphic</string>
117
- <key>FitText</key>
118
- <string>Vertical</string>
119
- <key>Flow</key>
120
- <string>Resize</string>
121
- <key>ID</key>
122
- <integer>47</integer>
123
- <key>Shape</key>
124
- <string>Rectangle</string>
125
- <key>Style</key>
126
- <dict>
127
- <key>fill</key>
128
- <dict>
129
- <key>Draws</key>
130
- <string>NO</string>
131
- </dict>
132
- <key>shadow</key>
133
- <dict>
134
- <key>Draws</key>
135
- <string>NO</string>
136
- </dict>
137
- <key>stroke</key>
138
- <dict>
139
- <key>Draws</key>
140
- <string>NO</string>
141
- </dict>
142
- </dict>
143
- <key>Text</key>
144
- <dict>
145
- <key>Align</key>
146
- <integer>0</integer>
147
- <key>Pad</key>
148
- <integer>0</integer>
149
- <key>Text</key>
150
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
151
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
152
- {\colortbl;\red255\green255\blue255;}
153
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
154
-
155
- \f0\fs24 \cf0 Look for a partial within the global Block's view directory (by default: /app/views/blocks)\
156
- In our example, Blocks will attempt to render the partial: \
157
- /app/views/blocks/_some_block.html.erb (or .haml)}</string>
158
- <key>VerticalPad</key>
159
- <integer>0</integer>
160
- </dict>
161
- </dict>
162
- <dict>
163
- <key>Bounds</key>
164
- <string>{{345.65201, 285.5}, {222.07201, 98}}</string>
165
- <key>Class</key>
166
- <string>ShapedGraphic</string>
167
- <key>FitText</key>
168
- <string>Vertical</string>
169
- <key>Flow</key>
170
- <string>Resize</string>
171
- <key>ID</key>
172
- <integer>46</integer>
173
- <key>Shape</key>
174
- <string>Rectangle</string>
175
- <key>Style</key>
176
- <dict>
177
- <key>fill</key>
178
- <dict>
179
- <key>Draws</key>
180
- <string>NO</string>
181
- </dict>
182
- <key>shadow</key>
183
- <dict>
184
- <key>Draws</key>
185
- <string>NO</string>
186
- </dict>
187
- <key>stroke</key>
188
- <dict>
189
- <key>Draws</key>
190
- <string>NO</string>
191
- </dict>
192
- </dict>
193
- <key>Text</key>
194
- <dict>
195
- <key>Align</key>
196
- <integer>0</integer>
197
- <key>Pad</key>
198
- <integer>0</integer>
199
- <key>Text</key>
200
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
201
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
202
- {\colortbl;\red255\green255\blue255;}
203
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
204
-
205
- \f0\fs24 \cf0 Look for a partial within the currently executing controller's view directory.\
206
- For example, if the current controller is the HomeController, Blocks will attempt to render the partial: \
207
- /app/views/home/_some_block.html.erb (or .haml)}</string>
208
- <key>VerticalPad</key>
209
- <integer>0</integer>
210
- </dict>
211
- </dict>
212
- <dict>
213
- <key>Bounds</key>
214
- <string>{{345.65201, 157.97099}, {222.07201, 98}}</string>
215
- <key>Class</key>
216
- <string>ShapedGraphic</string>
217
- <key>FitText</key>
218
- <string>Vertical</string>
219
- <key>Flow</key>
220
- <string>Resize</string>
221
- <key>ID</key>
222
- <integer>44</integer>
223
- <key>Shape</key>
224
- <string>Rectangle</string>
225
- <key>Style</key>
226
- <dict>
227
- <key>fill</key>
228
- <dict>
229
- <key>Draws</key>
230
- <string>NO</string>
231
- </dict>
232
- <key>shadow</key>
233
- <dict>
234
- <key>Draws</key>
235
- <string>NO</string>
236
- </dict>
237
- <key>stroke</key>
238
- <dict>
239
- <key>Draws</key>
240
- <string>NO</string>
241
- </dict>
242
- </dict>
243
- <key>Text</key>
244
- <dict>
245
- <key>Align</key>
246
- <integer>0</integer>
247
- <key>Pad</key>
248
- <integer>0</integer>
249
- <key>Text</key>
250
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
251
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
252
- {\colortbl;\red255\green255\blue255;}
253
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
254
-
255
- \f0\fs24 \cf0 Look for a block that has been defined inline using the "blocks.define :some_block" method.\
256
- For example:\
257
- &lt;%= blocks.define :some_block do %&gt;\
258
- Definition for :some_block\
259
- &lt;% end %&gt;}</string>
260
- <key>VerticalPad</key>
261
- <integer>0</integer>
262
- </dict>
263
- </dict>
264
- <dict>
265
- <key>Bounds</key>
266
- <string>{{178.759, 657.24597}, {368.91299, 84}}</string>
267
- <key>Class</key>
268
- <string>ShapedGraphic</string>
269
- <key>FitText</key>
270
- <string>Vertical</string>
271
- <key>Flow</key>
272
- <string>Resize</string>
273
- <key>ID</key>
274
- <integer>42</integer>
275
- <key>Shape</key>
276
- <string>Rectangle</string>
277
- <key>Style</key>
278
- <dict>
279
- <key>fill</key>
280
- <dict>
281
- <key>Draws</key>
282
- <string>NO</string>
283
- </dict>
284
- <key>shadow</key>
285
- <dict>
286
- <key>Draws</key>
287
- <string>NO</string>
288
- </dict>
289
- <key>stroke</key>
290
- <dict>
291
- <key>Draws</key>
292
- <string>NO</string>
293
- </dict>
294
- </dict>
295
- <key>Text</key>
296
- <dict>
297
- <key>Align</key>
298
- <integer>0</integer>
299
- <key>Pad</key>
300
- <integer>0</integer>
301
- <key>Text</key>
302
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
303
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
304
- {\colortbl;\red255\green255\blue255;}
305
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
306
-
307
- \f0\fs24 \cf0 Render all blocks that have been defined using the "blocks.after :some_block" or "blocks.append :some_block" method.\
308
- For example:\
309
- &lt;%= blocks.after :some_block do %&gt;\
310
- Code that gets executed after the block :some_block\
311
- &lt;% end %&gt;}</string>
312
- <key>VerticalPad</key>
313
- <integer>0</integer>
314
- </dict>
315
- </dict>
316
- <dict>
317
- <key>Bounds</key>
318
- <string>{{213.76801, 568.75299}, {115.217, 63.043499}}</string>
319
- <key>Class</key>
320
- <string>ShapedGraphic</string>
321
- <key>ID</key>
322
- <integer>37</integer>
323
- <key>Shape</key>
324
- <string>Rectangle</string>
325
- <key>Text</key>
326
- <dict>
327
- <key>Text</key>
328
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
329
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
330
- {\colortbl;\red255\green255\blue255;}
331
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
332
-
333
- \f0\fs24 \cf0 2d. Try and use the default implementation of the block}</string>
334
- </dict>
335
- </dict>
336
- <dict>
337
- <key>Bounds</key>
338
- <string>{{39.913601, 321.573}, {115.217, 44.927502}}</string>
339
- <key>Class</key>
340
- <string>ShapedGraphic</string>
341
- <key>ID</key>
342
- <integer>5</integer>
343
- <key>Shape</key>
344
- <string>Rectangle</string>
345
- <key>Text</key>
346
- <dict>
347
- <key>Text</key>
348
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
349
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
350
- {\colortbl;\red255\green255\blue255;}
351
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
352
-
353
- \f0\fs24 \cf0 2. Render the block :some_block}</string>
354
- </dict>
355
- </dict>
356
- <dict>
357
- <key>Bounds</key>
358
- <string>{{59.670647, 460.12674}, {243.41161, 15}}</string>
359
- <key>Class</key>
360
- <string>ShapedGraphic</string>
361
- <key>Head</key>
362
- <dict>
363
- <key>ID</key>
364
- <integer>5</integer>
365
- </dict>
366
- <key>ID</key>
367
- <integer>41</integer>
368
- <key>Rotation</key>
369
- <real>235.84356689453125</real>
370
- <key>Shape</key>
371
- <string>AdjustableArrow</string>
372
- <key>ShapeData</key>
373
- <dict>
374
- <key>ratio</key>
375
- <real>0.32189163565635681</real>
376
- <key>width</key>
377
- <real>14.973806381225586</real>
378
- </dict>
379
- <key>Style</key>
380
- <dict>
381
- <key>fill</key>
382
- <dict>
383
- <key>Color</key>
384
- <dict>
385
- <key>a</key>
386
- <string>0.1</string>
387
- <key>b</key>
388
- <string>0</string>
389
- <key>g</key>
390
- <string>0</string>
391
- <key>r</key>
392
- <string>0</string>
393
- </dict>
394
- <key>MiddleFraction</key>
395
- <real>0.70634919404983521</real>
396
- </dict>
397
- <key>shadow</key>
398
- <dict>
399
- <key>Color</key>
400
- <dict>
401
- <key>a</key>
402
- <string>0.4</string>
403
- <key>b</key>
404
- <string>0</string>
405
- <key>g</key>
406
- <string>0</string>
407
- <key>r</key>
408
- <string>0</string>
409
- </dict>
410
- <key>Fuzziness</key>
411
- <real>0.0</real>
412
- <key>ShadowVector</key>
413
- <string>{0, 2}</string>
414
- </dict>
415
- <key>stroke</key>
416
- <dict>
417
- <key>Color</key>
418
- <dict>
419
- <key>a</key>
420
- <string>0.75</string>
421
- <key>b</key>
422
- <string>0</string>
423
- <key>g</key>
424
- <string>0</string>
425
- <key>r</key>
426
- <string>0</string>
427
- </dict>
428
- </dict>
429
- </dict>
430
- <key>Tail</key>
431
- <dict>
432
- <key>ID</key>
433
- <integer>37</integer>
434
- </dict>
435
- <key>TextRelativeArea</key>
436
- <string>{{0.125, 0.25}, {0.75, 0.5}}</string>
437
- <key>isConnectedShape</key>
438
- <true/>
439
- </dict>
440
- <dict>
441
- <key>Bounds</key>
442
- <string>{{234.90024, 524.27673}, {72.952515, 15}}</string>
443
- <key>Class</key>
444
- <string>ShapedGraphic</string>
445
- <key>Head</key>
446
- <dict>
447
- <key>ID</key>
448
- <integer>37</integer>
449
- </dict>
450
- <key>ID</key>
451
- <integer>40</integer>
452
- <key>Rotation</key>
453
- <real>90</real>
454
- <key>Shape</key>
455
- <string>AdjustableArrow</string>
456
- <key>ShapeData</key>
457
- <dict>
458
- <key>ratio</key>
459
- <real>0.32189163565635681</real>
460
- <key>width</key>
461
- <real>14.973806381225586</real>
462
- </dict>
463
- <key>Style</key>
464
- <dict>
465
- <key>fill</key>
466
- <dict>
467
- <key>Color</key>
468
- <dict>
469
- <key>a</key>
470
- <string>0.1</string>
471
- <key>b</key>
472
- <string>0</string>
473
- <key>g</key>
474
- <string>0</string>
475
- <key>r</key>
476
- <string>0</string>
477
- </dict>
478
- <key>MiddleFraction</key>
479
- <real>0.70634919404983521</real>
480
- </dict>
481
- <key>shadow</key>
482
- <dict>
483
- <key>Color</key>
484
- <dict>
485
- <key>a</key>
486
- <string>0.4</string>
487
- <key>b</key>
488
- <string>0</string>
489
- <key>g</key>
490
- <string>0</string>
491
- <key>r</key>
492
- <string>0</string>
493
- </dict>
494
- <key>Fuzziness</key>
495
- <real>0.0</real>
496
- <key>ShadowVector</key>
497
- <string>{0, 2}</string>
498
- </dict>
499
- <key>stroke</key>
500
- <dict>
501
- <key>Color</key>
502
- <dict>
503
- <key>a</key>
504
- <string>0.75</string>
505
- <key>b</key>
506
- <string>0</string>
507
- <key>g</key>
508
- <string>0</string>
509
- <key>r</key>
510
- <string>0</string>
511
- </dict>
512
- </dict>
513
- </dict>
514
- <key>Tail</key>
515
- <dict>
516
- <key>ID</key>
517
- <integer>36</integer>
518
- </dict>
519
- <key>TextRelativeArea</key>
520
- <string>{{0.125, 0.25}, {0.75, 0.5}}</string>
521
- <key>isConnectedShape</key>
522
- <true/>
523
- </dict>
524
- <dict>
525
- <key>Bounds</key>
526
- <string>{{242.50877, 394.88928}, {57.735443, 15}}</string>
527
- <key>Class</key>
528
- <string>ShapedGraphic</string>
529
- <key>Head</key>
530
- <dict>
531
- <key>ID</key>
532
- <integer>36</integer>
533
- </dict>
534
- <key>ID</key>
535
- <integer>39</integer>
536
- <key>Rotation</key>
537
- <real>90</real>
538
- <key>Shape</key>
539
- <string>AdjustableArrow</string>
540
- <key>ShapeData</key>
541
- <dict>
542
- <key>ratio</key>
543
- <real>0.32189163565635681</real>
544
- <key>width</key>
545
- <real>14.973806381225586</real>
546
- </dict>
547
- <key>Style</key>
548
- <dict>
549
- <key>fill</key>
550
- <dict>
551
- <key>Color</key>
552
- <dict>
553
- <key>a</key>
554
- <string>0.1</string>
555
- <key>b</key>
556
- <string>0</string>
557
- <key>g</key>
558
- <string>0</string>
559
- <key>r</key>
560
- <string>0</string>
561
- </dict>
562
- <key>MiddleFraction</key>
563
- <real>0.70634919404983521</real>
564
- </dict>
565
- <key>shadow</key>
566
- <dict>
567
- <key>Color</key>
568
- <dict>
569
- <key>a</key>
570
- <string>0.4</string>
571
- <key>b</key>
572
- <string>0</string>
573
- <key>g</key>
574
- <string>0</string>
575
- <key>r</key>
576
- <string>0</string>
577
- </dict>
578
- <key>Fuzziness</key>
579
- <real>0.0</real>
580
- <key>ShadowVector</key>
581
- <string>{0, 2}</string>
582
- </dict>
583
- <key>stroke</key>
584
- <dict>
585
- <key>Color</key>
586
- <dict>
587
- <key>a</key>
588
- <string>0.75</string>
589
- <key>b</key>
590
- <string>0</string>
591
- <key>g</key>
592
- <string>0</string>
593
- <key>r</key>
594
- <string>0</string>
595
- </dict>
596
- </dict>
597
- </dict>
598
- <key>Tail</key>
599
- <dict>
600
- <key>ID</key>
601
- <integer>35</integer>
602
- </dict>
603
- <key>TextRelativeArea</key>
604
- <string>{{0.125, 0.25}, {0.75, 0.5}}</string>
605
- <key>isConnectedShape</key>
606
- <true/>
607
- </dict>
608
- <dict>
609
- <key>Bounds</key>
610
- <string>{{236.13374, 266.73523}, {70.485504, 15}}</string>
611
- <key>Class</key>
612
- <string>ShapedGraphic</string>
613
- <key>Head</key>
614
- <dict>
615
- <key>ID</key>
616
- <integer>35</integer>
617
- </dict>
618
- <key>ID</key>
619
- <integer>38</integer>
620
- <key>Rotation</key>
621
- <real>90</real>
622
- <key>Shape</key>
623
- <string>AdjustableArrow</string>
624
- <key>ShapeData</key>
625
- <dict>
626
- <key>ratio</key>
627
- <real>0.32189163565635681</real>
628
- <key>width</key>
629
- <real>14.973806381225586</real>
630
- </dict>
631
- <key>Style</key>
632
- <dict>
633
- <key>fill</key>
634
- <dict>
635
- <key>Color</key>
636
- <dict>
637
- <key>a</key>
638
- <string>0.1</string>
639
- <key>b</key>
640
- <string>0</string>
641
- <key>g</key>
642
- <string>0</string>
643
- <key>r</key>
644
- <string>0</string>
645
- </dict>
646
- <key>MiddleFraction</key>
647
- <real>0.70634919404983521</real>
648
- </dict>
649
- <key>shadow</key>
650
- <dict>
651
- <key>Color</key>
652
- <dict>
653
- <key>a</key>
654
- <string>0.4</string>
655
- <key>b</key>
656
- <string>0</string>
657
- <key>g</key>
658
- <string>0</string>
659
- <key>r</key>
660
- <string>0</string>
661
- </dict>
662
- <key>Fuzziness</key>
663
- <real>0.0</real>
664
- <key>ShadowVector</key>
665
- <string>{0, 2}</string>
666
- </dict>
667
- <key>stroke</key>
668
- <dict>
669
- <key>Color</key>
670
- <dict>
671
- <key>a</key>
672
- <string>0.75</string>
673
- <key>b</key>
674
- <string>0</string>
675
- <key>g</key>
676
- <string>0</string>
677
- <key>r</key>
678
- <string>0</string>
679
- </dict>
680
- </dict>
681
- </dict>
682
- <key>Tail</key>
683
- <dict>
684
- <key>ID</key>
685
- <integer>32</integer>
686
- </dict>
687
- <key>TextRelativeArea</key>
688
- <string>{{0.125, 0.25}, {0.75, 0.5}}</string>
689
- <key>isConnectedShape</key>
690
- <true/>
691
- </dict>
692
- <dict>
693
- <key>Bounds</key>
694
- <string>{{112.10933, 272.53275}, {133.19077, 15}}</string>
695
- <key>Class</key>
696
- <string>ShapedGraphic</string>
697
- <key>Head</key>
698
- <dict>
699
- <key>ID</key>
700
- <integer>32</integer>
701
- </dict>
702
- <key>ID</key>
703
- <integer>27</integer>
704
- <key>Rotation</key>
705
- <real>321.74789428710938</real>
706
- <key>Shape</key>
707
- <string>AdjustableArrow</string>
708
- <key>ShapeData</key>
709
- <dict>
710
- <key>ratio</key>
711
- <real>0.32189163565635681</real>
712
- <key>width</key>
713
- <real>14.973806381225586</real>
714
- </dict>
715
- <key>Style</key>
716
- <dict>
717
- <key>fill</key>
718
- <dict>
719
- <key>Color</key>
720
- <dict>
721
- <key>a</key>
722
- <string>0.1</string>
723
- <key>b</key>
724
- <string>0</string>
725
- <key>g</key>
726
- <string>0</string>
727
- <key>r</key>
728
- <string>0</string>
729
- </dict>
730
- <key>MiddleFraction</key>
731
- <real>0.70634919404983521</real>
732
- </dict>
733
- <key>shadow</key>
734
- <dict>
735
- <key>Color</key>
736
- <dict>
737
- <key>a</key>
738
- <string>0.4</string>
739
- <key>b</key>
740
- <string>0</string>
741
- <key>g</key>
742
- <string>0</string>
743
- <key>r</key>
744
- <string>0</string>
745
- </dict>
746
- <key>Fuzziness</key>
747
- <real>0.0</real>
748
- <key>ShadowVector</key>
749
- <string>{0, 2}</string>
750
- </dict>
751
- <key>stroke</key>
752
- <dict>
753
- <key>Color</key>
754
- <dict>
755
- <key>a</key>
756
- <string>0.75</string>
757
- <key>b</key>
758
- <string>0</string>
759
- <key>g</key>
760
- <string>0</string>
761
- <key>r</key>
762
- <string>0</string>
763
- </dict>
764
- </dict>
765
- </dict>
766
- <key>Tail</key>
767
- <dict>
768
- <key>ID</key>
769
- <integer>5</integer>
770
- </dict>
771
- <key>TextRelativeArea</key>
772
- <string>{{0.125, 0.25}, {0.75, 0.5}}</string>
773
- <key>isConnectedShape</key>
774
- <true/>
775
- </dict>
776
- <dict>
777
- <key>Bounds</key>
778
- <string>{{213.76801, 431.75699}, {115.217, 63.043499}}</string>
779
- <key>Class</key>
780
- <string>ShapedGraphic</string>
781
- <key>ID</key>
782
- <integer>36</integer>
783
- <key>Shape</key>
784
- <string>Rectangle</string>
785
- <key>Text</key>
786
- <dict>
787
- <key>Text</key>
788
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
789
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
790
- {\colortbl;\red255\green255\blue255;}
791
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
792
-
793
- \f0\fs24 \cf0 2c. Try and render a partial within the global blocks view directory}</string>
794
- </dict>
795
- </dict>
796
- <dict>
797
- <key>Bounds</key>
798
- <string>{{213.76801, 309.978}, {115.217, 63.043499}}</string>
799
- <key>Class</key>
800
- <string>ShapedGraphic</string>
801
- <key>ID</key>
802
- <integer>35</integer>
803
- <key>Shape</key>
804
- <string>Rectangle</string>
805
- <key>Text</key>
806
- <dict>
807
- <key>Text</key>
808
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
809
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
810
- {\colortbl;\red255\green255\blue255;}
811
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
812
-
813
- \f0\fs24 \cf0 2b. Try and render a partial within the current controller's view directory}</string>
814
- </dict>
815
- </dict>
816
- <dict>
817
- <key>Bounds</key>
818
- <string>{{177.536, 59.971001}, {368.91299, 98}}</string>
819
- <key>Class</key>
820
- <string>ShapedGraphic</string>
821
- <key>FitText</key>
822
- <string>Vertical</string>
823
- <key>Flow</key>
824
- <string>Resize</string>
825
- <key>ID</key>
826
- <integer>34</integer>
827
- <key>Shape</key>
828
- <string>Rectangle</string>
829
- <key>Style</key>
830
- <dict>
831
- <key>fill</key>
832
- <dict>
833
- <key>Draws</key>
834
- <string>NO</string>
835
- </dict>
836
- <key>shadow</key>
837
- <dict>
838
- <key>Draws</key>
839
- <string>NO</string>
840
- </dict>
841
- <key>stroke</key>
842
- <dict>
843
- <key>Draws</key>
844
- <string>NO</string>
845
- </dict>
846
- </dict>
847
- <key>Text</key>
848
- <dict>
849
- <key>Align</key>
850
- <integer>0</integer>
851
- <key>Pad</key>
852
- <integer>0</integer>
853
- <key>Text</key>
854
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
855
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
856
- {\colortbl;\red255\green255\blue255;}
857
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
858
-
859
- \f0\fs24 \cf0 Render all blocks that have been defined using the "blocks.before :some_block" or "blocks.prepend :some_block" method.\
860
- For example:\
861
- &lt;%= blocks.before :some_block do %&gt;\
862
- Code that gets executed before the block :some_block\
863
- &lt;% end %&gt;}</string>
864
- <key>VerticalPad</key>
865
- <integer>0</integer>
866
- </dict>
867
- </dict>
868
- <dict>
869
- <key>Bounds</key>
870
- <string>{{213.76801, 175.44901}, {115.217, 63.043499}}</string>
871
- <key>Class</key>
872
- <string>ShapedGraphic</string>
873
- <key>ID</key>
874
- <integer>32</integer>
875
- <key>Shape</key>
876
- <string>Rectangle</string>
877
- <key>Text</key>
878
- <dict>
879
- <key>Text</key>
880
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
881
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
882
- {\colortbl;\red255\green255\blue255;}
883
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
884
-
885
- \f0\fs24 \cf0 2a. Try and render the block as a previously defined inline block}</string>
886
- </dict>
887
- </dict>
888
- <dict>
889
- <key>Bounds</key>
890
- <string>{{80.149101, 44.7005}, {32.3009, 40}}</string>
891
- <key>Class</key>
892
- <string>ShapedGraphic</string>
893
- <key>ID</key>
894
- <integer>31</integer>
895
- <key>Rotation</key>
896
- <real>90.531463623046875</real>
897
- <key>Shape</key>
898
- <string>AdjustableArrow</string>
899
- <key>ShapeData</key>
900
- <dict>
901
- <key>ratio</key>
902
- <real>0.50000017881393433</real>
903
- <key>width</key>
904
- <real>20.000001907348633</real>
905
- </dict>
906
- <key>Style</key>
907
- <dict>
908
- <key>fill</key>
909
- <dict>
910
- <key>Color</key>
911
- <dict>
912
- <key>b</key>
913
- <string>1</string>
914
- <key>g</key>
915
- <string>0.81593</string>
916
- <key>r</key>
917
- <string>0.555535</string>
918
- </dict>
919
- <key>FillType</key>
920
- <integer>2</integer>
921
- <key>GradientAngle</key>
922
- <real>90</real>
923
- <key>GradientColor</key>
924
- <dict>
925
- <key>b</key>
926
- <string>0.874372</string>
927
- <key>g</key>
928
- <string>0.637537</string>
929
- <key>r</key>
930
- <string>0.304356</string>
931
- </dict>
932
- <key>MiddleFraction</key>
933
- <real>0.4523809552192688</real>
934
- </dict>
935
- <key>shadow</key>
936
- <dict>
937
- <key>Color</key>
938
- <dict>
939
- <key>a</key>
940
- <string>0.4</string>
941
- <key>b</key>
942
- <string>0</string>
943
- <key>g</key>
944
- <string>0</string>
945
- <key>r</key>
946
- <string>0</string>
947
- </dict>
948
- <key>ShadowVector</key>
949
- <string>{0, 2}</string>
950
- </dict>
951
- <key>stroke</key>
952
- <dict>
953
- <key>Color</key>
954
- <dict>
955
- <key>b</key>
956
- <string>0.794995</string>
957
- <key>g</key>
958
- <string>0.459724</string>
959
- <key>r</key>
960
- <string>0</string>
961
- </dict>
962
- </dict>
963
- </dict>
964
- <key>TextRelativeArea</key>
965
- <string>{{0.125, 0.25}, {0.75, 0.5}}</string>
966
- <key>isConnectedShape</key>
967
- <true/>
968
- </dict>
969
- <dict>
970
- <key>Bounds</key>
971
- <string>{{-54.720627, 499.24329}, {304.48547, 40}}</string>
972
- <key>Class</key>
973
- <string>ShapedGraphic</string>
974
- <key>Head</key>
975
- <dict>
976
- <key>ID</key>
977
- <integer>6</integer>
978
- </dict>
979
- <key>ID</key>
980
- <integer>30</integer>
981
- <key>Rotation</key>
982
- <real>90</real>
983
- <key>Shape</key>
984
- <string>AdjustableArrow</string>
985
- <key>ShapeData</key>
986
- <dict>
987
- <key>ratio</key>
988
- <real>0.50000017881393433</real>
989
- <key>width</key>
990
- <real>20.000001907348633</real>
991
- </dict>
992
- <key>Style</key>
993
- <dict>
994
- <key>fill</key>
995
- <dict>
996
- <key>Color</key>
997
- <dict>
998
- <key>b</key>
999
- <string>1</string>
1000
- <key>g</key>
1001
- <string>0.81593</string>
1002
- <key>r</key>
1003
- <string>0.555535</string>
1004
- </dict>
1005
- <key>FillType</key>
1006
- <integer>2</integer>
1007
- <key>GradientAngle</key>
1008
- <real>90</real>
1009
- <key>GradientColor</key>
1010
- <dict>
1011
- <key>b</key>
1012
- <string>0.874372</string>
1013
- <key>g</key>
1014
- <string>0.637537</string>
1015
- <key>r</key>
1016
- <string>0.304356</string>
1017
- </dict>
1018
- <key>MiddleFraction</key>
1019
- <real>0.4523809552192688</real>
1020
- </dict>
1021
- <key>shadow</key>
1022
- <dict>
1023
- <key>Color</key>
1024
- <dict>
1025
- <key>a</key>
1026
- <string>0.4</string>
1027
- <key>b</key>
1028
- <string>0</string>
1029
- <key>g</key>
1030
- <string>0</string>
1031
- <key>r</key>
1032
- <string>0</string>
1033
- </dict>
1034
- <key>ShadowVector</key>
1035
- <string>{0, 2}</string>
1036
- </dict>
1037
- <key>stroke</key>
1038
- <dict>
1039
- <key>Color</key>
1040
- <dict>
1041
- <key>b</key>
1042
- <string>0.794995</string>
1043
- <key>g</key>
1044
- <string>0.459724</string>
1045
- <key>r</key>
1046
- <string>0</string>
1047
- </dict>
1048
- </dict>
1049
- </dict>
1050
- <key>Tail</key>
1051
- <dict>
1052
- <key>ID</key>
1053
- <integer>5</integer>
1054
- </dict>
1055
- <key>TextRelativeArea</key>
1056
- <string>{{0.125, 0.25}, {0.75, 0.5}}</string>
1057
- <key>isConnectedShape</key>
1058
- <true/>
1059
- </dict>
1060
- <dict>
1061
- <key>Bounds</key>
1062
- <string>{{5.3512955, 208.90239}, {184.34122, 40}}</string>
1063
- <key>Class</key>
1064
- <string>ShapedGraphic</string>
1065
- <key>Head</key>
1066
- <dict>
1067
- <key>ID</key>
1068
- <integer>5</integer>
1069
- </dict>
1070
- <key>ID</key>
1071
- <integer>29</integer>
1072
- <key>Rotation</key>
1073
- <real>89.999900817871094</real>
1074
- <key>Shape</key>
1075
- <string>AdjustableArrow</string>
1076
- <key>ShapeData</key>
1077
- <dict>
1078
- <key>ratio</key>
1079
- <real>0.50000017881393433</real>
1080
- <key>width</key>
1081
- <real>20.000001907348633</real>
1082
- </dict>
1083
- <key>Style</key>
1084
- <dict>
1085
- <key>fill</key>
1086
- <dict>
1087
- <key>Color</key>
1088
- <dict>
1089
- <key>b</key>
1090
- <string>1</string>
1091
- <key>g</key>
1092
- <string>0.81593</string>
1093
- <key>r</key>
1094
- <string>0.555535</string>
1095
- </dict>
1096
- <key>FillType</key>
1097
- <integer>2</integer>
1098
- <key>GradientAngle</key>
1099
- <real>90</real>
1100
- <key>GradientColor</key>
1101
- <dict>
1102
- <key>b</key>
1103
- <string>0.874372</string>
1104
- <key>g</key>
1105
- <string>0.637537</string>
1106
- <key>r</key>
1107
- <string>0.304356</string>
1108
- </dict>
1109
- <key>MiddleFraction</key>
1110
- <real>0.4523809552192688</real>
1111
- </dict>
1112
- <key>shadow</key>
1113
- <dict>
1114
- <key>Color</key>
1115
- <dict>
1116
- <key>a</key>
1117
- <string>0.4</string>
1118
- <key>b</key>
1119
- <string>0</string>
1120
- <key>g</key>
1121
- <string>0</string>
1122
- <key>r</key>
1123
- <string>0</string>
1124
- </dict>
1125
- <key>ShadowVector</key>
1126
- <string>{0, 2}</string>
1127
- </dict>
1128
- <key>stroke</key>
1129
- <dict>
1130
- <key>Color</key>
1131
- <dict>
1132
- <key>b</key>
1133
- <string>0.794995</string>
1134
- <key>g</key>
1135
- <string>0.459724</string>
1136
- <key>r</key>
1137
- <string>0</string>
1138
- </dict>
1139
- </dict>
1140
- </dict>
1141
- <key>Tail</key>
1142
- <dict>
1143
- <key>ID</key>
1144
- <integer>4</integer>
1145
- </dict>
1146
- <key>TextRelativeArea</key>
1147
- <string>{{0.125, 0.25}, {0.75, 0.5}}</string>
1148
- <key>isConnectedShape</key>
1149
- <true/>
1150
- </dict>
1151
- <dict>
1152
- <key>Bounds</key>
1153
- <string>{{39.913601, 671.98602}, {115.217, 54.521702}}</string>
1154
- <key>Class</key>
1155
- <string>ShapedGraphic</string>
1156
- <key>ID</key>
1157
- <integer>6</integer>
1158
- <key>Shape</key>
1159
- <string>Rectangle</string>
1160
- <key>Text</key>
1161
- <dict>
1162
- <key>Text</key>
1163
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
1164
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
1165
- {\colortbl;\red255\green255\blue255;}
1166
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
1167
-
1168
- \f0\fs24 \cf0 3. Render all the After blocks for :some_block}</string>
1169
- </dict>
1170
- </dict>
1171
- <dict>
1172
- <key>Bounds</key>
1173
- <string>{{39.9132, 81.710098}, {115.217, 54.521702}}</string>
1174
- <key>Class</key>
1175
- <string>ShapedGraphic</string>
1176
- <key>ID</key>
1177
- <integer>4</integer>
1178
- <key>Shape</key>
1179
- <string>Rectangle</string>
1180
- <key>Text</key>
1181
- <dict>
1182
- <key>Text</key>
1183
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
1184
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
1185
- {\colortbl;\red255\green255\blue255;}
1186
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
1187
-
1188
- \f0\fs24 \cf0 1. Render all the "Before" blocks for :some_block}</string>
1189
- </dict>
1190
- </dict>
1191
- <dict>
1192
- <key>Bounds</key>
1193
- <string>{{39.9132, 28.2609}, {128, 14}}</string>
1194
- <key>Class</key>
1195
- <string>ShapedGraphic</string>
1196
- <key>FitText</key>
1197
- <string>YES</string>
1198
- <key>Flow</key>
1199
- <string>Resize</string>
1200
- <key>ID</key>
1201
- <integer>3</integer>
1202
- <key>Shape</key>
1203
- <string>Rectangle</string>
1204
- <key>Style</key>
1205
- <dict>
1206
- <key>fill</key>
1207
- <dict>
1208
- <key>Draws</key>
1209
- <string>NO</string>
1210
- </dict>
1211
- <key>shadow</key>
1212
- <dict>
1213
- <key>Draws</key>
1214
- <string>NO</string>
1215
- </dict>
1216
- <key>stroke</key>
1217
- <dict>
1218
- <key>Draws</key>
1219
- <string>NO</string>
1220
- </dict>
1221
- </dict>
1222
- <key>Text</key>
1223
- <dict>
1224
- <key>Pad</key>
1225
- <integer>0</integer>
1226
- <key>Text</key>
1227
- <string>{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf230
1228
- {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
1229
- {\colortbl;\red255\green255\blue255;}
1230
- \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc
1231
-
1232
- \f0\fs24 \cf0 blocks.use :some_block}</string>
1233
- <key>VerticalPad</key>
1234
- <integer>0</integer>
1235
- </dict>
1236
- <key>Wrap</key>
1237
- <string>NO</string>
1238
- </dict>
1239
- </array>
1240
- <key>GridInfo</key>
1241
- <dict/>
1242
- <key>GuidesLocked</key>
1243
- <string>NO</string>
1244
- <key>GuidesVisible</key>
1245
- <string>YES</string>
1246
- <key>HPages</key>
1247
- <integer>1</integer>
1248
- <key>ImageCounter</key>
1249
- <integer>1</integer>
1250
- <key>KeepToScale</key>
1251
- <false/>
1252
- <key>Layers</key>
1253
- <array>
1254
- <dict>
1255
- <key>Lock</key>
1256
- <string>NO</string>
1257
- <key>Name</key>
1258
- <string>Layer 1</string>
1259
- <key>Print</key>
1260
- <string>YES</string>
1261
- <key>View</key>
1262
- <string>YES</string>
1263
- </dict>
1264
- </array>
1265
- <key>LayoutInfo</key>
1266
- <dict>
1267
- <key>Animate</key>
1268
- <string>NO</string>
1269
- <key>circoMinDist</key>
1270
- <real>18</real>
1271
- <key>circoSeparation</key>
1272
- <real>0.0</real>
1273
- <key>layoutEngine</key>
1274
- <string>dot</string>
1275
- <key>neatoSeparation</key>
1276
- <real>0.0</real>
1277
- <key>twopiSeparation</key>
1278
- <real>0.0</real>
1279
- </dict>
1280
- <key>LinksVisible</key>
1281
- <string>NO</string>
1282
- <key>MagnetsVisible</key>
1283
- <string>NO</string>
1284
- <key>MasterSheets</key>
1285
- <array/>
1286
- <key>ModificationDate</key>
1287
- <string>2012-01-26 22:36:08 +0000</string>
1288
- <key>Modifier</key>
1289
- <string>Andrew Hunter</string>
1290
- <key>NotesVisible</key>
1291
- <string>NO</string>
1292
- <key>Orientation</key>
1293
- <integer>2</integer>
1294
- <key>OriginVisible</key>
1295
- <string>NO</string>
1296
- <key>PageBreaks</key>
1297
- <string>YES</string>
1298
- <key>PrintInfo</key>
1299
- <dict>
1300
- <key>NSBottomMargin</key>
1301
- <array>
1302
- <string>float</string>
1303
- <string>41</string>
1304
- </array>
1305
- <key>NSHorizonalPagination</key>
1306
- <array>
1307
- <string>int</string>
1308
- <string>0</string>
1309
- </array>
1310
- <key>NSLeftMargin</key>
1311
- <array>
1312
- <string>float</string>
1313
- <string>18</string>
1314
- </array>
1315
- <key>NSPaperSize</key>
1316
- <array>
1317
- <string>coded</string>
1318
- <string>BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU1ZhbHVlAISECE5TT2JqZWN0AIWEASqEhAx7X05TU2l6ZT1mZn2WgWQCgRgDhg==</string>
1319
- </array>
1320
- <key>NSPrintReverseOrientation</key>
1321
- <array>
1322
- <string>int</string>
1323
- <string>0</string>
1324
- </array>
1325
- <key>NSRightMargin</key>
1326
- <array>
1327
- <string>float</string>
1328
- <string>18</string>
1329
- </array>
1330
- <key>NSTopMargin</key>
1331
- <array>
1332
- <string>float</string>
1333
- <string>18</string>
1334
- </array>
1335
- </dict>
1336
- <key>PrintOnePage</key>
1337
- <false/>
1338
- <key>ReadOnly</key>
1339
- <string>NO</string>
1340
- <key>RowAlign</key>
1341
- <integer>1</integer>
1342
- <key>RowSpacing</key>
1343
- <real>36</real>
1344
- <key>SheetTitle</key>
1345
- <string>Canvas 1</string>
1346
- <key>SmartAlignmentGuidesActive</key>
1347
- <string>YES</string>
1348
- <key>SmartDistanceGuidesActive</key>
1349
- <string>YES</string>
1350
- <key>UniqueID</key>
1351
- <integer>1</integer>
1352
- <key>UseEntirePage</key>
1353
- <false/>
1354
- <key>VPages</key>
1355
- <integer>2</integer>
1356
- <key>WindowInfo</key>
1357
- <dict>
1358
- <key>CurrentSheet</key>
1359
- <integer>0</integer>
1360
- <key>ExpandedCanvases</key>
1361
- <array>
1362
- <dict>
1363
- <key>name</key>
1364
- <string>Canvas 1</string>
1365
- </dict>
1366
- </array>
1367
- <key>Frame</key>
1368
- <string>{{98, 95}, {1312, 1200}}</string>
1369
- <key>ListView</key>
1370
- <true/>
1371
- <key>OutlineWidth</key>
1372
- <integer>142</integer>
1373
- <key>RightSidebar</key>
1374
- <false/>
1375
- <key>ShowRuler</key>
1376
- <true/>
1377
- <key>Sidebar</key>
1378
- <true/>
1379
- <key>SidebarWidth</key>
1380
- <integer>120</integer>
1381
- <key>VisibleRegion</key>
1382
- <string>{{-133, 24.63768}, {842.7536, 757.2464}}</string>
1383
- <key>Zoom</key>
1384
- <real>1.3799999952316284</real>
1385
- <key>ZoomValues</key>
1386
- <array>
1387
- <array>
1388
- <string>Canvas 1</string>
1389
- <real>1.3799999952316284</real>
1390
- <real>1.2899999618530273</real>
1391
- </array>
1392
- </array>
1393
- </dict>
1394
- <key>saveQuickLookFiles</key>
1395
- <string>YES</string>
1396
- </dict>
1397
- </plist>