snowplow-archive / sluice

A Ruby toolkit for cloud-friendly ETL
38 stars 10 forks source link

Properly namespace the use of NegativeRegex #50

Closed alexanderdean closed 8 years ago

alexanderdean commented 8 years ago
Unexpected error: uninitialized constant Sluice::Storage::S3::NegativeRegex NameError: uninitialized constant Sluice::Storage::S3::NegativeRegex const_missing at org/jruby/RubyModule.java:2733 process_files at /opt/snowplow-r77-great-auk/snowplow-storage-loader!/gems/sluice-0.2.2/lib/sluice/storage/s3/s3.rb:489 synchronize at org/jruby/ext/thread/Mutex.java:149 process_files at /opt/snowplow-r77-great-auk/snowplow-storage-loader!/gems/sluice-0.2.2/lib/sluice/storage/s3/s3.rb:437 loop at org/jruby/RubyKernel.java:1511 process_files at /opt/snowplow-r77-great-auk/snowplow-storage-loader!/gems/sluice-0.2.2/lib/sluice/storage/s3/s3.rb:428 ERROR: org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Sluice::Storage::S3::NegativeRegex

https://github.com/snowplow/sluice/blob/master/lib/sluice/storage/s3/s3.rb#L473

Should be Sluice::Storage::NegativeRegex not NegativeRegex.