<commit_before># Angular

Basic bindings for AngularJS to be used with Capybara. Implementation is based into
logic copied from Protractor.

NOTE: At this point of development, I would classify DSL API "unstable". This means that
DSL language may change in incompatible ways.

## Related Projects

- https://github.com/jnicklas/capybara
- https://github.com/angular/protractor
- https://code.google.com/p/selenium/wiki/RubyBindings
- https://github.com/teampoltergeist/poltergeist
- https://github.com/colszowka/phantomjs-gem

## Installation

Add this line to your application's Gemfile:

    gem 'capybara-ng'
    gem 'capybara-ng', git: '<EMAIL>:kikonen/capybara-ng.git', tag: 'v0.0.1'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install capybara-ng

## Usage

### Setup

spec/spec_helper.rb
````ruby
RSpec.configure do |config|
  config.include ::Angular::DSL
  ...
end
```

## Examples

### Example test cases

````bash
cd spec/dummy
bundle
bundle exec rake rspec
bundle exec rake cucumber
```

### Experimenting features

@see https://github.com/kikonen/sampler/blob/master/dummy/spec/request/test_spec.rb

### Example test

@see https://github.com/kikonen/sampler/blob/master/dummy/spec/request/task_spec.rb

#### Running Example Test
````bash
# download and install chrome-driver
# http://chromedriver.storage.googleapis.com/index.html

git clone <EMAIL>:kikonen/sampler.git
cd sampler
cd dummy
bundle
rails s -p 4000&
bundle exec rspec spec/request/test_spec.rb
bundle exec rspec spec/request/task_spec.rb
fg
CTRL^C
```


## Contributing

1. Fork it ( https://github.com/[my-github-username]/capybara/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
<commit_msg>DOC not about driver incompatibility<commit_after># Angular

Basic bindings for AngularJS to be used with Capybara. Implementation is based into
logic copied from Protractor.

*NOTE* At this point of development, I would classify DSL API "unstable". This means that
DSL language may change in incompatible ways.

*NOTE* Only chrome driver is currently working.

## Related Projects

- https://github.com/jnicklas/capybara
- https://github.com/angular/protractor
- https://code.google.com/p/selenium/wiki/RubyBindings
- https://github.com/teampoltergeist/poltergeist
- https://github.com/colszowka/phantomjs-gem

## Installation

Add this line to your application's Gemfile:

    gem 'capybara-ng'
    gem 'capybara-ng', git: '<EMAIL>:kikonen/capybara-ng.git', tag: 'v0.0.1'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install capybara-ng

## Usage

### Setup

spec/spec_helper.rb
````ruby
RSpec.configure do |config|
  config.include ::Angular::DSL
  ...
end
```

## Examples

### Example test cases

````bash
cd spec/dummy
bundle
bundle exec rake rspec
bundle exec rake cucumber
```

### Experimenting features

@see https://github.com/kikonen/sampler/blob/master/dummy/spec/request/test_spec.rb

### Example test

@see https://github.com/kikonen/sampler/blob/master/dummy/spec/request/task_spec.rb

#### Running Example Test
````bash
# download and install chrome-driver
# http://chromedriver.storage.googleapis.com/index.html

git clone <EMAIL>:kikonen/sampler.git
cd sampler
cd dummy
bundle
rails s -p 4000&
bundle exec rspec spec/request/test_spec.rb
bundle exec rspec spec/request/task_spec.rb
fg
CTRL^C
```


## Contributing

1. Fork it ( https://github.com/[my-github-username]/capybara/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

{'fraction_non_alphanumeric': 0.12280241406454999, 'fraction_numerical': 0.006297559695617948, 'mean_word_length': 4.123655913978495, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1901364', 'n_tokens_mistral': 1325, 'n_tokens_neox': 1225, 'n_words': 371}