15 Nov, 2015
16 commits
-
By returning early the flow is hoped to be a bit clearer.
-
Based on https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals This handles a few of the cases.
-
Based on https://github.com/bbatsov/ruby-style-guide#single-line-blocks
-
With the old order the test_queue files could not be found. Also fixing a Mongoid deprecation where .session is now .client
-
Keep CVE-based file names for easy finding.
-
Should make it less confusing what belongs where
-
This gains a bit of consistency and ease of updating these values, at the cost of a bit of readability. I find this new version perfectly readable, personally.
-
This unfolds a bit of nesting, hoping the new version is plenty readable
11 Nov, 2015
1 commit
-
Rubocop cleanups - it's time
04 Nov, 2015
23 commits
-
Humans tend to be easily confused by the unless/else construct, so banning it.
-
This allows code to be copy/pasted into the console for easy experimentation and spelunking.
-
To me these all now read trivially as they are quite simple. Thoughts, comments?