1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
Commit graph

29 commits

Author SHA1 Message Date
Mark Burns
93191523ba trailing whitespace 2012-03-03 14:01:19 +00:00
Thiago Almeida
852b64744b merged from current master 2012-02-13 15:14:49 -02:00
Thiago Almeida
65451cfdf2 draper:decorator also defaults to rspec test-framework 2012-02-13 13:50:32 -02:00
Steve Klabnik
56ce55addb Zomg removing trailing whitespace. 2012-02-13 10:24:31 -05:00
Jeff Casimir
f3f32233cd Merge branch 'install_generator' of https://github.com/angelim/draper-1 into generators 2012-01-16 07:54:06 -05:00
Jeff Casimir
69e472b270 Merge pull request #81 from leocassarani/master
Remove trailing whitespace from decorator templates
2011-11-30 08:17:54 -08:00
Alexandre Angelim
7d6789444b Splitting draper:decorator into draper:install and draper:decorator, so I won't lose all my decorators when trying to destroy one of them (again!).
- run rails g draper:install to create draper directories (app/decorators and spec/decorators), along with application_decorator files.
- use rails g draper:install -t=test_unit to select unit tests instead of rspec.
2011-11-30 14:07:15 -02:00
Duncan Beevers
a5a3c38770 Specs at spec/decorators prime the view context 2011-11-28 20:04:38 -06:00
Leo Cassarani
669951badf Remove trailing whitespace and fix grammar for decorator template 2011-11-13 16:26:38 +00:00
Leo Cassarani
6d1bc13962 Remove trailing whitespace from application_decorator template 2011-11-13 16:24:46 +00:00
Cyril Mougel
27d49ba5e6 Change the usage of lazy_helper by include Draper::LazyHelpers in generator template 2011-11-06 11:43:29 +01:00
Benny Wong
ca3cf912e0 Add a Test::Unit generator and hook to create default decorator tests 2011-10-19 23:17:01 -04:00
Benny Wong
fa4f2ebbd5 Add a RSpec generator and hook to create default decorator specs 2011-10-17 02:45:22 -04:00
Alexander Pauly
94ecaaf643 Added callback to the generator to enable chaining 2011-09-14 19:57:16 +02:00
Alexander Pauly
00cec639c0 Added hook for replacing helper generator 2011-09-14 11:06:43 +02:00
Jeff Casimir
fc606e1d56 Update README and generator templates to use lazy_helpers and draper:decorator 2011-08-16 21:44:43 -07:00
Jeff Casimir
56d2b7a118 WTF have I done to this branch 2011-08-16 21:35:56 -07:00
Jeff Casimir
e4477b3993 Resolve conflict in loading' 2011-08-16 21:28:12 -07:00
Jeff Casimir
9d8a0c7bb8 Fixing USAGE to respect renaming 2011-08-16 21:24:29 -07:00
Jeff Casimir
04fe62db0f Rename existing generator from draper:model to draper:decorator 2011-08-02 23:03:17 -07:00
Jeff Casimir
c5ab592326 Use h. proxy in examples 2011-07-29 20:36:38 -05:00
Jeff Casimir
c0b05bf449 Don't attempt to overwrite an existing ApplicationDecorator 2011-07-29 20:33:39 -05:00
Jeff Casimir
d7f154c978 Generate and inherit from ApplicationDecorator 2011-07-29 20:22:18 -05:00
Jeff Casimir
19fc9fcbbf Template for ApplicationDecorator 2011-07-29 20:17:22 -05:00
Jeff Casimir
5938954616 Update template to generate 'decorates' line 2011-07-23 08:44:59 -07:00
Jeff Casimir
6c78b6cca6 Sleepy cowboy coding on the train 2011-07-13 01:00:10 -04:00
Jeff Casimir
d053510bb6 update generated model's instructions to use allows/denies 2011-06-30 18:46:09 -04:00
Jeff Casimir
c1b4747e51 Typo in generator template 2011-06-30 18:23:19 -04:00
Jeff Casimir
a3804b0662 Bring over generator structure from rails_decorators 2011-06-30 18:19:48 -04:00