Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #35975 from xithan/master | Rafael França | 2019-04-15 | 1 | -11/+11 |
|\ | | | | | mounted routes with non-word characters | ||||
| * | mounted routes with non-word characters | xithan | 2019-04-15 | 1 | -11/+11 |
| | | |||||
* | | Adds named_captures to MatchData to emulate Regex | Brandon Weaver | 2019-04-09 | 1 | -0/+9 |
|/ | | | | | | | | | This change adds a `named_captures` method to `ActionDispatch::Journey::Path::MatchData` in order to emulate a similar method present on `Regex`'s `MatchData` present in Ruby core. This method can be useful for introspection of routes without the need to use `zip` while testing or developing in Rails core. | ||||
* | Restrict matching with word boundary or end of string | Petri Avikainen | 2019-02-05 | 1 | -11/+11 |
| | |||||
* | Define word boundary for unanchored path regexp | Petri Avikainen | 2019-02-05 | 1 | -11/+11 |
| | |||||
* | Use frozen string literal in actionpack/ | Kir Shatrov | 2017-07-29 | 1 | -0/+2 |
| | |||||
* | 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 |
| | |||||
* | Properly escape test names | Akira Matsuda | 2017-02-02 | 1 | -3/+3 |
| | | | | since the test names become Regexp filters, non-escaped test names cause RegexpError on isolated test via bin/test | ||||
* | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -1/+1 |
| | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | modernizes hash syntax in actionpack | Xavier Noria | 2016-08-06 | 1 | -11/+11 |
| | |||||
* | applies new string literal convention in actionpack/test | Xavier Noria | 2016-08-06 | 1 | -82/+82 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | default pattern to use a joined string | Aaron Patterson | 2015-08-17 | 1 | -12/+14 |
| | | | | | The string we create is almost always the same, so rather than joining all the time, lets join once, then reuse that string everywhere. | ||||
* | remove Strexp | Aaron Patterson | 2015-08-13 | 1 | -37/+34 |
| | | | | | This was a useless object. We can just directly construct a Path::Pattern object without a Strexp object. | ||||
* | pass anchor directly to `Pattern` | Aaron Patterson | 2015-08-13 | 1 | -14/+13 |
| | | | | | the caller already has it, there is no reason to pack it in to an object and just throw that object away. | ||||
* | make OR in journey patterns compile to a valid regular expression | Konstantin Haase | 2014-11-29 | 1 | -0/+2 |
| | |||||
* | no more is_a checks on instantiation | Aaron Patterson | 2014-05-29 | 1 | -4/+0 |
| | |||||
* | Path::Pattern is instantiated internally, so make the contructor require a ↵ | Aaron Patterson | 2014-05-29 | 1 | -9/+9 |
| | | | | strexp object | ||||
* | add an alternate constructor to Strexp that takes a string | Aaron Patterson | 2014-05-29 | 1 | -12/+12 |
| | |||||
* | Make ActionDispatch::Journey::Path::Pattern#new raise more meaningful ↵ | zires | 2013-02-27 | 1 | -0/+4 |
| | | | | exception message. | ||||
* | Use ActiveSupport::TestCase in the journey tests | Rafael Mendonça França | 2012-12-31 | 1 | -1/+1 |
| | |||||
* | Alias refute methods to assert_not and perfer assert_not on tests | Rafael Mendonça França | 2012-12-31 | 1 | -5/+5 |
| | |||||
* | Integrate Journey into Action Dispatch | Andrew White | 2012-12-19 | 1 | -0/+284 |
Move the Journey code underneath the ActionDispatch namespace so that we don't pollute the global namespace with names that may be used for models. Fixes rails/journey#49. |