Daniel O'Connor
49284eb169
Fix haml preview ( #3610 )
...
* HAML
* rewrite
* Fix specs - but likely still wrong
* Return temple
* Trailing line
* Fix specs
* This was rearranged, apparently.
* Fix tests
* Retain escaping
* Fix specs
* Rubocop
* Attempt to fix rendering
* Fix output
* Move away from filter
* Move away from filter
* Fix spec
* Fix specs
* Fix structure to avoid nested paragraph tags
2024-02-04 15:08:18 +10:30
Daniel O'Connor
fb86448061
HAML 6 ( #3607 )
...
* HAML
* rewrite
* Fix specs - but likely still wrong
* Return temple
* Trailing line
* Fix specs
* This was rearranged, apparently.
* Fix tests
* Retain escaping
* Fix specs
* Rubocop
* Apparently the escaped filter doesn't work with interpolation. Swap to our implementation
2024-02-03 17:33:39 +10:30
Daniel O'Connor
d1f754a288
Rubocop
2022-11-08 00:23:38 +10:30
Daniel O'Connor
e2942f17c7
Rubocop corrections
2022-11-08 00:18:35 +10:30
Awesome Code
5816b13244
Auto corrected by following Lint Ruby Lint/RedundantCopDisableDirective
2020-05-23 07:48:28 +12:00
codefactor-io
4ff95fbac9
[CodeFactor] Apply fixes
2020-01-21 22:26:08 +13:00
Brenda
7257b2ada1
Update with frozen literals
2020-01-10 16:50:52 +13:00
Brenda Wallace
04fd1a343a
Rubocop update ( #2334 )
...
* Update rubocop config
* Rubocop update - for rubocop 0.77
* [CodeFactor] Apply fixes
* rubocop fixes
* [CodeFactor] Apply fixes to commit 2826c2e
2019-12-16 22:35:33 +13:00
Brenda Wallace
addb9a48cf
Fix growstuff markdown specs to expect path only links
2019-07-11 15:12:16 +00:00
Awesome Code
689baa85a3
Auto corrected by following Lint Ruby RSpec/ExampleWording
2019-02-11 10:17:54 +13:00
Awesome Code
490db7b342
Auto corrected by following Lint Ruby RSpec/HookArgument
2019-02-11 09:00:34 +13:00
Brenda Wallace
7b01fcbd4b
Align all the hashes
2018-12-30 15:22:29 +13:00
Brenda Wallace
9f90b0368b
Use %r for regexp
2018-12-30 15:06:06 +13:00
Brenda Wallace
3ad048b7e8
Fixed linter issue, empty line after guard clause
2018-09-13 23:10:43 +12:00
Brenda Wallace
f4af682d45
Updated code for Rail 5
2018-01-03 17:12:17 +13:00
Brenda Wallace
f516ef2e57
Don't use :: for method calls
2017-12-06 14:24:17 +13:00
Logan Gingerich
10a8df47a9
Factorygirl to factorybot - fixes #1413 ( #1425 )
...
* FactoryGirl Changed to FactoryBot
file fix
changes based on comments received
Bundle Update on 2017-10-29
style update to align hash literal
added package-lock
* indentation fixes with rubocop
* name added to contributors
2017-11-01 15:03:31 +00:00
Brenda Wallace
97c7277a73
fixed up ambigous regex and use of expect in specs
2017-10-23 10:44:37 +01:00
Brenda Wallace
40a981c94d
Removed unnecesary braces on hash args
2017-01-22 15:10:11 +13:00
Brenda Wallace
ca7868b79a
Use guard clauses
2016-12-14 21:28:35 +00:00
Brenda Wallace
92195d51d2
Removed redundant returns
2016-12-04 21:21:35 +00:00
Brenda Wallace
723ebff923
Spacing fixes
2016-11-26 12:13:17 +13:00
Brenda Wallace
62e7c716dd
Removed extra empty blank lines
2016-11-26 12:06:02 +13:00
Brenda Wallace
2e46cccd21
Hash alignment
2016-11-26 11:52:10 +13:00
Brenda Wallace
83392ddda1
Indentation clean ups
2016-11-26 10:51:54 +13:00
Brenda Wallace
6bd9bd98d9
Removed extra blank lines, & added a end of file
2016-11-16 12:52:48 +13:00
Brenda Wallace
bdb057ca0f
Removed all trailing white space
2016-11-14 15:05:32 +13:00
Daniel O'Connor
083035c924
Merge branch 'dev' of github.com:Growstuff/growstuff into add_facebook_signup
2016-05-23 16:58:22 +09:30
Daniel O'Connor
4b4e0cf69a
$ rubocop --only HashSyntax --auto-correct
...
483 files inspected, 2018 offenses detected, 2018 offenses corrected
2016-05-19 15:53:11 -04:00
Daniel O'Connor
4a1bc9f6c0
Avoid test data conflicts and update expectations
2015-09-15 12:44:12 +09:30
Daniel O'Connor
0652c40c52
Avoid test data conflicts causing signup to act as signin-for-existing
2015-09-15 12:34:20 +09:30
Daniel O'Connor
a99145b705
Implement pending spec
2015-09-15 12:27:17 +09:30
Daniel O'Connor
222f875c42
Add more coverage of various scenarios and expected behaviours
2015-09-15 12:26:32 +09:30
Daniel O'Connor
dc983d4863
Add more coverage of various scenarios and expected behaviours
2015-09-15 12:24:37 +09:30
Daniel O'Connor
7256c28038
Refactor to a separate class, containing domain logic
2015-09-15 12:13:47 +09:30
Savant Krishna
0c315981df
Merge remote-tracking branch 'upstream/dev' into member_quicklink_md
...
Conflicts:
lib/haml/filters/growstuff_markdown.rb
2015-09-07 20:08:57 -04:00
Savant Krishna
342323e566
Add test for trying to quicklink non-existent @ member
2015-09-07 20:05:24 -04:00
Savant Krishna
a8924f95a7
Escape member links for [name](member) and @name using backslash
...
Change regex to lookforward
When escaping \@name remove \
2015-09-06 05:41:35 -04:00
Savant Krishna
7afd38a1ee
Fix #721 : Escape quick crop link in markdown
...
Lookahead in markdown to verify \ is not present
Test for escaping crop link
2015-09-06 04:20:14 -04:00
Savant Krishna
f36e9d726e
Change @ regex to match alphanumeric or _ and modify test string
2015-09-06 14:35:35 +10:00
Savant Krishna
b74d89c482
Tests for member quicklinks and @member links
2015-09-04 13:23:10 +10:00
Taylor Griffin
7fc886f43c
implement custom Sweeper class as stop gap against errors when running specs
2014-11-16 12:01:27 +11:00
Shiho Takagi
60354264d6
Included PT bug# to its test description. Test using the case from the bug
2014-09-19 16:00:25 +10:00
Shiho Takagi
dd75f2aef9
updated regex for crop in markdown
2014-09-18 14:18:18 +10:00
Skud
9da92c8f71
Make growstuff HAML extensions case insensitive
2013-11-11 11:18:14 +11:00
Skud
9c899e80a3
Updated help text for markdown
2013-11-11 11:11:12 +11:00
Skud
076db6dd07
Use growstuff markdown in RSS feeds
2013-11-11 10:33:35 +11:00
Skud
ce7bf82336
Make growstuff markdown actually work
2013-11-11 10:20:52 +11:00
Skud
3a162e9b31
Fixed broken tests for markdown filter
2013-11-08 12:55:47 +11:00
Miles Gould
4add2f3dcf
s/system_name/name
2013-11-07 12:03:43 +00:00