1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

21 commits

Author SHA1 Message Date
Brian D. Burns
5a9b3b7a74 allow :dirs option for .enumerate
Allows custom rake tasks to be defined using:

  SourceAnnotationExtractor.enumerate 'TODO|FIXME', dirs: %w(app lib), tag: true
2013-01-15 14:14:05 -05:00
Brian D. Burns
7fff04f4e8 use case statement 2013-01-15 13:47:12 -05:00
Jeremy Kemper
009873aec8 Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn' 2013-01-06 21:41:36 -07:00
Antonio Cangiano
553b563749 Add db to the list of default annotation folders 2012-12-01 12:23:39 -08:00
Brent J. Nordquist
06129c0e3f Add .rake to rake notes and rake notes:custom 2012-10-12 10:52:22 -05:00
Santiago Pastorino
a0613ad8a9 Revert "Use flat_map { } instead of map {}.flatten"
This reverts commit abf8de8551.
We should take a deeper look to those cases flat_map doesn't do deep
flattening.

irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten
=> [1, 3, 1, 2]
irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i}
=> [[1, 3], [1, 2]]
2012-10-05 12:07:16 -03:00
Santiago Pastorino
abf8de8551 Use flat_map { } instead of map {}.flatten 2012-10-05 11:52:20 -03:00
Jason Noble
773123178e Fixed styling issues brought up by @jeremy 2012-04-30 07:51:23 -06:00
Jason Noble & Ralph Shnelvar
e053b415e7 Add ability to specify custom annotation directories
SOURCE_ANNOTATION_DIRECTORIES='dir1,dir2' bundle exec rake notes

   Searches app, config, lib, script, test (default)
   Also searches dir1, dir2

References: #4536, #4540
2012-04-30 07:48:36 -06:00
Teng Siong Ong
55ceced1fb rake notes and rake notes:custom now support
css, scss and css.
2012-04-22 18:45:13 -05:00
Anton Lindqvist
c5f4b20275 Fixed missing space bug introduces in rails/rails@9299bfdcd3. 2012-03-22 12:25:28 +01:00
Bartlomiej Kozal
dd8c6f0556 Display annotations from .coffee files in rake notes 2012-02-05 16:42:35 +01:00
Anton Lindqvist
9299bfdcd3 Align rake notes. 2011-12-26 16:58:30 +01:00
Vijay Dev
aa6aa9b25d revising doc 2011-12-11 22:53:59 +05:30
Kazimierz Kiełkowicz
8188d265a1 Update source_annotation_extractor comment. 2011-12-07 17:30:03 +01:00
Kazimierz Kiełkowicz
8f61df0bcd Add annotation to haml and slim template. 2011-12-07 13:17:50 +01:00
Uģis Ozols
d2f46d053f Remove .rxml, .rjs and .rhtml from source annotation regexp. 2011-12-05 21:24:09 +02:00
jwarwick
a85caaa185 Updated rake:notes to search app, config, lib, script and test dirs 2011-07-06 21:41:13 -04:00
Xavier Noria
06ae5769e1 removes some remaining .rjs occurrences 2011-04-13 13:24:33 +02:00
Akira Matsuda
bd3cdeea35 s/ERb/ERB/g
The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib.
http://www2a.biglobe.ne.jp/~seki/ruby/erb.html
2011-04-03 12:47:51 +09:00
Yehuda Katz + Carl Lerche
f0dd77c6be Move railties/lib/* into railties/lib/* 2009-09-24 16:11:41 -07:00
Renamed from railties/lib/source_annotation_extractor.rb (Browse further)