/[Frey]/trunk/etc/config.yml
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/etc/config.yml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 455 - (hide annotations)
Wed Nov 19 15:28:23 2008 UTC (15 years, 4 months ago) by dpavlin
File size: 1134 byte(s)
rename invocable events with prefix as_ with fallback in Frey::Web

This started with brute-force rename using:

  perl -p -i -n -e 's/sub markup/sub as_markup/'  `grep -lr 'sub markup' lib t`
  perl -p -i -n -e 's/sub data/sub as_data/'      `grep -lr 'sub data' lib t`
  perl -p -i -n -e 's/sub sponge/sub as_sponge/'  `grep -lr 'sub sponge' lib t`

  perl -p -i -n -e 's/->markup/->as_markup/'      `grep -lr -- '->markup' lib t`
  perl -p -i -n -e 's/->data/->as_data/'          `grep -lr -- '->data' lib t`
  perl -p -i -n -e 's/->sponge/->as_sponge/'      `grep -lr -- '->sponge' lib t`

  perl -p -i -n -e 's!/markup!/as_markup!'        `grep -lr -- '/markup' lib t etc`
  perl -p -i -n -e 's!/data!/as_data!'            `grep -lr -- '/data' lib t etc`
  perl -p -i -n -e 's!/sponge!/as_sponge!'        `grep -lr -- '/sponge' lib t etc`

1 dpavlin 219 'Test::Mock':
2     config: 'loaded'
3    
4 dpavlin 323 'Frey::DelIcioUs':
5 dpavlin 219 username: test
6     password: test
7 dpavlin 341
8     'Frey::Server':
9     port: 16001
10 dpavlin 343
11 dpavlin 348 'Frey::Feed':
12     # GeoRSS example
13     - uri: 'http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&output=georss&msid=100049269352981339433.00045ac7a8303812d8698'
14     # Atom feed
15     - uri: 'http://labs.kraih.com/blog/atom.xml'
16     # RSS feed
17     - uri: 'https://blog.rot13.org/index.xml'
18    
19 dpavlin 368 'Frey::Pipe':
20 dpavlin 455 - pipe: 'Frey::Feed/as_data+uri=https://blog.rot13.org/index.xml|Frey::Dumper/as_markup'
21     - pipe: 'Frey::DelIcioUs/as_data|Frey::Dumper/as_markup'
22     - pipe: 'Frey::DelIcioUs/as_sponge|Frey::SQL/as_data?query=select description,href,tag,extended,time from sponge order by time desc limit 10|Frey::Dumper/as_markup'
23     - pipe: 'Frey::DelIcioUs/as_data|Frey::JSON/as_markup'
24     - pipe: 'Frey::DelIcioUs/as_sponge|Frey::View::Exhibit/as_data'
25     - pipe: 'Frey::DelIcioUs/as_sponge|Frey::View::Exhibit/as_data|Frey::Dumper/as_markup'
26     - pipe: 'Frey::DelIcioUs/as_sponge|Frey::View::Exhibit/as_data|Frey::JSON/as_markup'
27 dpavlin 368
28 dpavlin 343 # local application
29     'A3C::Schema':
30     dsn: 'dbi:Pg:dbname=a3c'
31     # dsn: 'dbi:SQLite:dbname=./var/a3c.sqlite'

  ViewVC Help
Powered by ViewVC 1.1.26