Commit Graph

11 Commits

Author SHA1 Message Date
Heinrich Lee Yu d4a919679a Use transactions in JS feature specs
Uses Rails transactional tests instead of DatabaseCleaner
transaction strategy because that doesn't work with JS tests
2019-07-12 10:39:14 +08:00
Lukas Eipert 8ccf1ea310
Use correct integrity hash for sprockets caching
Use self.integrity_uri over self.hexdigest_integrity_uri(digest), as the
latter always returned nil leading to improper cache invalidation.

We are alos enabling caching of `tmp/cache/assets/sprockets` again, to
get those performance gains.
2019-02-08 13:14:39 +01:00
Rémy Coutable 31fc5965ba
Monkey-patch Sprockets to prevent cache ballooning
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-02-05 13:38:52 +01:00
Lin Jen-Shin 84e441d808 Make it clear that we intent to use | over || 2018-10-26 18:43:33 +08:00
Lin Jen-Shin d045df3da8 Allow CE do nothing if route doesn't exist 2018-10-26 14:27:05 +08:00
Lin Jen-Shin 52fa309e86 Extract EE only oauth routes and add tests 2018-10-26 14:27:05 +08:00
Lin Jen-Shin f1701c0fec Make it possible to add EE only route
And if it cannot find any routes, raise an error
2018-10-26 14:27:05 +08:00
Lin Jen-Shin 1581f75fb5 Put EE routes in EE files under EE directories 2018-10-26 14:27:05 +08:00
Lin Jen-Shin d6c4bc4688 Explain why we need Prependable 2018-09-11 18:45:49 +08:00
Lin Jen-Shin 07da8f9128 Preserve prepend semantics for Ruby
However we still want to make ClassMethods work!

And we'll need to fix codes using the wrong include/prepend
along the way. There were a lot of misuses.
2018-09-11 18:45:49 +08:00
Lin Jen-Shin 71fefe1474 Properly implement prepending for Concern 2018-09-11 18:45:49 +08:00