<commit_before># Cedar

Installs javascript assets for Cedar integration

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'cedar'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install cedar

## Usage


## Contributing

1. Fork it ( https://github.com/[my-github-username]/cedar/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request


## 

dev notes:
increment version.rb and Gemspec in target
rake build
gem push pkg/cedar-x.x.x.gem


misc:

https://rubygems.org/gems/cedar

curl -u your_rubygems_username https://rubygems.org/api/v1/api_key.yaml >
~/.gem/credentials; chmod 0600 ~/.gem/credentials

gem build cedar.gemspec

gem push cedar-0.0.x.pre.gem

gem list -r --pre cedar

gem install --pre cedar

add owner:
gem owner cedar -a <EMAIL><commit_msg>cleanup readme<commit_after># Cedar

Installs javascript assets for Cedar integration

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'cedar'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install cedar



## Ply Dev Notes


add yourself as a user at:

https://rubygems.org/gems/cedar

then do the following to save your stuff:

```
curl -u your_rubygems_username https://rubygems.org/api/v1/api_key.yaml >
~/.gem/credentials; chmod 0600 ~/.gem/credentials
```

someone who already is a project owner then will add you:

```
gem owner cedar -a <EMAIL>
```

once you've updated the code, do the following 3 steps to publish:


1) increment `version.rb` and `Gemspec` in target

2) `rake build`

3) `gem push pkg/cedar-x.x.x.gem`



misc:


to create a new gem:
```
gem build cedar.gemspec
```

to see what's been published:
```
gem list -r --pre cedar
```
to install outside of a project:
```
gem install --pre cedar
```
{'fraction_non_alphanumeric': 0.11577868852459017, 'fraction_numerical': 0.010758196721311475, 'mean_word_length': 3.5630841121495327, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 5, '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': '549297', 'n_tokens_mistral': 739, 'n_tokens_neox': 661, 'n_words': 244}