watts
6 years agoThis technically works, but is sub-optimal semantically. master
Pete Elmore [Sat, 6 Jan 2018 02:28:38 +0000 (18:28 -0800)]
This technically works, but is sub-optimal semantically.

Essentially, it allows Resource classes to inherit seamlessly, but only
if you write them in order.  So, not *real* inheritance.

6 years agoSpeedup.
Pete Elmore [Wed, 12 Jul 2017 00:52:07 +0000 (17:52 -0700)]
Speedup.

The benchmark I've been using had Watts at 90% of the speed of bare Rack, but
now it is showing 95%.

This code is definitely faster (no tradeoff) but I should find another
benchmark to avoid hyperoptimizing.

6 years agoVersion bump
Pete Elmore [Sat, 8 Jul 2017 22:07:25 +0000 (15:07 -0700)]
Version bump

6 years agoTest that out! v1.0.5
Pete Elmore [Sat, 8 Jul 2017 18:39:06 +0000 (11:39 -0700)]
Test that out!

6 years agoFix a bug, clean up a test case.
Pete Elmore [Sat, 8 Jul 2017 18:34:18 +0000 (11:34 -0700)]
Fix a bug, clean up a test case.

6 years agoJust another
Pete Elmore [Wed, 5 Jul 2017 05:34:30 +0000 (22:34 -0700)]
Just another
useless
README
twiddle
sir

6 years agoFix the abuse of backticks foisted upon the README by GFM.
Pete Elmore [Wed, 5 Jul 2017 05:27:09 +0000 (22:27 -0700)]
Fix the abuse of backticks foisted upon the README by GFM.

Made the text read worse in the only environment that actually matters:  the
text editor.

6 years agoI was kidding about the 'push -f' bit. But if GH's markdown does not render
Pete Elmore [Wed, 5 Jul 2017 05:22:03 +0000 (22:22 -0700)]
I was kidding about the 'push -f' bit.  But if GH's markdown does not render
a Gameboy sprite properly, it is entirely useless as a piece of software.

(Technically it's not the markdown processor but their CSS, which adds space
between the lines.  Using their markdown syntax is lame for philosophical
reasons, but this is at least one practical reason.)

6 years agoMaybe if I anger Github enough, I'll come up with a way to get it to draw this
Pete Elmore [Wed, 5 Jul 2017 05:12:08 +0000 (22:12 -0700)]
Maybe if I anger Github enough, I'll come up with a way to get it to draw this
guy correctly.

6 years agoIt absolutely butchers the carefully crafted (okay, *generated*) sprite,
Pete Elmore [Wed, 5 Jul 2017 05:05:13 +0000 (22:05 -0700)]
It absolutely butchers the carefully crafted (okay, *generated*) sprite,
and this might be an absolute dealbreaker.

6 years agoLet's see how terrible this is before I push -f it out of existence.
Pete Elmore [Wed, 5 Jul 2017 05:00:05 +0000 (22:00 -0700)]
Let's see how terrible this is before I push -f it out of existence.

6 years agoLet's see how badly this renders on github as-is.
Pete Elmore [Wed, 5 Jul 2017 04:55:20 +0000 (21:55 -0700)]
Let's see how badly this renders on github as-is.

6 years agoGithub does not like the equals signs; rdoc no longer seems to like my README.
Pete Elmore [Wed, 5 Jul 2017 04:52:06 +0000 (21:52 -0700)]
Github does not like the equals signs; rdoc no longer seems to like my README.

True story:  your markdown syntax matters less than how often you change it.

6 years agoTwiddle syntax uselessly.
Pete Elmore [Wed, 5 Jul 2017 04:47:43 +0000 (21:47 -0700)]
Twiddle syntax uselessly.

6 years agoWatts needed Watts.
Pete Elmore [Wed, 5 Jul 2017 04:47:25 +0000 (21:47 -0700)]
Watts needed Watts.

7 years agoUpdate the gemspec, and correct some braggin' slightly.
Pete Elmore [Tue, 1 Nov 2016 09:15:01 +0000 (02:15 -0700)]
Update the gemspec, and correct some braggin' slightly.

