Sha256: 5fe5e8c8f0af4a751d5db7f673e3ff70ecd415099dcd7b0a12b79bf569e9075c

Contents?: true

Size: 589 Bytes

Versions: 119

Compression:

Stored size: 589 Bytes

Contents

RSpec.configure do |config|
  config.extend Ree::RSpecLinkDSL
end

def with_captured_stdout
  original_stdout = $stdout
  $stdout = StringIO.new
  yield
  $stdout.string
ensure
  $stdout = original_stdout
end

ENV['LOG_FILE_PATH'] = '/tmp/ree_logger.log'
ENV['LOG_FILE_AUTO_FLUSH'] = 'true'
ENV['LOG_LEVEL_FILE'] = 'info'
ENV['LOG_LEVEL_STDOUT'] = 'info'
ENV['LOG_LEVEL_ROLLBAR'] = 'info'
ENV['LOG_RATE_LIMIT_INTERVAL'] = '60'
ENV['LOG_RATE_LIMIT_COUNT'] = '600'
ENV['LOG_ROLLBAR_ACCESS_TOKEN'] = 'SET_YOUR_TOKEN'
ENV['LOG_ROLLBAR_ENABLED'] = 'true'
ENV['LOG_ROLLBAR_ENVIRONMENT'] = 'test'

Version data entries

119 entries across 119 versions & 1 rubygems

Version Path
ree_lib-1.0.124 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.123 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.122 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.121 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.120 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.119 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.118 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.117 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.116 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.115 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.114 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.113 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.112 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.111 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.110 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.109 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.108 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.107 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.106 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb
ree_lib-1.0.105 lib/ree_lib/packages/ree_logger/spec/spec_helper.rb