Sha256: 1ca68662672ab2c553efaf664b49e233fbd1476474327789f793b2dfe79b45d3

Contents?: true

Size: 1.48 KB

Versions: 25

Compression:

Stored size: 1.48 KB

Contents

# Logga

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/logga`. To experiment with that code, run `bin/console` for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'logga'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install logga

## Usage

Add this to your model:

```ruby
class Order < ApplicationRecord
  add_log_entries_for :create, :update
end

```

so that new LogEntry records attached to a given Order instance will be created whenever a new one is created or
modified.

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ltello/logga.

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
logga-1.2.0 README.md
logga-1.1.1 README.md
logga-1.1.0 README.md
logga-1.0.1 README.md
logga-1.0.0 README.md
logga-0.5.2 README.md
logga-0.5.1 README.md
logga-0.5.0 README.md
logga-0.4.7 README.md
logga-0.4.6 README.md
logga-0.4.5 README.md
logga-0.4.4 README.md
logga-0.4.3 README.md
logga-0.4.2 README.md
logga-0.4.1 README.md
logga-0.4.0 README.md
logga-0.3.2 README.md
logga-0.3.1 README.md
logga-0.3.0 README.md
logga-0.2.0 README.md