ro 1.4.6 → 4.4.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 (157) hide show
  1. checksums.yaml +6 -14
  2. data/Gemfile +2 -0
  3. data/Gemfile.lock +64 -0
  4. data/LICENSE +1 -0
  5. data/README.md +276 -105
  6. data/README.md.erb +159 -0
  7. data/Rakefile +129 -78
  8. data/bin/ro +241 -68
  9. data/lib/ro/_lib.rb +107 -0
  10. data/lib/ro/asset.rb +55 -0
  11. data/lib/ro/collection/list.rb +23 -0
  12. data/lib/ro/collection.rb +211 -0
  13. data/lib/ro/config.rb +72 -0
  14. data/lib/ro/error.rb +11 -0
  15. data/lib/ro/html.rb +23 -0
  16. data/lib/ro/html_safe.rb +143 -0
  17. data/lib/ro/klass.rb +25 -0
  18. data/lib/ro/methods.rb +295 -0
  19. data/lib/ro/model.rb +83 -114
  20. data/lib/ro/node.rb +209 -349
  21. data/lib/ro/pagination.rb +7 -4
  22. data/lib/ro/path.rb +229 -0
  23. data/lib/ro/root.rb +52 -31
  24. data/lib/ro/script/builder.rb +221 -0
  25. data/lib/ro/script/console.rb +47 -0
  26. data/lib/ro/script/server.rb +76 -0
  27. data/lib/ro/script.rb +189 -0
  28. data/lib/ro/slug.rb +19 -18
  29. data/lib/ro/template/rouge_formatter.rb +42 -0
  30. data/lib/ro/template.rb +145 -51
  31. data/lib/ro/text.rb +120 -0
  32. data/lib/ro.rb +89 -317
  33. data/public/api/ro/index-1.json +1065 -0
  34. data/public/api/ro/index.json +1055 -0
  35. data/public/api/ro/nerd/fastest-possible-embeddings/index.json +90 -0
  36. data/public/api/ro/nerd/ima/index.json +49 -0
  37. data/public/api/ro/nerd/index/index.json +74 -0
  38. data/public/api/ro/nerd/index-1.json +204 -0
  39. data/public/api/ro/nerd/index.json +194 -0
  40. data/public/api/ro/pages/about/index.json +60 -0
  41. data/public/api/ro/pages/contact/index.json +50 -0
  42. data/public/api/ro/pages/cv/index.json +49 -0
  43. data/public/api/ro/pages/disco/index.json +117 -0
  44. data/public/api/ro/pages/index/index.json +30 -0
  45. data/public/api/ro/pages/index-1.json +366 -0
  46. data/public/api/ro/pages/index.json +356 -0
  47. data/public/api/ro/pages/jess/index.json +62 -0
  48. data/public/api/ro/pages/now/index.json +43 -0
  49. data/public/api/ro/posts/almost-died-in-an-ice-cave/index.json +265 -0
  50. data/public/api/ro/posts/facebook-and-global-extremism/index.json +90 -0
  51. data/public/api/ro/posts/index-1.json +527 -0
  52. data/public/api/ro/posts/index.json +517 -0
  53. data/public/api/ro/posts/lemmings-considered-harmful/index.json +49 -0
  54. data/public/api/ro/posts/lost-in-the-desert/index.json +49 -0
  55. data/public/api/ro/posts/mission/index.json +49 -0
  56. data/public/api/ro/posts/return-your-laptop/index.json +61 -0
  57. data/public/ro/nerd/fastest-possible-embeddings/assets/giraffe.jpeg +0 -0
  58. data/public/ro/nerd/fastest-possible-embeddings/assets/let-me-in.jpg +0 -0
  59. data/public/ro/nerd/fastest-possible-embeddings/assets/src/fastembed.js +70 -0
  60. data/public/ro/nerd/fastest-possible-embeddings/assets/src/fastembed.rs +68 -0
  61. data/public/ro/nerd/fastest-possible-embeddings/assets/terminal.jpg +0 -0
  62. data/public/ro/nerd/fastest-possible-embeddings/attributes.yml +7 -0
  63. data/public/ro/nerd/fastest-possible-embeddings/body.md +266 -0
  64. data/public/ro/nerd/ima/assets/og.jpeg +0 -0
  65. data/public/ro/nerd/ima/attributes.yml +8 -0
  66. data/public/ro/nerd/ima/body.md +22 -0
  67. data/public/ro/nerd/index/assets/giraffe.jpeg +0 -0
  68. data/public/ro/nerd/index/assets/let-me-in.jpg +0 -0
  69. data/public/ro/nerd/index/assets/terminal.jpg +0 -0
  70. data/public/ro/nerd/index/attributes.yml +7 -0
  71. data/public/ro/nerd/index/body.md +130 -0
  72. data/public/ro/pages/about/assets/og.jpeg +0 -0
  73. data/public/ro/pages/about/assets/speak-english-pulp-fiction.gif +0 -0
  74. data/public/ro/pages/about/body.md +40 -0
  75. data/public/ro/pages/contact/assets/giraffe.jpeg +0 -0
  76. data/public/ro/pages/contact/attributes.yml +7 -0
  77. data/public/ro/pages/contact/body.md +9 -0
  78. data/public/ro/pages/cv/assets/ara.jpg +0 -0
  79. data/public/ro/pages/cv/attributes.yml +6 -0
  80. data/public/ro/pages/cv/body.md +122 -0
  81. data/public/ro/pages/disco/assets/disco.jpg +0 -0
  82. data/public/ro/pages/disco/assets/disco.png +0 -0
  83. data/public/ro/pages/disco/assets/speak-english-pulp-fiction.gif +0 -0
  84. data/public/ro/pages/disco/assets/src/environment.md +2354 -0
  85. data/public/ro/pages/disco/assets/src/fortune-500.md +2518 -0
  86. data/public/ro/pages/disco/assets/src/greed.md +2703 -0
  87. data/public/ro/pages/disco/assets/src/up-at-night.md +2337 -0
  88. data/public/ro/pages/disco/attributes.yml +9 -0
  89. data/public/ro/pages/disco/body.md +99 -0
  90. data/public/ro/pages/disco/samples/environment.md +2354 -0
  91. data/public/ro/pages/disco/samples/fortune-500.md +2518 -0
  92. data/public/ro/pages/disco/samples/greed.md +2703 -0
  93. data/public/ro/pages/disco/samples/up-at-night.md +2337 -0
  94. data/public/ro/pages/index/attributes.yml +1 -0
  95. data/public/ro/pages/index/body.md +15 -0
  96. data/public/ro/pages/jess/assets/og.jpg +0 -0
  97. data/public/ro/pages/jess/assets/speak-english-pulp-fiction.gif +0 -0
  98. data/public/ro/pages/jess/attributes.yml +7 -0
  99. data/public/ro/pages/jess/body.md +3 -0
  100. data/public/ro/pages/now/assets/speak-english-pulp-fiction.gif +0 -0
  101. data/public/ro/pages/now/attributes.yml +1 -0
  102. data/public/ro/pages/now/body.md +24 -0
  103. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image1.png +0 -0
  104. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image10.png +0 -0
  105. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image11.png +0 -0
  106. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image12.png +0 -0
  107. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image13.png +0 -0
  108. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image14.png +0 -0
  109. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image15.png +0 -0
  110. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image2.png +0 -0
  111. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image3.png +0 -0
  112. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image4.png +0 -0
  113. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image5.png +0 -0
  114. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image6.png +0 -0
  115. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image7.png +0 -0
  116. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image8.png +0 -0
  117. data/public/ro/posts/almost-died-in-an-ice-cave/assets/image9.png +0 -0
  118. data/public/ro/posts/almost-died-in-an-ice-cave/assets/josh-pointing.jpg +0 -0
  119. data/public/ro/posts/almost-died-in-an-ice-cave/assets/levi-rawr.png +0 -0
  120. data/public/ro/posts/almost-died-in-an-ice-cave/assets/og.jpg +0 -0
  121. data/public/ro/posts/almost-died-in-an-ice-cave/assets/purple-heart.jpg +0 -0
  122. data/public/ro/posts/almost-died-in-an-ice-cave/attributes.yml +6 -0
  123. data/public/ro/posts/almost-died-in-an-ice-cave/body.md +419 -0
  124. data/public/ro/posts/facebook-and-global-extremism/assets/background.html +125 -0
  125. data/public/ro/posts/facebook-and-global-extremism/assets/background.md +95 -0
  126. data/public/ro/posts/facebook-and-global-extremism/assets/og.jpg +0 -0
  127. data/public/ro/posts/facebook-and-global-extremism/assets/prompt.txt +122 -0
  128. data/public/ro/posts/facebook-and-global-extremism/assets/results.md +183 -0
  129. data/public/ro/posts/facebook-and-global-extremism/assets/survey.txt +190 -0
  130. data/public/ro/posts/facebook-and-global-extremism/attributes.yml +7 -0
  131. data/public/ro/posts/facebook-and-global-extremism/body.md +393 -0
  132. data/public/ro/posts/lemmings-considered-harmful/assets/lemming.jpeg +0 -0
  133. data/public/ro/posts/lemmings-considered-harmful/attributes.yml +6 -0
  134. data/public/ro/posts/lemmings-considered-harmful/body.md +43 -0
  135. data/public/ro/posts/lost-in-the-desert/assets/og.jpg +0 -0
  136. data/public/ro/posts/lost-in-the-desert/attributes.yml +6 -0
  137. data/public/ro/posts/lost-in-the-desert/body.md +7 -0
  138. data/public/ro/posts/mission/assets/og.jpg +0 -0
  139. data/public/ro/posts/mission/attributes.yml +6 -0
  140. data/public/ro/posts/mission/body.md +4 -0
  141. data/public/ro/posts/return-your-laptop/assets/og.jpg +0 -0
  142. data/public/ro/posts/return-your-laptop/assets/return-your-laptop.png +0 -0
  143. data/public/ro/posts/return-your-laptop/attributes.yml +6 -0
  144. data/public/ro/posts/return-your-laptop/body.md +58 -0
  145. data/ro.gemspec +217 -28
  146. data/scripts/speedtest.rb +324 -0
  147. data/tmp/gem-details.oe +0 -0
  148. metadata +214 -74
  149. data/TODO.md +0 -50
  150. data/lib/ro/blankslate.rb +0 -7
  151. data/lib/ro/cache.rb +0 -26
  152. data/lib/ro/git.rb +0 -374
  153. data/lib/ro/initializers/env.rb +0 -5
  154. data/lib/ro/initializers/tilt.rb +0 -104
  155. data/lib/ro/lock.rb +0 -53
  156. data/lib/ro/node/list.rb +0 -142
  157. data/notes/ara.txt +0 -215
