Skip to content

Commit

Permalink
Improve description
Browse files Browse the repository at this point in the history
  • Loading branch information
madeindjs committed Dec 4, 2018
1 parent d477656 commit 1cf28cc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,7 @@
[![Gem Version](https://badge.fury.io/rb/active_storage-send_zip.svg)](https://badge.fury.io/rb/active_storage-send_zip)
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.png?v=103)](https://opensource.org/licenses/mit-license.php)

Create a zip from one or more Active Storage objects and return it in a rails controller

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'active_storage-send_zip'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install active_storage-send_zip
Add a `send_zip` method in your Rails controller to send a `.zip` file containing one or many [ActiveStorage](https://edgeguides.rubyonrails.org/active_storage_overview.html) objects.

## Usage

Expand Down Expand Up @@ -96,6 +80,22 @@ Will produce a `.zip` archive like this:
└── c.gif
~~~

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'active_storage-send_zip'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install active_storage-send_zip

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
Expand Down
2 changes: 1 addition & 1 deletion active_storage-send_zip.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
spec.email = ['[email protected]']

spec.summary = 'Create a zip from one or more Active Storage objects'
spec.description = 'Create a zip from one or more Active Storage objects and return it in a rails controller'
spec.description = 'Add a `send_zip` method in your Rails controller to send a `.zip` file containing one (or many) ActiveStorage object(s)'
spec.homepage = 'https://github.com/madeindjs/active_storage-send_zip'
spec.license = 'MIT'

Expand Down

0 comments on commit 1cf28cc

Please sign in to comment.