Benjamin Neff
922cac70d6
Set TargetRubyVersion in .rubocop.yml
2017-08-24 03:10:01 +02:00
Benjamin Neff
e26a86c173
Switch PercentLiteralDelimiters to new default
...
Let's change that to the new rubocop default, which is also the
suggestion in the ruby style guide.
See https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
This was changed in diaspora too, see diaspora/diaspora#7466
It also includes the changes in the code. This was done with
`rubocop --auto-correct` and no we have zero offenses again.
2017-06-30 02:23:44 +02:00
Benjamin Neff
0a770918b2
Bump rubocop
2017-06-04 02:35:21 +02:00
Benjamin Neff
3eab161119
Bump rubocop
...
Use old style for Style/PercentLiteralDelimiters for now. Maybe we can
change this in the future, because the ruby style guide suggests to
use `[]`.
See: https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
2017-04-22 23:42:19 +02:00
Benjamin Neff
e6e9893c1f
Make rspec work without rails dependency
2017-04-05 02:02:04 +02:00
Benjamin Neff
7fe7a5da97
Don't generate file fixtures anymore
...
When we want to test without rails, we can't use the controllers to
generate them.
Also fixes the problem where there is still an old file fixture that
doesn't match the users in the database.
2017-04-04 22:14:13 +02:00
Benjamin Neff
184954e09c
Replace factory_girl with fabrication
...
factory_girl has activesupport as dependency
2017-04-04 22:14:13 +02:00
Benjamin Neff
18498ff2bd
Bump rubocop
2017-03-31 02:14:58 +02:00
Benjamin Neff
1f3293a403
Remove "try", because it is a rails feature
...
Also "&." is only available on ruby >= 2.3 (can be used later)
2017-01-26 02:21:51 +01:00
Benjamin Neff
0f9e39b7be
Add ruby 2.4
2017-01-19 01:53:07 +01:00
Benjamin Neff
f9d0df6813
Disable Rails/Delegate cop for lib/*
2017-01-18 00:55:25 +01:00
Benjamin Neff
b6dc082c24
bump rubocop
2016-11-10 04:07:59 +01:00
Benjamin Neff
771a1559e3
Activate ruby 2.1 with rails 4.2 on travis again
2016-11-08 00:25:20 +01:00
Benjamin Neff
373540f4cf
fix specs for rails 5
2016-11-05 00:48:20 +01:00
Benjamin Neff
7248aaec67
fix rubocop offenses for rubocop 0.44.1
2016-10-14 23:25:59 +02:00
Benjamin Neff
3d0246d18a
use ruby 2.3 by default
2016-08-19 03:08:47 +02:00
Benjamin Neff
bebaa98680
bump rubocop
2016-07-26 00:58:46 +02:00
Benjamin Neff
be7264b604
bump rubocop
2016-07-13 01:55:13 +02:00
Benjamin Neff
583d567d67
bump rubocop and pronto-rubocop
...
make some refactorings for new cops
2016-01-19 01:32:22 +01:00
Benjamin Neff
9f67cade7e
fix factories with spring
2015-12-27 22:19:58 +01:00
Benjamin Neff
6e6171fc93
use person object with attributes to generate webfinger
2015-07-02 01:13:27 +02:00
Benjamin Neff
5ac7a14b1e
make some methods less complex and adjust rubocop-rules
2015-06-20 19:19:13 +02:00
Benjamin Neff
c950e7a94b
add webfinger generator/parser from raven24's gem
2015-06-19 05:16:49 +02:00
Benjamin Neff
f0591a745b
add basic webfinger stuf (WIP)
...
and:
- add configure method to set some configs
- write rdoc
2015-06-14 22:13:38 +02:00
Benjamin Neff
92ebeb671d
cleanup dummy app
2015-06-13 15:48:21 +02:00
Benjamin Neff
9d8cf85e84
add dummy app again
2015-06-11 02:13:58 +02:00
Benjamin Neff
23b10060b4
cleanup with rubocop
2015-06-11 00:29:16 +02:00
Benjamin Neff
d87de1f363
initial commit
2015-06-10 03:13:44 +02:00