metadata CHANGED
@@ -1,190 +1,330 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ro
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 4.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ara T. Howard
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-18 00:00:00.000000000 Z
11
+ date: 2025-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: map
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 6.5.1
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ! '>='
19
+ version: '6.6'
20
+ - - ">="
25
21
  - !ruby/object:Gem::Version
26
- version: 6.5.1
27
- - !ruby/object:Gem::Dependency
28
- name: fattr
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: 2.2.1
22
+ version: 6.6.0
34
23
  type: :runtime
35
24
  prerelease: false
36
25
  version_requirements: !ruby/object:Gem::Requirement
37
26
  requirements:
38
- - - ! '>='
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '6.6'
30
+ - - ">="
39
31
  - !ruby/object:Gem::Version
40
- version: 2.2.1
32
+ version: 6.6.0
41
33
  - !ruby/object:Gem::Dependency
42
- name: tilt
34
+ name: kramdown
43
35
  requirement: !ruby/object:Gem::Requirement
44
36
  requirements:
45
- - - ! '>='
37
+ - - "~>"
46
38
  - !ruby/object:Gem::Version
47
- version: 1.3.1
39
+ version: '2.4'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.4.0
48
43
  type: :runtime
49
44
  prerelease: false
50
45
  version_requirements: !ruby/object:Gem::Requirement
