<commit_before>site_status
============

[Project description and any badges]
If your app depends on any external services or endpoints, you've probably needed to ensure those services were properly responding. site_status allows you to easily monitor the http status of your sites and endpoints with a single rake task.

![<Display Name>](http://i.imgur.com/2L6pXpB.png)

##Setup

```ruby
# create this file:  ./lib/tasks/stat.rake
task :stat do
  require 'site_status'
end

```
In your shell, assuming you've already configured your endpoints:

```shell
rake stat
```

site_status is configured by default to look for a file name `config/status_check.yml` in your project root.

```yaml
# create this file, with your custom endpoints: ./config/status_check.yml
endpoints:
  - 'http://www.b3ta.com/404'
  - 'http://github.com/'
other_endpoints:
  - 'http://canyoufixmycomputer.com/'
```

If you prefer a different file path for your yml config, there is a simple congiuration switch:

```ruby
# configuration must be run prior to `require 'site_status'`
SiteStat.configure do |config|
  config.yml_path = 'path/to/file.yml'
end

## Limitations
!!! does not play well with ssl or unresolvable dns

## Installation
add `gem "site_status"` to your gemfile or `gem install site_status`

## Contributing

## Credits

## License

site_status is released under the MIT License. See the bundled LICENSE file for
details.<commit_msg>[LF] [000] updates<commit_after>site_status
============

[Project description and any badges]
If your app depends on any external services or endpoints, you've probably needed to ensure those services were properly responding. site_status allows you to easily monitor the http status of your sites and endpoints with a single rake task.

![<Display Name>](http://i.imgur.com/2L6pXpB.png)

##Setup

site_status is configured by default to look for a file name `config/status_check.yml` in your project root.

```yaml
# create this file, with your custom endpoints: ./config/status_check.yml
endpoints:
  - 'http://www.b3ta.com/404'
  - 'http://github.com/'
other_endpoints:
  - 'http://canyoufixmycomputer.com/'
```

```ruby
# create this file:  ./lib/tasks/stat.rake
task :stat do
  require 'site_status'
end

```
In your terminal session, assuming you've already configured your endpoints:

```shell
rake stat
```
### Optional Configuration
If you prefer a different file path for your yml config, there is a simple congiuration switch:

```ruby
# configuration must be run prior to `require 'site_status'`
SiteStat.configure do |config|
  config.yml_path = 'path/to/file.yml'
end
```

## Limitations
!!! does not play well with ssl or unresolvable dns

## Installation
add `gem "site_status"` to your gemfile or `gem install site_status`

## Contributing

## Credits

## License

site_status is released under the MIT License. See the bundled LICENSE file for
details.
{'fraction_non_alphanumeric': 0.10566298342541436, 'fraction_numerical': 0.0051795580110497235, 'mean_word_length': 4.56046065259117, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4054886', 'n_tokens_mistral': 902, 'n_tokens_neox': 848, 'n_words': 346}