On a side note, I probably ought to move the spec out of the Rakefile.  Old
codebases, man.

7 years ago...Could not resist. v1.0.4
Pete Elmore [Tue, 1 Nov 2016 08:04:51 +0000 (01:04 -0700)]
...Could not resist.

7 years agoDoc cleanup, update copyright in doc/LICENSE.
Pete Elmore [Tue, 1 Nov 2016 08:01:06 +0000 (01:01 -0700)]
Doc cleanup, update copyright in doc/LICENSE.

7 years agoDocument the new constants.
Pete Elmore [Tue, 1 Nov 2016 07:52:41 +0000 (00:52 -0700)]
Document the new constants.

7 years agoAll right, that puts us over at 94% coverage.
Pete Elmore [Tue, 1 Nov 2016 07:42:38 +0000 (00:42 -0700)]
All right, that puts us over at 94% coverage.

The only thing *not* covered is the extra "view class" stuff, which I actually
don't even use when I'm using Hoshi.  It should probably be removed.

7 years agoSupport code coverage in the tests.
Pete Elmore [Tue, 1 Nov 2016 07:42:28 +0000 (00:42 -0700)]
Support code coverage in the tests.

7 years agoFlesh out the tests further.
Pete Elmore [Tue, 1 Nov 2016 07:16:11 +0000 (00:16 -0700)]
Flesh out the tests further.

7 years agoFix a bug, and stop doing a bit of senseless work. Speculative changes.
Pete Elmore [Tue, 1 Nov 2016 07:15:00 +0000 (00:15 -0700)]
Fix a bug, and stop doing a bit of senseless work.  Speculative changes.

7 years agorm useless .gitignore files, from an era where they made sense.
Pete Elmore [Tue, 1 Nov 2016 07:10:03 +0000 (00:10 -0700)]
rm useless .gitignore files, from an era where they made sense.

This repo is seven years old.  git was younger.

7 years agoA few minor performance enhancements.
Pete Elmore [Tue, 1 Nov 2016 05:44:29 +0000 (22:44 -0700)]
A few minor performance enhancements.

8 years agoMinor doc changes that have been sitting around, uncommitted, for a while.
Pete Elmore [Tue, 15 Mar 2016 06:06:40 +0000 (23:06 -0700)]
Minor doc changes that have been sitting around, uncommitted, for a while.

9 years agoresource() is verbose to the point of being distracting for large apps.
Pete Elmore [Mon, 8 Sep 2014 01:44:26 +0000 (18:44 -0700)]
resource() is verbose to the point of being distracting for large apps.

(I don't like to make large apps, but sometimes I have to.)

9 years agoA readme change. I can't believe how long that sat there.
Pete Elmore [Mon, 8 Sep 2014 01:30:15 +0000 (18:30 -0700)]
A readme change.  I can't believe how long that sat there.

Just because it goes a while between updates doesn't mean it's abandoned,
by the way.  It might just mean that it doesn't have any known bugs and that
its maintainer, who uses it in production, prefers to avoid design decisions
that he will regret.  :)

11 years agoSomewhat better for symbols.
Pete Elmore [Fri, 9 Nov 2012 00:30:01 +0000 (16:30 -0800)]
Somewhat better for symbols.

11 years agoBump the version post-tag. v1.0.3
Pete Elmore [Thu, 25 Oct 2012 02:51:56 +0000 (19:51 -0700)]
Bump the version post-tag.

11 years agoNo more metaid dependency, fix a path-generation bug. v1.0.2
Pete Elmore [Thu, 25 Oct 2012 02:05:45 +0000 (19:05 -0700)]
No more metaid dependency, fix a path-generation bug.

11 years agoD:<
Pete Elmore [Tue, 28 Aug 2012 20:23:08 +0000 (13:23 -0700)]
D:<

11 years agoStarting on 1.0.2!
Pete Elmore [Tue, 21 Aug 2012 06:54:54 +0000 (23:54 -0700)]
Starting on 1.0.2!