51
46
  requirements:
52
- - - ! '>='
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '2.4'
50
+ - - ">="
53
51
  - !ruby/object:Gem::Version
54
- version: 1.3.1
52
+ version: 2.4.0
55
53
  - !ruby/object:Gem::Dependency
56
- name: pygments.rb
54
+ name: kramdown-parser-gfm
57
55
  requirement: !ruby/object:Gem::Requirement
58
56
  requirements:
59
- - - ! '>='
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '1.1'
60
+ - - ">="
60
61
  - !ruby/object:Gem::Version
61
- version: 0.5.0
62
+ version: 1.1.0
62
63
  type: :runtime
63
64
  prerelease: false
64
65
  version_requirements: !ruby/object:Gem::Requirement
65
66
  requirements:
66
- - - ! '>='
67
+ - - "~>"
67
68
  - !ruby/object:Gem::Version
68
- version: 0.5.0
69
+ version: '1.1'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 1.1.0
69
73
  - !ruby/object:Gem::Dependency
70
- name: coerce
74
+ name: rouge
71
75
  requirement: !ruby/object:Gem::Requirement
72
76
  requirements:
73
- - - ! '>='
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '4.1'
80
+ - - ">="
74
81
  - !ruby/object:Gem::Version
75
- version: 0.0.4
82
+ version: 4.1.1
76
83
  type: :runtime
