Ashwin Maroli
53f175516b
Implement custom delegators for drop methods ( #8183 )
...
Merge pull request 8183
2020-09-23 16:13:05 -04:00
Ashwin Maroli
30e7d5ea53
Add slugified_categories URL placeholder ( #8094 )
...
Merge pull request 8094
2020-04-13 03:51:33 -04:00
Ashwin Maroli
a0c3a6bced
Memoize fallback_data for Drop ( #7728 )
...
Merge pull request 7728
2019-08-04 16:09:27 -04:00
Christoph Päper
0da5389cbb
ISO week date drops ( #5981 )
...
Merge pull request 5981
2019-03-21 20:42:36 -04:00
Frank Taillandier
6c771608e5
Update Rubocop's config ( #7050 )
...
Merge pull request 7050
2018-06-02 06:50:32 -04:00
ashmaroli
00bad8bfe5
Bump rubocop to use `v0.50.x` ( #6368 )
...
Merge pull request 6368
2017-09-22 09:06:32 -04:00
Parker Moore
7cf5f51ca2
Enforce Style/FrozenStringLiteralComment. ( #6265 )
...
Merge pull request 6265
2017-08-03 21:27:32 -04:00
fen
e92dd2055d
check for the urldrop key first
2016-11-02 21:30:23 +01:00
Pat Hawks
a8d27e5788
Rubocop: Low hanging fruit
2016-05-23 22:10:49 -05:00
Pat Hawks
cce848d3d8
Rubocop: Avoid single-line method definitions
2016-01-04 12:12:17 -08:00
Pat Hawks
2530a8cdfc
Rubocop: Style/HashSyntax
...
- Use hash rockets syntax
2016-01-03 15:49:22 -08:00
Parker Moore
3fa8af2a18
drops: create one base Drop class which can be set as mutable or not
2015-12-26 13:43:42 -05:00
Parker Moore
b2b634e767
drops: use def_delegator more liberally where acceptable
2015-12-24 15:07:48 -05:00
Parker Moore
82c3ee365f
Initial work on using Liquid::Drops instead of Hashes.
...
The properties of Liquid::Drops are only evaluated when they're asked for
and therefore save computation time. This prevents a lot of GC time cleaning
up objects that are not needed, because they're not created unless requested.
Additionally, this saves time for actual computation of those values because
they can be computed only if needed.
It's funny how much it helps when you only do what is needed. Far less overhead.
2015-12-21 22:47:30 -05:00