<commit_before># OaAngularSetup

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/oa_angular_setup`. To experiment with that code, run `bin/console` for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'oa_angular_setup'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install oa_angular_setup

## Usage
To Configure any of the settings create a new initializer and add 
```ruby

  OaAngularSetup.configure do |config|
    # Set the options to what makes sense for you

    config.app_name = 'App'
    config.create_factories = true 
    config.create_app_js = true 
    config.create_controllers = true
    config.swagger_doc_url = "http://localhost:3000/api/swagger_doc"
    config.destination = "/public/angular/"
  end

```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/oa_angular_setup.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
<commit_msg>adding to readme<commit_after># OaAngularSetup

The OaAngularSetup gem will read a swagger compliant API and generate angular factories & controllers. 

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'oa_angular_setup'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install oa_angular_setup

## Usage
To Configure any of the settings create a new initializer and add 
```ruby

  OaAngularSetup.configure do |config|
    # Set the options to what makes sense for you

    config.app_name = 'App'
    config.create_factories = true 
    config.create_app_js = true 
    config.create_controllers = true
    config.swagger_doc_url = "http://localhost:3000/api/swagger_doc"
    config.destination = "/public/angular/"
  end

```

## Contributing

Bug reports and pull requests can be made on GitHub at https://github.com/markvanarsdale/oa_angular_setup.


## License

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

{'fraction_non_alphanumeric': 0.07913413768630234, 'fraction_numerical': 0.0028388928317956, 'mean_word_length': 3.9456140350877194, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2380868', 'n_tokens_mistral': 845, 'n_tokens_neox': 798, 'n_words': 341}