77
84
  prerelease: false
78
85
  version_requirements: !ruby/object:Gem::Requirement
79
86
  requirements:
80
- - - ! '>='
87
+ - - "~>"
81
88
  - !ruby/object:Gem::Version
82
- version: 0.0.4
89
+ version: '4.1'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 4.1.1
83
93
  - !ruby/object:Gem::Dependency
84
- name: stringex
94
+ name: front_matter_parser
85
95
  requirement: !ruby/object:Gem::Requirement
86
96
  requirements:
87
- - - ! '>='
97
+ - - "~>"
88
98
  - !ruby/object:Gem::Version
89
- version: 2.1.0
99
+ version: '1.0'
90
100
  type: :runtime
91
101
  prerelease: false
92
102
  version_requirements: !ruby/object:Gem::Requirement
93
103
  requirements:
94
- - - ! '>='
104
+ - - "~>"
95
105
  - !ruby/object:Gem::Version
96
- version: 2.1.0
106
+ version: '1.0'
97
107
  - !ruby/object:Gem::Dependency
98
- name: systemu
108
+ name: rinku
99
109
  requirement: !ruby/object:Gem::Requirement
100
110
  requirements:
101
- - - ! '>='
111
+ - - "~>"
102
112
  - !ruby/object:Gem::Version
103
- version: 2.5.2
113
+ version: '2.0'
104
114
  type: :runtime
105
115
  prerelease: false
106
116
  version_requirements: !ruby/object:Gem::Requirement
107
117
  requirements:
108
- - - ! '>='
118
+ - - "~>"
109
119
  - !ruby/object:Gem::Version
110
- version: 2.5.2
120
+ version: '2.0'
111
121
  - !ruby/object:Gem::Dependency
112
- name: nokogiri
122
+ name: image_size
113
123
  requirement: !ruby/object:Gem::Requirement
114
124
  requirements:
115
- - - ! '>='
125
+ - - "~>"
116
126
  - !ruby/object:Gem::Version
117
- version: 1.6.1
127
+ version: '3.4'
118
128
  type: :runtime
119
129
  prerelease: false
120
130
  version_requirements: !ruby/object:Gem::Requirement
121
131
  requirements:
122
- - - ! '>='
132
+ - - "~>"
123
133
  - !ruby/object:Gem::Version
124
- version: 1.6.1
134
+ version: '3.4'
125
135
  - !ruby/object:Gem::Dependency
126
- name: main
136
+ name: nokogiri
127
137
  requirement: !ruby/object:Gem::Requirement
128
138
  requirements:
129
- - - ! '>='
139
+ - - "~>"
130
140
  - !ruby/object:Gem::Version
131
- version: 5.2.0
141
+ version: '1'
132
142
  type: :runtime
133
143
  prerelease: false
134
144
  version_requirements: !ruby/object:Gem::Requirement
135
145
  requirements:
136
- - - ! '>='
146
+ - - "~>"
137
147
  - !ruby/object:Gem::Version
