<commit_before># SitemapGenerator::AwsS3Adapter

[![Circle CI](https://circleci.com/gh/qnyp/sitemap_generator-aws_s3_adapter.svg?style=svg)](https://circleci.com/gh/qnyp/sitemap_generator-aws_s3_adapter)

This is a yet another AWS S3 adapter for [sitemap_generator](https://github.com/kjvarga/sitemap_generator), built with official [aws-sdk](https://rubygems.org/gems/aws-sdk) v2.

## Motivation

fog introduces [bunch of runtime dependencies](https://rubygems.org/gems/fog). :weary:

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sitemap_generator-aws_s3_adapter'
```

And then execute:

```console
$ bundle
```

## Usage
<commit_msg>Add notice about sitemap_generator 5.2.0 or later<commit_after># [NOTICE]

If you use sitemap_generator 5.2.0 or later, you don't need to use this gem anymore.

- [AWS S3 adapter using the bare aws-sdk gem by lucas-nelson · Pull Request #219 · kjvarga/sitemap_generator](https://github.com/kjvarga/sitemap_generator/pull/219)

# SitemapGenerator::AwsS3Adapter

[![Circle CI](https://circleci.com/gh/qnyp/sitemap_generator-aws_s3_adapter.svg?style=svg)](https://circleci.com/gh/qnyp/sitemap_generator-aws_s3_adapter)

This is a yet another AWS S3 adapter for [sitemap_generator](https://github.com/kjvarga/sitemap_generator), built with official [aws-sdk](https://rubygems.org/gems/aws-sdk) v2.

## Motivation

fog introduces [bunch of runtime dependencies](https://rubygems.org/gems/fog). :weary:

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sitemap_generator-aws_s3_adapter'
```

And then execute:

```console
$ bundle
```

## Usage

{'fraction_non_alphanumeric': 0.13541666666666666, 'fraction_numerical': 0.015318627450980392, 'mean_word_length': 5.532, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 11, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2668179', 'n_tokens_mistral': 621, 'n_tokens_neox': 585, 'n_words': 126}