1
0
mirror of https://github.com/meineerde/rackstash.git synced 2026-01-02 04:09:38 +00:00

12 Commits

Author SHA1 Message Date
2b72a1e5cf Actually freeze messages after initialization 2017-01-25 18:58:06 +01:00
1fc6a93ce5 Use gem install bundler on Travis CI for jruby-head
This is required since bundler support seems to be broken right now on
the default "image" of jruby-head on Travis. If we install it explicitly
(or update it to the latest version on all other Rubies), we will be
fine though.
2017-01-19 00:05:16 +01:00
acdeeae237 Add shortcut log methods to Rackstash::Logger
Using methods named after the severity, users can esily log messages
based on their intended severity. We do support the block syntax
throughout to conditionally log expensive messages only if the log level
is low enough:

    logger.debug { compute_details_for_log }
2017-01-18 23:58:17 +01:00
3081b03db1 Add basic logger structure with early spikes
The Rackstash::Logger class will server as the public main entry point
for users. It will eventually implement the mostly complete interface of
Ruby's Logger.

The idea of Rackstash is the we will allow to buffer multiple log
messages allong with additional data until a combined log event is
eventually flushed to an underlying log target. This allows to keep
connected log messages and data as a single unit from the start without
having to painstakingly parse and connect these in later systems again.
2017-01-18 23:34:55 +01:00
a6f41e4bf1 Test on all supported versions of MRI Ruby and JRuby.
We wnumerate exact Ruby versions in .travis.yml. This is required for
at least Ruby 2.4 which isn't currently recognized as a fuzzy match in
Travis' RVM version. When specifying it as an exact version, it will
install it though.

We specify all the other versions too since this makes our tests more
reproducable over time.
2017-01-16 00:28:06 +01:00
8ddb0fc127 Require at least Ruby 2.1 2017-01-16 00:28:06 +01:00
8777596de4 Bump version to 0.2.0-dev
Since this is a complete rewrite of the original rackstash gem which got
up to v0.1, we start directly on 0.2 with our development and will
eventually release it as v0.2.
2017-01-16 00:28:06 +01:00
5dc6af0220 Add more useful version specification. 2017-01-16 00:28:06 +01:00
572b95c580 Use single-quotes and check line-length to 80 chars 2017-01-15 18:49:43 +01:00
063f2fc53f Add basic information to the gemspec 2017-01-15 18:47:46 +01:00
750da262b7 Add license headers to all code files 2017-01-15 18:38:33 +01:00
7e937904c0 Create inititial gem structure for rackstash
bundle gem --exe --coc --mit --test=rspec rackstash
2017-01-15 18:38:33 +01:00