Sha256: b5cdc403ee41e468892e382019a13691791e456c93e886512fedb897cc8d3766

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

# SyncFiles

A simple gem to synchronize web pages to files. I needed this functionality in a few scraping projects where fixtures representing web pages once in a while needed updating.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sync_files'
```

And then execute:

    $ bundle install

Or install it yourself as:

    $ gem install sync_files

## Usage

```
groups:
  - settings:
      destination: "spec/fixtures"
    fixtures:
      - filename: "cnn_frontpage.html"
        url: "https://cnn.com"
```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/wulffeld/sync_files. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/sync_files/blob/main/CODE_OF_CONDUCT.md).

## License

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

## Code of Conduct

Everyone interacting in the SyncFiles project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/sync_files/blob/main/CODE_OF_CONDUCT.md).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sync_files-0.1.0 README.md