search for: jasongarber

Displaying 14 results from an estimated 14 matches for "jasongarber".

2006 Nov 06
1
Integration testing: coupling of get and post on forms
This is such a vague request it''s not even worthy of a ticket, but: When rspec does support integration testing, it''d be really nice to be able to do things like this plugin does for standard Rails tests: http://www.jasongarber.com/articles/2006/10/24/easier-testing-of-forms-form_test_helper In a nutshell, it finally closes the loop between "the empty form sent by a get" and "the filled-in form returned on a post". Instead of blindly posting parameters, you''re now actually filling in form...
2008 Mar 15
8
Now what?
> $ rake test > /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/ > rake-0.7.3/lib/rake/rake_test_loader.rb" "test/test_formatters.rb" > "test/test_parser.rb" > Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/ > rake_test_loader > Started >
2007 Jul 16
6
Advice regarding extending RedCloth
Hello, I am in a bit of a bind. I need to reliably parse mediawiki markup to html, and the only parser that I can find (mediacloth) has a lot to be desired, so I would like to extend something that works and parse mediawiki markup. My question to this list is should I start working on RedCloth or SuperRedCloth or is there a difference as far as extending them? Also does anyone know of a write up
2009 Jun 07
1
Close to a 4.2 release; experimenting with Ragel alternatives
...9;'s an english phrase). Could you describe more precisely what you are missing with ragel ? I''m parsing about anything I want with this thing but maybe I''m too dumb to see the walls I''m running into... Gaspard On Sun, Jun 7, 2009 at 12:59 PM, Jason Garber<jg at jasongarber.com> wrote: > I just went through the ticket list and dropped a bunch from the 4.2 > milestone that are just too difficult with Ragel. ?Many of them I''ve poked > at and they''ve left me saying, "how the heck am I supposed to do that!?" > ?Multi-byte content...
2011 Jan 19
3
Installing on CentOS
Hi, I''m trying to install RedCloth on CentOS. It came with ruby 1.8.5 pre-installed so I installed rubygems-1.2.0 since that seemed compatible (later versions require ruby 1.8.6). All looks good but when I try: [root at dev4 rubygems-1.2.0]# gem install RedCloth ERROR: could not find gem RedCloth locally or in a repository Can anyone tell me what I''m missing? Do I need to
2008 Mar 10
3
Only 5 tests out of 376 currently failing!
Good news! SuperRedCloth is down to just five failing tests! I was down to 10 or so in mid-February but then I added test cases from "The official reference manual for Textile 2", which added 97 new tests, many of them failing. I''m happy to say, they''re almost all passing now. Four of these last five I just need to check with you on before I deviate from
2008 Feb 21
5
Question about entities
1.) What is everyone''s preference on NCRs or character entities? Textile 2 uses decimal NCRs, so a less-than character becomes &#60; whereas RedCloth (3.04 and prior) used &lt;. What is your preference? It gets tough because &#39; (a straight single quote) doesn''t have a character entity equivalent. 2.) How do you feel about encoding characters like quotes
2008 May 13
4
hard_breaks issues
Hello, I''m new to this list, so first of all, many thanks to RedCloth''s developers, it really helps me in many ruby apps :-) I post here because I''d like to have a clear view on "hard_breaks" related issues. I saw old references on the web and on the archives on this ML, I''d like a fresh view ! It seems that RedCloth 3.0.4 does not handle
2008 Jan 07
0
HTML handling in SuperRedCloth
I''m having all kinds of fun trying to get HTML to work "properly" in SRC (mild sarcasm). I''m still working on the problem, but wanted to run it by the group. Currently, Textile2 lets you put in HTML as long as it''s in the same block (i.e. no double-returns). <ul> <li>You can put HTML code right in Textile.</li> <li>It will
2007 Dec 19
0
Convert all HTML entities within <pre> tags?
Textile 2.0.0: bc. This is within a block of code, so < and > should be *entities*. You can talk about a <p> tag if you wish and it will be properly escaped. <pre> You can''t make something actually <b>bold</b> within. </pre> Output: <pre><code>This is within a block of code, so &lt; and &gt; should be *entities*. You can
2009 Jun 10
3
Problems 4.2 installing on Windows?
I keep an old Windows machine around for making sure that RedCloth Win32 binary gems install. When I try gem update RedCloth, it just installs 4.1.9. Did I do something wrong in the gemspec? Would someone else with a windows machine try it and let me know how it goes? Jason
2008 Mar 13
3
Whitespace in SuperRedCloth
Up to now, the tests have been running with whitespace stripped out. Newlines and tabs are insignificant in HTML, so I figured why bother with them? Now I realize why: they''re significant in pre tags and they also make your code look pretty! I''ve been working to get SRC output to roughly match Tetxile2''s as far as tabs and newlines go. It''s tough and
2008 Oct 31
4
RedCloth 4.1.0 released with JRuby support
Sorry it took me a week to release the JRuby version. I was out sick most of the week. Thanks a million, Ola Bini, for implementing the Java code! Give it a go: Ruby: gem install RedCloth JRuby: jgem install RedCloth Let me know how it goes for you. Jason
2007 Aug 23
20
Eliminating bad tests from SuperRedCloth
Hi, all. I haven''t felt at liberty to go axing test cases, but some of the 33 that are failing now are ones I don''t think we want to pass? cruft coming from Markdown or made up to fill a gap some years ago. I''d like to float the proposition that we make Super (and thus RedCloth 4) behave as identically as possible to Textile2 as working on