Skip to content

Commit

Permalink
Update sample output of Faker::App.version. (faker-ruby#1204)
Browse files Browse the repository at this point in the history
* Update sample output of `Faker::App.version`.

To better distinguish between `Faker::App.version` and `Faker::App.semantic_version`. The former can be semantic but not necessarily: 

```ruby
irb(main):001:0> Faker::App.version
=> "0.39"
irb(main):002:0> Faker::App.version
=> "8.3.9"
irb(main):003:0> Faker::App.version
=> "0.38"
irb(main):004:0> Faker::App.version
=> "2.2.3"
irb(main):005:0> Faker::App.version
=> "9.1.4"
irb(main):006:0> Faker::App.version
=> "4.17"
irb(main):007:0> Faker::App.version
=> "1.85"
irb(main):008:0> Faker::App.version
=> "9.72"
irb(main):009:0> Faker::App.version
=> "1.9"
irb(main):010:0> Faker::App.version
=> "0.42"
irb(main):011:0> Faker::App.version
=> "2.95"
irb(main):012:0> Faker::App.version
=> "0.7.8"
irb(main):013:0> Faker::App.version
=> "8.5"
```

This helps people grok the difference easier.

* Update CHANGELOG.md
  • Loading branch information
joshuapinter authored and vbrazo committed May 18, 2018
1 parent e68765c commit a0ef57d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@

- Revert a change in 1.8.5 that caused Star Wars methods to return a
single string rather than an array (#1093)
- Update sample output of `Faker::App.version` (#1204) ([joshuapinter](https://github.com/joshuapinter))

## [v1.8.6](https://github.com/stympy/faker/tree/v1.8.6) (2017-12-21)
[Full Changelog](https://github.com/stympy/faker/compare/v1.8.5...v1.8.6)
Expand Down
2 changes: 1 addition & 1 deletion doc/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
```ruby
Faker::App.name #=> "Treeflex"

Faker::App.version #=> "0.7.9"
Faker::App.version #=> "1.85"

Faker::App.author #=> "Daphne Swift"

Expand Down

0 comments on commit a0ef57d

Please sign in to comment.