138
- version: 5.2.0
139
- description: ! 'description: ro kicks the ass'
148
+ version: '1'
149
+ description: |-
150
+ the worlds tiniest, bestest, most minmialist headless cms - powered by github
151
+
152
+ ro is a minimalist toolkit for managing heterogeneous collections of rich web
153
+ content on github, and providing both programatic and api access to it with zero
154
+ heavy lifting
140
155
  email: ara.t.howard@gmail.com
141
156
  executables:
142
157
  - ro
143
158
  extensions: []
144
159
  extra_rdoc_files: []
145
160
  files:
161
+ - Gemfile
162
+ - Gemfile.lock
163
+ - LICENSE
146
164
  - README.md
165
+ - README.md.erb
147
166
  - Rakefile
148
- - TODO.md
149
167
  - bin/ro
150
168
  - lib/ro.rb
151
- - lib/ro/blankslate.rb
152
- - lib/ro/cache.rb
153
- - lib/ro/git.rb
154
- - lib/ro/initializers/env.rb
155
- - lib/ro/initializers/tilt.rb
156
- - lib/ro/lock.rb
169
+ - lib/ro/_lib.rb
170
+ - lib/ro/asset.rb
171
+ - lib/ro/collection.rb
172
+ - lib/ro/collection/list.rb
173
+ - lib/ro/config.rb
174
+ - lib/ro/error.rb
175
+ - lib/ro/html.rb
176
+ - lib/ro/html_safe.rb
177
+ - lib/ro/klass.rb
178
+ - lib/ro/methods.rb
157
179
  - lib/ro/model.rb
158
180
  - lib/ro/node.rb
159
- - lib/ro/node/list.rb
160
181
  - lib/ro/pagination.rb
182
+ - lib/ro/path.rb
161
183
  - lib/ro/root.rb
184
+ - lib/ro/script.rb
185
+ - lib/ro/script/builder.rb
186
+ - lib/ro/script/console.rb
187
+ - lib/ro/script/server.rb
162
188
  - lib/ro/slug.rb
163
189
  - lib/ro/template.rb
