Skip to content

Commit

Permalink
Update changelog.md and add missing dota docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrazo committed May 20, 2018
1 parent 6232c54 commit e1e54c6
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,9 @@

**Additions**

- [PR #1134](https://github.com/stympy/faker/pull/1134) Test against latest Ruby versions [@tagliala](https://github.com/tagliala)
- [PR #794](https://github.com/stympy/faker/pull/794) Adding country code + minor locale updates [@vveliev](https://github.com/vveliev)
- [PR #1108](https://github.com/stympy/faker/pull/1108) Update Faker::Dessert [@natalietate](https://github.com/natalietate)
- [PR #1223](https://github.com/stympy/faker/pull/1223) Fix minitest warnings [@vbrazo](https://github.com/vbrazo)
- [PR #1174](https://github.com/stympy/faker/pull/1174) Dota2 API: Str Heroes, heroes quotes, Items, Teams, Players [@felipesousafs](https://github.com/darylf)
- [PR #974](https://github.com/stympy/faker/pull/974) Specify version number each class was introduced [@darylf](https://github.com/darylf)
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -51,6 +51,7 @@ Contents
- [Faker::Demographic](doc/demographic.md)
- [Faker::Dessert](doc/dessert.md)
- [Faker::Dog](doc/dog.md)
- [Faker::Dota](doc/dota.md)
- [Faker::DragonBall](doc/dragon_ball.md)
- [Faker::DrWho](doc/dr_who.md)
- [Faker::DumbAndDumber](doc/dumb_and_dumber.md)
Expand Down
18 changes: 18 additions & 0 deletions doc/dota.md
@@ -0,0 +1,18 @@
# Faker::Dota

```ruby
# Random hero
Faker::Dota.hero #=> "Abaddon"

# Random item
Faker::Dota.item #=> "You have called death upon yourself."

# Random team
Faker::Dota.team #=> "Evil Geniuses"

# Random player
Faker::Dota.player #=> "Dendi"

# Random quote
Faker::Dota.quote #=> "Easy now, this stuff is explosive!"
```
2 changes: 1 addition & 1 deletion test/test_helper.rb
Expand Up @@ -6,7 +6,7 @@
simplecov_params = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(simplecov_params)
SimpleCov.start do
add_filter ['.bundle', 'lib/helpers', 'lib/extensions', 'test']
add_filter ['.bundle', 'lib/extensions', 'test']
end
rescue LoadError
puts 'Coverage disabled, enable by installing simplecov'
Expand Down

0 comments on commit e1e54c6

Please sign in to comment.