Guest User

Untitled

a guest
Mar 5th, 2018
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.02 KB | None | 0 0
  1.  
  2. New patches:
  3.  
  4. [Added verbosity control to 'undocumented'. Run `rake undocumented-verbose' for the 'updated' version
  5. comp.lang.zenix+ramaze@gmail.com**20070614051616] {
  6. hunk ./rake_tasks/maintaince.rake 251
  7. -task 'undocumented' do
  8. +task 'undocumented-module' do
  9. hunk ./rake_tasks/maintaince.rake 314
  10. + puts "\nAll undocumented methods\n\n"
  11. +
  12. hunk ./rake_tasks/maintaince.rake 321
  13. - puts "#{file.ljust(max)}\t[#{[mss, tss].join('/').center(8)}]".send(color)
  14. - puts m.join(', ')
  15. + complete = ms.to_f/ts.to_f
  16. + mthc = "method"
  17. + if ratio != 100
  18. + puts "#{file.ljust(max)}\t[#{[mss, tss].join('/').center(8)}]".send(color)
  19. + mthc = "methods" if ts > 1
  20. + if $VERBOSE
  21. + puts "Of #{tss} #{mthc}, #{mss} still needs documenting (#{100 - ratio}% documented, #{ratio}% undocumented)".send(color)
  22. + mthc = "method"
  23. + mthc = "methods" if ms > 1
  24. + print "#{mthc.capitalize}: "
  25. + end
  26. + puts m.join(', ')
  27. + puts
  28. + end
  29. hunk ./rake_tasks/maintaince.rake 337
  30. - puts
  31. - puts "The colors mean percentages of documentation (ratio of undocumented methods to total):"
  32. + puts "The colors mean percentages of documentation left (ratio of undocumented methods to total):"
  33. hunk ./rake_tasks/maintaince.rake 343
  34. +
  35. +task 'undocumented' do
  36. + $VERBOSE = false
  37. + Rake::Task['undocumented-module'].execute
  38. +end
  39. +
  40. +task 'undocumented-verbose' do
  41. + $VERBOSE = true
  42. + Rake::Task['undocumented-module'].execute
  43. +end
  44. }
  45.  
  46. Context:
  47.  
  48. [add additional information about the colors for the `rake undocumented` task
  49. Michael Fellinger <m.fellinger@gmail.com>**20070614025528]
  50. [add ramaze/inform/knotify over Inform::Knotify
  51. Michael Fellinger <m.fellinger@gmail.com>**20070613090851]
  52. [total rewrite of the undocumented task, better matching using StringScanner and nicer output using colors.
  53. Michael Fellinger <m.fellinger@gmail.com>**20070613115226]
  54. [docs for the templating-engines, Template, Session and Tidy
  55. Michael Fellinger <m.fellinger@gmail.com>**20070613105351]
  56. [Add a couple of docs for Action and Dispatcher
  57. Michael Fellinger <m.fellinger@gmail.com>**20070613103539]
  58. [experimental compiling of templates, don't use it yet unless you are in serious demand of large speed-increase for mostly static templates.
  59. Michael Fellinger <m.fellinger@gmail.com>**20070613044247]
  60. [Xosd should be able to display multiple lines at once.
  61. Michael Fellinger <m.fellinger@gmail.com>**20070613043247]
  62. [Optional dynamic font size for XOSD
  63. Clive Crous <clive@crous.co.za>**20070612174159]
  64. [change @template_root of controller when not given
  65. Jonathan Buch <jo@helloit.fi>**20070611162751]
  66. [simplify the template handling again, removing the (for now) unused Global.compile option
  67. Michael Fellinger <m.fellinger@gmail.com>**20070611110808]
  68. [add a Cache::startup for bulk initialization, clear the Cache.compiled and Cache.resolved on SourceReloadHooks#after_safe_load_succeed
  69. Michael Fellinger <m.fellinger@gmail.com>**20070611110005]
  70. [Improve performance by caching path lookups (need to add invalidation on SourceReload).
  71. Michael Fellinger <m.fellinger@gmail.com>**20070611103742]
  72. [add the example i use to find memory-leaks, might be useful for someone.
  73. Michael Fellinger <m.fellinger@gmail.com>**20070610233512]
  74. [Fix memory-leak, Action should _never_ _ever_ use traits.
  75. Michael Fellinger <m.fellinger@gmail.com>**20070610232713]
  76. [Fixing Controller.current
  77. Michael Fellinger <m.fellinger@gmail.com>**20070610225405]
  78. [round up last patch, adding some files i overlooked and removing deprecated ones.
  79. Michael Fellinger <m.fellinger@gmail.com>**20070610155119]
  80. [Huge refactoring, making Action the central part for rendering. Please take a look at the changes until I can write some comprehensive summary (or wait with applying).
  81. Michael Fellinger <m.fellinger@gmail.com>**20070610154623]
  82. [Fix OpenID helper IdentityHelper
  83. Michael Fellinger <m.fellinger@gmail.com>**20070608091939]
  84. [Pager doesn't need Og anymore, small comment about exit! in adapter
  85. Jonathan Buch <jo@helloit.fi>**20070608081943]
  86. [rather big change to Ezamar, fitting it to be able to compile before evaluation.
  87. Michael Fellinger <m.fellinger@gmail.com>**20070607114704]
  88. [add usage of Global.compile for erubis
  89. Michael Fellinger <m.fellinger@gmail.com>**20070607111650]
  90. [use tested doc in Controller::render
  91. Michael Fellinger <m.fellinger@gmail.com>**20070607111402]
  92. [get rid of a warning about undefined @files/@paths in sourereload
  93. Michael Fellinger <m.fellinger@gmail.com>**20070607044428]
  94. [Introducing experimental cached compilation (for HAML so far, and not ready for production, just a prototype) turn on Global.compile at your own risk ;)
  95. Michael Fellinger <m.fellinger@gmail.com>**20070607044136]
  96. [As expected, adding tests shows bugs :)
  97. rff.rff@gmail.com**20070605210326
  98.  
  99. ]
  100. [CGI.rb has extremely bad names.
  101. rff.rff@gmail.com**20070605203514
  102. escape() does url_encode
  103. unescape does url_decode
  104. so renamed them to this.
  105. Also added html_escape and html_unescape
  106. and one-letter aliases h and u.
  107. This behaviour comes for free by including ERb::Util but I don't know
  108. if we want to load all that (I'd say yes).
  109. All tests still pass, so the test suite is incomplete.
  110. ]
  111. [ramaze with no opts should return -1
  112. rff.rff@gmail.com**20070605193343]
  113. [ENV SWIFT and EVENT now trigger require of swiftiplied or evented mongrel
  114. Michael Fellinger <m.fellinger@gmail.com>**20070606032545]
  115. [caching for our custom Request#params
  116. Michael Fellinger <m.fellinger@gmail.com>**20070605150620]
  117. [fixing all those annoying spaces on empty lines and adapt the add-copyright task not to add one automatically but just notice.
  118. Michael Fellinger <m.fellinger@gmail.com>**20070605110856]
  119. [mapping explanation in proto
  120. rff.rff@gmail.com**20070605105858]
  121. [first TestDoc task
  122. Michael Fellinger <m.fellinger@gmail.com>**20070605105608]
  123. [fix typo in LinkHelper doc
  124. Michael Fellinger <m.fellinger@gmail.com>**20070605105322]
  125. [remove Base and Index as default mappings to '/'
  126. Michael Fellinger <m.fellinger@gmail.com>**20070605105003]
  127. [proto enhancement
  128. rff.rff@gmail.com**20070605094901
  129. * integrated action-method, template and Page element
  130. * added a template-less action
  131. * changed index so that it gives slightly nicer informations
  132. ]
  133. [update the authors task and doc/AUTHORS
  134. Michael Fellinger <m.fellinger@gmail.com>**20070605034048]
  135. [little clarification of code in Controller::render
  136. Michael Fellinger <m.fellinger@gmail.com>**20070605033155]
  137. [extend PartialHelper with render_template
  138. Michael Fellinger <m.fellinger@gmail.com>**20070605033013]
  139. [Add :collect trait to Localize, disable collecting for more speed
  140. Jonathan Buch <jo@helloit.fi>**20070604141845]
  141. [pager need og/collection to run
  142. rff.rff@gmail.com**20070603170842]
  143. [use HAsh#fetch when getting trait or default in render.rb
  144. rff.rff@gmail.com**20070603165119]
  145. [Controller::cached? #=> Controller::should_cache?
  146. Michael Fellinger <m.fellinger@gmail.com>**20070603101809]
  147. [remove the mostly static trait :transform_pipeline in Ezamar with a constant, watch out since that may affect your code if you added custom transformers.
  148. Michael Fellinger <m.fellinger@gmail.com>**20070603072136]
  149. [add automatic require for win32console on windows (if installed) and sanitize @colorize/trait[:colorize] a bit
  150. Michael Fellinger <m.fellinger@gmail.com>**20070528151056]
  151. [add docs for Controller::render
  152. Michael Fellinger <m.fellinger@gmail.com>**20070602184401]
  153. [Controller::render gets a default empty array for params and params are each called .to_s upon to make escaping possible and unify the effects of calling internal against being called external.
  154. Michael Fellinger <m.fellinger@gmail.com>**20070602183802]
  155. [Add render partial implementation + specs
  156. Jonathan Buch <jo@helloit.fi>**20070602085828]
  157. [constantize a couple of traits in Dispatcher, Dispatcher.trait[:handle_error] is now Dispatcher::Error::HANDLE_ERROR, Dispatcher::Action.trait[:filter] is now Dispatcher::Action::FILTER, sanitize error spec and add some docs.
  158. Michael Fellinger <m.fellinger@gmail.com>**20070601054206]
  159. [Common error classes, tiny change to Global, StackHelper expects url instead of using R() itself
  160. Jonathan Buch <jo@helloit.fi>**20070601073118]
  161. [some santizing and docs for Session.
  162. Michael Fellinger <m.fellinger@gmail.com>**20070531115106]
  163. [speed up path resolution a little bit by directly instantinating Action
  164. Michael Fellinger <m.fellinger@gmail.com>**20070531112914]
  165. [fixing link building of the whywiki example
  166. Martin Hilbig blueonyx@dev-area.net**20070531091245]
  167. [document Informing and add some minor speed increase (increase will be smaller than most loggers would take to actual output)
  168. Michael Fellinger <m.fellinger@gmail.com>**20070531034608]
  169. [DRY up template.rb and add some docs
  170. Michael Fellinger <m.fellinger@gmail.com>**20070531032129]
  171. [docs for Action
  172. Michael Fellinger <m.fellinger@gmail.com>**20070530121906]
  173. [a couple of docs for Controller
  174. Michael Fellinger <m.fellinger@gmail.com>**20070530121441]
  175. [make the life for people who want to run specs without RUBYOPT easier
  176. Michael Fellinger <m.fellinger@gmail.com>**20070530083719]
  177. [small update to the FAQ
  178. Michael Fellinger <m.fellinger@gmail.com>**20070530050031]
  179. [add a Inform.ignored_tags so you can skip tags like :debug easily
  180. Michael Fellinger <m.fellinger@gmail.com>**20070530045400]
  181. [split up SourceReloadHooks::after_safe_load into after_safe_load_failed and after_safe_load_succeed, you get additionally the error-object on failure (also fix the s/save/safe typo)
  182. Michael Fellinger <m.fellinger@gmail.com>**20070530045149]
  183. [put the hooks into their own module SourceReloadHooks
  184. Michael Fellinger <m.fellinger@gmail.com>**20070530044241]
  185. [another wrapper, this time around save_load, with file and status for after
  186. Michael Fellinger <m.fellinger@gmail.com>**20070529125103]
  187. [SourceReload#before_reload/after_reload method stubs, to be filled by YOU :)
  188. Michael Fellinger <m.fellinger@gmail.com>**20070529124135]
  189. [Controller.trait[:template_extensions] is now Controller:TEMPLATE_ENGINES and retains order of your engines as you require them, you can also change it afterwards easily (wasn't possible with the Hash we used before)
  190. Michael Fellinger <m.fellinger@gmail.com>**20070529084946]
  191. [flatten atoms for R()
  192. Michael Fellinger <m.fellinger@gmail.com>**20070529071331]
  193. [fix LinkHelper to use Controller.current instead of self
  194. Michael Fellinger <m.fellinger@gmail.com>**20070529071051]
  195. [fixing memcached for multithreading
  196. Michael Fellinger <m.fellinger@gmail.com>**20070528141851]
  197. [Global.public_root went Global.public_proto and Controller.public_root went Global.public_root
  198. Michael Fellinger <m.fellinger@gmail.com>**20070528130202]
  199. [typo in LinkHelper docs
  200. Michael Fellinger <m.fellinger@gmail.com>**20070528130105]
  201. [Add PagerHelper (port from Nitro)
  202. Jonathan Buch <jo@helloit.fi>**20070528113953]
  203. [add a release task
  204. Michael Fellinger <m.fellinger@gmail.com>**20070528021404]
  205. [TAG 0.1.1
  206. Michael Fellinger <m.fellinger@gmail.com>**20070526204752]
  207. Patch bundle hash:
  208. c04b94a7283105f5430a20f56cdfdd3a7cc5ba8e
Add Comment
Please, Sign In to add comment