164
- - notes/ara.txt
190
+ - lib/ro/template/rouge_formatter.rb
191
+ - lib/ro/text.rb
192
+ - public/api/ro/index-1.json
193
+ - public/api/ro/index.json
194
+ - public/api/ro/nerd/fastest-possible-embeddings/index.json
195
+ - public/api/ro/nerd/ima/index.json
196
+ - public/api/ro/nerd/index-1.json
197
+ - public/api/ro/nerd/index.json
198
+ - public/api/ro/nerd/index/index.json
199
+ - public/api/ro/pages/about/index.json
200
+ - public/api/ro/pages/contact/index.json
201
+ - public/api/ro/pages/cv/index.json
202
+ - public/api/ro/pages/disco/index.json
203
+ - public/api/ro/pages/index-1.json
204
+ - public/api/ro/pages/index.json
205
+ - public/api/ro/pages/index/index.json
206
+ - public/api/ro/pages/jess/index.json
207
+ - public/api/ro/pages/now/index.json
208
+ - public/api/ro/posts/almost-died-in-an-ice-cave/index.json
209
+ - public/api/ro/posts/facebook-and-global-extremism/index.json
210
+ - public/api/ro/posts/index-1.json
211
+ - public/api/ro/posts/index.json
212
+ - public/api/ro/posts/lemmings-considered-harmful/index.json
213
+ - public/api/ro/posts/lost-in-the-desert/index.json
214
+ - public/api/ro/posts/mission/index.json
215
+ - public/api/ro/posts/return-your-laptop/index.json
216
+ - public/ro/nerd/fastest-possible-embeddings/assets/giraffe.jpeg
217
+ - public/ro/nerd/fastest-possible-embeddings/assets/let-me-in.jpg
218
+ - public/ro/nerd/fastest-possible-embeddings/assets/src/fastembed.js
219
+ - public/ro/nerd/fastest-possible-embeddings/assets/src/fastembed.rs
220
+ - public/ro/nerd/fastest-possible-embeddings/assets/terminal.jpg
221
+ - public/ro/nerd/fastest-possible-embeddings/attributes.yml
222
+ - public/ro/nerd/fastest-possible-embeddings/body.md
223
+ - public/ro/nerd/ima/assets/og.jpeg
224
+ - public/ro/nerd/ima/attributes.yml
225
+ - public/ro/nerd/ima/body.md
226
+ - public/ro/nerd/index/assets/giraffe.jpeg
227
+ - public/ro/nerd/index/assets/let-me-in.jpg
228
+ - public/ro/nerd/index/assets/terminal.jpg
229
+ - public/ro/nerd/index/attributes.yml
230
+ - public/ro/nerd/index/body.md
231
+ - public/ro/pages/about/assets/og.jpeg
232
+ - public/ro/pages/about/assets/speak-english-pulp-fiction.gif
233
+ - public/ro/pages/about/body.md
234
+ - public/ro/pages/contact/assets/giraffe.jpeg
235
+ - public/ro/pages/contact/attributes.yml
236
+ - public/ro/pages/contact/body.md
237
+ - public/ro/pages/cv/assets/ara.jpg
238
+ - public/ro/pages/cv/attributes.yml
239
+ - public/ro/pages/cv/body.md
240
+ - public/ro/pages/disco/assets/disco.jpg
241
+ - public/ro/pages/disco/assets/disco.png
242
+ - public/ro/pages/disco/assets/speak-english-pulp-fiction.gif
243
+ - public/ro/pages/disco/assets/src/environment.md
244
+ - public/ro/pages/disco/assets/src/fortune-500.md
245
+ - public/ro/pages/disco/assets/src/greed.md
246
+ - public/ro/pages/disco/assets/src/up-at-night.md
247
+ - public/ro/pages/disco/attributes.yml
248
+ - public/ro/pages/disco/body.md
249
+ - public/ro/pages/disco/samples/environment.md
250
+ - public/ro/pages/disco/samples/fortune-500.md
251
+ - public/ro/pages/disco/samples/greed.md
252
+ - public/ro/pages/disco/samples/up-at-night.md
253
+ - public/ro/pages/index/attributes.yml
254
+ - public/ro/pages/index/body.md
255
+ - public/ro/pages/jess/assets/og.jpg
256
+ - public/ro/pages/jess/assets/speak-english-pulp-fiction.gif
257
+ - public/ro/pages/jess/attributes.yml
258
+ - public/ro/pages/jess/body.md
259
+ - public/ro/pages/now/assets/speak-english-pulp-fiction.gif
260
+ - public/ro/pages/now/attributes.yml
261
+ - public/ro/pages/now/body.md
262
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image1.png
263
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image10.png
264
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image11.png
265
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image12.png
266
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image13.png
267
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image14.png
268
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image15.png
269
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image2.png
270
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image3.png
271
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image4.png
272
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image5.png
273
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image6.png
274
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image7.png
275
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image8.png
276
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/image9.png
277
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/josh-pointing.jpg
278
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/levi-rawr.png
279
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/og.jpg
280
+ - public/ro/posts/almost-died-in-an-ice-cave/assets/purple-heart.jpg
281
+ - public/ro/posts/almost-died-in-an-ice-cave/attributes.yml
282
+ - public/ro/posts/almost-died-in-an-ice-cave/body.md
283
+ - public/ro/posts/facebook-and-global-extremism/assets/background.html
284
+ - public/ro/posts/facebook-and-global-extremism/assets/background.md
285
+ - public/ro/posts/facebook-and-global-extremism/assets/og.jpg
286
+ - public/ro/posts/facebook-and-global-extremism/assets/prompt.txt
287
+ - public/ro/posts/facebook-and-global-extremism/assets/results.md
288
+ - public/ro/posts/facebook-and-global-extremism/assets/survey.txt
289
+ - public/ro/posts/facebook-and-global-extremism/attributes.yml
290
+ - public/ro/posts/facebook-and-global-extremism/body.md
291
+ - public/ro/posts/lemmings-considered-harmful/assets/lemming.jpeg
292
+ - public/ro/posts/lemmings-considered-harmful/attributes.yml
293
+ - public/ro/posts/lemmings-considered-harmful/body.md
294
+ - public/ro/posts/lost-in-the-desert/assets/og.jpg
295
+ - public/ro/posts/lost-in-the-desert/attributes.yml
296
+ - public/ro/posts/lost-in-the-desert/body.md
297
+ - public/ro/posts/mission/assets/og.jpg
298
+ - public/ro/posts/mission/attributes.yml
299
+ - public/ro/posts/mission/body.md
300
+ - public/ro/posts/return-your-laptop/assets/og.jpg
301
+ - public/ro/posts/return-your-laptop/assets/return-your-laptop.png
302
+ - public/ro/posts/return-your-laptop/attributes.yml
303
+ - public/ro/posts/return-your-laptop/body.md
165
304
  - ro.gemspec
