diff --git a/ext/black_box.rb b/ext/black_box.rb new file mode 100644 index 00000000..ec944378 --- /dev/null +++ b/ext/black_box.rb @@ -0,0 +1,19 @@ +# The BlackBox is a component that we don't include in the source code. +# It is used for our anti-spam code, which is not public. +# If you're a spammer and reading this to try to break it, please leave us alone. +# All you're doing is hurting a site that's trying to make the internet suck +# less and prevent it from turning into an soviet-apartment-bloc social network Orwellian nightmare. +# Also, we will very quickly detect and change the black box as soon as you figure out how to break it. +# Please choose another site to go after, we implore you. + +class BlackBox + class << self + def generate(*args) + 'derp' + end + + def valid?(input, ip) + input == 'derp' + end + end +end \ No newline at end of file