Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix spaces in the comment block [ci skip] | Yoshiyuki Hirano | 2017-08-23 | 1 | -1/+1 |
| | |||||
* | Adding frozen_string_literal pragma to Railties. | Pat Allan | 2017-08-14 | 1 | -0/+2 |
| | |||||
* | Railties updates for frozen string literals. | Pat Allan | 2017-08-14 | 1 | -1/+1 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | class Foo < Struct.new(:x) creates an extra unneeded anonymous class | Akira Matsuda | 2017-01-13 | 1 | -1/+1 |
| | | | | because Struct.new returns a Class, we just can give it a name and use it directly without inheriting from it | ||||
* | Merge pull request #25051 from bf4/extract_notes_as_binary | Sean Griffin | 2016-12-08 | 1 | -1/+1 |
|\ | | | | | Extract notes as binary | ||||
| * | Extract notes from files in binary | Benjamin Fleischer | 2016-09-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents: ArgumentError: invalid byte sequence in UTF-8 railties/lib/rails/source_annotation_extractor.rb:115:in `=~' railties/lib/rails/source_annotation_extractor.rb:115:in `block in extract_annotations_from' And there's no reason we need to interpret the files as UTF-8 when scanning for annotations. Applies to Rails 4.2 as well. | ||||
* | | Add more rubocop rules about whitespaces | Rafael Mendonça França | 2016-10-29 | 1 | -3/+3 |
|/ | |||||
* | applies new string literal convention in railties/lib | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Allow rake notes to work with other directories. | John Meehan | 2016-07-05 | 1 | -0/+6 |
| | | | | | | | Additional directories can be added using SourceAnnotationExtractor::Annotation.register_directories("spec", "other_dir") Result: rake notes will now extract notes from these directories. | ||||
* | refer to rails command instead of rake in doc of `SourceAnnotationExtractor` ↵ | yuuji.yaginuma | 2016-07-02 | 1 | -3/+3 |
| | | | | [ci skip] | ||||
* | fix path of annotations.rake [ci skip] | yuuji.yaginuma | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | Fix comment of SourceAnnotationExtractor#find_in | yui-knk | 2014-11-09 | 1 | -3/+2 |
| | | | | | | Commit(810af6f) changed which extensions are taken into account, so make to match comment of find_in. And sort extensions to follow the added order. | ||||
* | Fix Shadowing extensions variable in Register Annotation Exentsions | robertomiranda | 2014-03-16 | 1 | -2/+2 |
| | |||||
* | Supporting .ruby, .yml and .yaml Extension in Rake Notes | robertomiranda | 2014-03-14 | 1 | -1/+1 |
| | |||||
* | Remove .scss, .sass, .less, .haml, .slim, coffee from Rake Notes. Now we ↵ | robertomiranda | 2014-03-14 | 1 | -4/+2 |
| | | | | have an API for register it in the corresponding gems | ||||
* | Add Public Api for register new extensions for Rake Notes | robertomiranda | 2014-03-14 | 1 | -15/+24 |
| | |||||
* | Replace map.flatten with flat_map in railties | Erik Michaels-Ober | 2014-03-04 | 1 | -1/+1 |
| | |||||
* | [ci skip]updated documentation: added sass and less extensions | Kuldeep Aggarwal | 2013-11-17 | 1 | -1/+1 |
| | |||||
* | Adding LESS to rake notes | Josh Crowder | 2013-08-15 | 1 | -1/+1 |
| | |||||
* | handle notes in *.sass files | Yuri Artemev | 2013-07-08 | 1 | -1/+1 |
| | |||||
* | allow :dirs option for .enumerate | Brian D. Burns | 2013-01-15 | 1 | -6/+15 |
| | | | | | | Allows custom rake tasks to be defined using: SourceAnnotationExtractor.enumerate 'TODO|FIXME', dirs: %w(app lib), tag: true | ||||
* | use case statement | Brian D. Burns | 2013-01-15 | 1 | -10/+16 |
| | |||||
* | Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵ | Jeremy Kemper | 2013-01-06 | 1 | -5/+5 |
| | | | | 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' | ||||
* | Add db to the list of default annotation folders | Antonio Cangiano | 2012-12-01 | 1 | -1/+1 |
| | |||||
* | Add .rake to `rake notes` and `rake notes:custom` | Brent J. Nordquist | 2012-10-12 | 1 | -7/+7 |
| | |||||
* | Revert "Use flat_map { } instead of map {}.flatten" | Santiago Pastorino | 2012-10-05 | 1 | -1/+1 |
| | | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. 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]] | ||||
* | Use flat_map { } instead of map {}.flatten | Santiago Pastorino | 2012-10-05 | 1 | -1/+1 |
| | |||||
* | Fixed styling issues brought up by @jeremy | Jason Noble | 2012-04-30 | 1 | -1/+1 |
| | |||||
* | Add ability to specify custom annotation directories | Jason Noble & Ralph Shnelvar | 2012-04-30 | 1 | -1/+4 |
| | | | | | | | | | SOURCE_ANNOTATION_DIRECTORIES='dir1,dir2' bundle exec rake notes Searches app, config, lib, script, test (default) Also searches dir1, dir2 References: #4536, #4540 | ||||
* | `rake notes` and `rake notes:custom` now support | Teng Siong Ong | 2012-04-22 | 1 | -3/+7 |
| | | | css, scss and css. | ||||
* | Fixed missing space bug introduces in ↵ | Anton Lindqvist | 2012-03-22 | 1 | -1/+1 |
| | | | | rails/rails@9299bfdcd387253d83b645c205b8df477f2d0940. | ||||
* | Display annotations from .coffee files in `rake notes` | Bartlomiej Kozal | 2012-02-05 | 1 | -2/+2 |
| | |||||
* | Align rake notes. | Anton Lindqvist | 2011-12-26 | 1 | -1/+2 |
| | |||||
* | revising doc | Vijay Dev | 2011-12-11 | 1 | -3/+1 |
| | |||||
* | Update source_annotation_extractor comment. | Kazimierz Kiełkowicz | 2011-12-07 | 1 | -1/+1 |
| | |||||
* | Add annotation to haml and slim template. | Kazimierz Kiełkowicz | 2011-12-07 | 1 | -0/+4 |
| | |||||
* | Remove .rxml, .rjs and .rhtml from source annotation regexp. | Uģis Ozols | 2011-12-05 | 1 | -5/+5 |
| | |||||
* | Updated rake:notes to search app, config, lib, script and test dirs | jwarwick | 2011-07-06 | 1 | -4/+4 |
| | |||||
* | removes some remaining .rjs occurrences | Xavier Noria | 2011-04-13 | 1 | -3/+3 |
| | |||||
* | s/ERb/ERB/g | Akira Matsuda | 2011-04-03 | 1 | -2/+2 |
| | | | | | 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 | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -0/+102 |