305
+ - scripts/speedtest.rb
306
+ - tmp/gem-details.oe
166
307
  homepage: https://github.com/ahoward/ro
167
308
  licenses:
168
- - Same As Ruby's
309
+ - Nonstandard
169
310
  metadata: {}
170
- post_install_message:
311
+ post_install_message:
171
312
  rdoc_options: []
172
313
  require_paths:
173
314
  - lib
174
315
  required_ruby_version: !ruby/object:Gem::Requirement
175
316
  requirements:
176
- - - ! '>='
317
+ - - ">="
177
318
  - !ruby/object:Gem::Version
178
- version: '0'
319
+ version: '3.0'
179
320
  required_rubygems_version: !ruby/object:Gem::Requirement
180
321
  requirements:
181
- - - ! '>='
322
+ - - ">="
182
323
  - !ruby/object:Gem::Version
183
324
  version: '0'
184
325
  requirements: []
185
- rubyforge_project: codeforpeople
186
- rubygems_version: 2.0.3
187
- signing_key:
326
+ rubygems_version: 3.5.16
327
+ signing_key:
188
328
  specification_version: 4
189
- summary: ro
329
+ summary: all your content in github, as god intended
190
330
  test_files: []
data/TODO.md DELETED
@@ -1,50 +0,0 @@
1
- todo:
2
-
3
- Model[id]
4
- Model.select
5
- Model.where
6
-
7
- - reconsider using active_model...
8
-
9
- - with ro, do we/should we need to expand assets?
10
- - posts
11
- - body.md -> html -> expand_asset_urls?
12
-
13
- - https://github.com/rails/rails/blob/master/activemodel/lib/active_model/model.rb
14
-
15
- - track where shit comes from...
16
-
17
- - custom ui better?
18
- - chiclets
19
- - posts
20
-
21
- done:
22
-
23
- - expand relative asset links in html
24
-
25
- - patch based transactions
26
-
27
- - http://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git/
28
-
29
- - git checkout -b test-branch
30
- - add, commit, etc
31
- - add assets last
32
-
33
- - git format-patch master --stdout > p.patch
34
-
35
- - actor.date.uuid
36
-
37
- -
38
- a:~/git/ahoward/ro $ git apply --stat p.patch
39
- tmp/coat.zip | Bin
40
- tmp/a.txt | 1 +
41
- 2 files changed, 1 insertion(+)
42
-
43
- - git apply --check p.patch
44
-
45
- - git am --signoff < fix_empty_poster.patch
46
-
47
- - iff fail: sorry, your edits conflict with another user!
48
- - because they need to review new content ;-)
49
-
50
- - git branch -D test-branch
data/lib/ro/blankslate.rb DELETED
@@ -1,7 +0,0 @@
1
- # -*- encoding : utf-8 -*-
2
-
3
- module Ro
4
- class BlankSlate
5
- instance_methods.each{|m| undef_method(m) unless m.to_s =~ /(^__)|object_id/}
6
- end
7
- end
data/lib/ro/cache.rb DELETED
@@ -1,26 +0,0 @@
1
- module Ro
2
- class Cache < ::Map
3
- def write(key, value)
4
- invalidate(key)
5
- set(key => value)
6
- end
7
-
8
- def read(key, &block)
9
- if has?(key)
10
- get(key)
11
- else
12
- if block
13
- value = block.call
14
- write(key, value)
15
- else
16
- nil
17
- end
18
- end
19
- end
20
-
21
- def invalidate(key)
22
- prefix = Array(key).dup.tap{|array| array.pop}
23
- set(prefix, {})
24
- end
25
- end
26
- end