11 years agoForgot to bump the version. Math is hard, let's go shopping. v1.0.1
Pete Elmore [Tue, 21 Aug 2012 06:52:14 +0000 (23:52 -0700)]
Forgot to bump the version.  Math is hard, let's go shopping.

11 years agoWell, that was easy.
Pete Elmore [Tue, 21 Aug 2012 06:51:06 +0000 (23:51 -0700)]
Well, that was easy.

11 years agoSo...this test fails. Time to untorture some logic.
Pete Elmore [Tue, 21 Aug 2012 06:46:06 +0000 (23:46 -0700)]
So...this test fails.  Time to untorture some logic.

11 years agoWhoops, this was in the gem but not the git.
Pete Elmore [Mon, 25 Jun 2012 19:08:40 +0000 (12:08 -0700)]
Whoops, this was in the gem but not the git.

11 years agoScrew you, deprication warning, I require() what I want!
Pete Elmore [Sun, 24 Jun 2012 00:47:23 +0000 (17:47 -0700)]
Screw you, deprication warning, I require() what I want!

11 years agoI call it 1.0. I don't even care. v1.0.0
Pete Elmore [Sun, 24 Jun 2012 00:45:47 +0000 (17:45 -0700)]
I call it 1.0.  I don't even care.

11 years agoFix a bug with dups in Allow:, add auto_head.
Pete Elmore [Sun, 24 Jun 2012 00:43:28 +0000 (17:43 -0700)]
Fix a bug with dups in Allow:, add auto_head.

11 years agoWhoops...I added a test and realized that this Rakefile wouldn't run it.
Pete Elmore [Sun, 24 Jun 2012 00:42:25 +0000 (17:42 -0700)]
Whoops...I added a test and realized that this Rakefile wouldn't run it.

12 years agoBump the version number.
Pete Elmore [Mon, 1 Aug 2011 20:34:03 +0000 (13:34 -0700)]
Bump the version number.

12 years agoTODO has an entry. v0.0.7
Pete Elmore [Mon, 1 Aug 2011 20:32:56 +0000 (13:32 -0700)]
TODO has an entry.

12 years agoChange the examples to .ru files.
Pete Elmore [Mon, 1 Aug 2011 20:13:32 +0000 (13:13 -0700)]
Change the examples to .ru files.

12 years agoThose should've been rackup files.
Pete Elmore [Mon, 1 Aug 2011 20:02:46 +0000 (13:02 -0700)]
Those should've been rackup files.

13 years agoTurns out you are supposed to return a 501. RFC2616, 10.5.2:
Pete Elmore [Thu, 17 Mar 2011 00:33:09 +0000 (17:33 -0700)]
Turns out you are supposed to return a 501.  RFC2616, 10.5.2:
   The server does not support the functionality required to fulfill the
   request. This is the appropriate response when the server does not
   recognize the request method and is not capable of supporting it for
   any resource.

13 years agoRackup file; makes it easier to test. May convert other examples.
Pete Elmore [Tue, 15 Mar 2011 23:52:41 +0000 (16:52 -0700)]
Rackup file; makes it easier to test.  May convert other examples.

13 years agoVersion bump.
Pete Elmore [Tue, 15 Mar 2011 23:51:26 +0000 (16:51 -0700)]
Version bump.

13 years agoFix reliance on a deprecated rack variable! v0.0.6
Pete Elmore [Tue, 15 Mar 2011 23:49:51 +0000 (16:49 -0700)]
Fix reliance on a deprecated rack variable!
(cf. http://rack.rubyforge.org/doc/SPEC.html )

13 years agoVersion bump.
Pete Elmore [Fri, 11 Mar 2011 02:16:54 +0000 (18:16 -0800)]
Version bump.

13 years agoAdding two features ahead of LARuby Meetup in...48 minutes. I am a cowboy. v0.0.5
Pete Elmore [Fri, 11 Mar 2011 02:12:50 +0000 (18:12 -0800)]
Adding two features ahead of LARuby Meetup in...48 minutes.  I am a cowboy.

13 years agoFix a couple of other length/bytesize issues, and make Rack::Lint stop bitching.
Pete Elmore [Thu, 10 Mar 2011 05:06:44 +0000 (21:06 -0800)]
Fix a couple of other length/bytesize issues, and make Rack::Lint stop bitching.

13 years agoBump version to 0.0.5.
Pete Elmore [Thu, 3 Mar 2011 00:20:30 +0000 (16:20 -0800)]
Bump version to 0.0.5.

13 years agoThat is damned embarassing. v0.0.4
Pete Elmore [Thu, 3 Mar 2011 00:18:43 +0000 (16:18 -0800)]
That is damned embarassing.

13 years agoVersion bump: on time this time.
Pete Elmore [Fri, 28 Jan 2011 03:17:02 +0000 (19:17 -0800)]
Version bump:  on time this time.

13 years agoUpdate the readme while I'm here... v0.0.3
Pete Elmore [Fri, 28 Jan 2011 03:15:50 +0000 (19:15 -0800)]
Update the readme while I'm here...

13 years agoPath generation. Watts bloats up to 311 lines and has tests.
Pete Elmore [Fri, 28 Jan 2011 03:10:27 +0000 (19:10 -0800)]
Path generation.  Watts bloats up to 311 lines and has tests.

13 years agoVersion bump.
Pete Elmore [Fri, 28 Jan 2011 03:09:22 +0000 (19:09 -0800)]
Version bump.

13 years agoIgnore generated rdoc.
Pete Elmore [Fri, 28 Jan 2011 03:07:38 +0000 (19:07 -0800)]
Ignore generated rdoc.

13 years agoLet's also do that for plain responses. v0.0.2
Pete Elmore [Wed, 2 Jun 2010 04:25:31 +0000 (21:25 -0700)]
Let's also do that for plain responses.

13 years agoSet a content length for views. I wanted to see how much HTML I was actually
Pete Elmore [Wed, 2 Jun 2010 04:22:52 +0000 (21:22 -0700)]
Set a content length for views.  I wanted to see how much HTML I was actually
generating.

13 years agoRack wants something that yields strings in response to #each. Lessons learned!
Pete Elmore [Tue, 1 Jun 2010 22:26:00 +0000 (15:26 -0700)]
Rack wants something that yields strings in response to #each.  Lessons learned!

13 years agoBump to 0.0.2.
Pete Elmore [Tue, 1 Jun 2010 21:56:36 +0000 (14:56 -0700)]
Bump to 0.0.2.

13 years agoI just use 'tmp/' as an excuse to make a mess all over my hard drive. v0.0.1
Pete Elmore [Tue, 1 Jun 2010 21:28:31 +0000 (14:28 -0700)]
I just use 'tmp/' as an excuse to make a mess all over my hard drive.

13 years agoEnhancement.
Pete Elmore [Tue, 1 Jun 2010 21:19:59 +0000 (14:19 -0700)]
Enhancement.

13 years agoUpdate the examples' README.
Pete Elmore [Tue, 1 Jun 2010 21:19:45 +0000 (14:19 -0700)]
Update the examples' README.

13 years agoI suppose I should mention this somewhere.
Pete Elmore [Tue, 1 Jun 2010 21:11:58 +0000 (14:11 -0700)]
I suppose I should mention this somewhere.

13 years agoI can never remember that formatting.
Pete Elmore [Tue, 1 Jun 2010 20:41:49 +0000 (13:41 -0700)]
I can never remember that formatting.

13 years agoYeah, that should probably be documented.
Pete Elmore [Tue, 1 Jun 2010 20:39:50 +0000 (13:39 -0700)]
Yeah, that should probably be documented.

13 years agoIt stopped making sense.
Pete Elmore [Tue, 1 Jun 2010 20:23:22 +0000 (13:23 -0700)]
It stopped making sense.

13 years agoA mystery.
Pete Elmore [Tue, 1 Jun 2010 20:22:57 +0000 (13:22 -0700)]
A mystery.

13 years agoWell, I tell you, it's not in doc/.
Pete Elmore [Tue, 1 Jun 2010 20:17:53 +0000 (13:17 -0700)]
Well, I tell you, it's not in doc/.

13 years agoWHERE IS YOUR README NOW
Pete Elmore [Tue, 1 Jun 2010 20:17:36 +0000 (13:17 -0700)]
WHERE IS YOUR README NOW

13 years agoIt had been bugging me...because it was a bug.
Pete Elmore [Tue, 1 Jun 2010 20:17:20 +0000 (13:17 -0700)]
It had been bugging me...because it was a bug.

13 years agoThat was a fun one.
Pete Elmore [Tue, 1 Jun 2010 19:04:53 +0000 (12:04 -0700)]
That was a fun one.

13 years agoOkay, here you go.
Pete Elmore [Tue, 1 Jun 2010 19:04:43 +0000 (12:04 -0700)]
Okay, here you go.

13 years agoBUGS!
Pete Elmore [Tue, 1 Jun 2010 19:04:34 +0000 (12:04 -0700)]
BUGS!

13 years agoTwo simple examples.
Pete Elmore [Tue, 1 Jun 2010 05:35:53 +0000 (22:35 -0700)]
Two simple examples.

13 years agoDocumentate.
Pete Elmore [Tue, 1 Jun 2010 05:27:40 +0000 (22:27 -0700)]
Documentate.

13 years agoSet a year in the license.
Pete Elmore [Tue, 1 Jun 2010 04:37:07 +0000 (21:37 -0700)]
Set a year in the license.

13 years agoAdded dumb-simple support for HTML view classes, moved method dispatch logic,
Pete Elmore [Tue, 1 Jun 2010 04:02:54 +0000 (21:02 -0700)]
Added dumb-simple support for HTML view classes, moved method dispatch logic,
tiny cleanings-up, and it's still not 200 lines.

13 years agoYou will need.
Pete Elmore [Mon, 31 May 2010 10:29:19 +0000 (03:29 -0700)]
You will need.

13 years agoFix that.
Pete Elmore [Mon, 31 May 2010 10:05:25 +0000 (03:05 -0700)]
Fix that.

13 years agoAnd here you have it. A framework that doesn't even exist.
Pete Elmore [Mon, 31 May 2010 07:45:20 +0000 (00:45 -0700)]
And here you have it.  A framework that doesn't even exist.

13 years agoSpecificify the rack file.
Pete Elmore [Mon, 31 May 2010 07:45:02 +0000 (00:45 -0700)]
Specificify the rack file.

14 years agoNew email...again.
Pete Elmore [Fri, 7 May 2010 21:59:29 +0000 (14:59 -0700)]
New email...again.

14 years agoGithub doesn't even do that any more.
Pete Elmore [Fri, 7 May 2010 21:58:42 +0000 (14:58 -0700)]
Github doesn't even do that any more.

14 years agoA new email for the ages.
Pete Elmore [Fri, 7 May 2010 21:58:19 +0000 (14:58 -0700)]
A new email for the ages.

14 years agoIgnore the pkg directory.
Pete Elmore [Fri, 24 Jul 2009 19:10:55 +0000 (12:10 -0700)]
Ignore the pkg directory.

15 years agoYeah...
Pete Elmore [Fri, 6 Mar 2009 01:56:19 +0000 (17:56 -0800)]
Yeah...

15 years agoAdding an IRB task.
Pete Elmore [Wed, 28 Jan 2009 23:57:19 +0000 (15:57 -0800)]
Adding an IRB task.

15 years agoSome Rakefile changes to install proper versions of gems and to generate rdoc.
Pete Elmore [Wed, 14 Jan 2009 21:31:16 +0000 (13:31 -0800)]
Some Rakefile changes to install proper versions of gems and to generate rdoc.

15 years agoAdding some doc files.
Pete Elmore [Wed, 14 Jan 2009 21:31:00 +0000 (13:31 -0800)]
Adding some doc files.

15 years agoInitial git checkin. All these damn gitignore files. :(
Pete Elmore [Thu, 3 Jul 2008 21:28:02 +0000 (14:28 -0700)]
Initial git checkin.  All these damn gitignore files.  :(