Skip to content

Commit

Permalink
Merge pull request #108 from DarkEld3r/release-1-2-0
Browse files Browse the repository at this point in the history
Release 1.2.0 version
  • Loading branch information
stanislav-tkach authored Dec 11, 2019
2 parents 0cfd05e + 3882946 commit 3d339d8
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: rust
rust:
# Feel free to bump this version if you need features of newer Rust.
# Sync with badge in README.md
- 1.34.0
- 1.35.0

branches:
only:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "os_info"
version = "1.1.3"
version = "1.2.0"
authors = ["Jan Schulte <[email protected]>", "Stanislav Tkach <[email protected]>"]
description = "Detect the operating system type and version."
documentation = "https://docs.rs/os_info"
Expand Down
9 changes: 7 additions & 2 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

## [1.2.0] (2019-11-11)

- Distinguish between Red Hat and Red Hat Enterprise operating system versions. (#107)

## [1.1.3] (2019-09-11)

- Amazon Linux support has been added. (#105)
Expand Down Expand Up @@ -91,8 +95,9 @@ All notable changes to this project will be documented in this file.

The first release containing only minor infrastructural changes and based on [os_type](https://github.com/schultyy/os_type).

[Unreleased]: https://github.com/darkeld3r/os_info/compare/v1.1.3...HEAD
[1.1.2]: https://github.com/darkeld3r/os_info/compare/v1.1.2...v1.1.3
[Unreleased]: https://github.com/darkeld3r/os_info/compare/v1.2.0...HEAD
[1.2.0]: https://github.com/darkeld3r/os_info/compare/v1.1.3...v1.2.0
[1.1.3]: https://github.com/darkeld3r/os_info/compare/v1.1.2...v1.1.3
[1.1.2]: https://github.com/darkeld3r/os_info/compare/v1.1.1...v1.1.2
[1.1.1]: https://github.com/darkeld3r/os_info/compare/v1.1...v1.1.1
[1.1.0]: https://github.com/darkeld3r/os_info/compare/v1.0.3...v1.1
Expand Down
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To use this crate, add `os_info` as a dependency to your project's Cargo.toml:

```toml
[dependencies]
os_info = "1.1.3"
os_info = "1.2.0"
```

## Example
Expand All @@ -51,16 +51,21 @@ println!("Version: {}", info.version());
Right now, the following operating system types can be returned:

- Unknown
- Android
- Emscripten
- Linux
- Redhat
- CentOS
- Fedora
- OSX
- RedHatEnterprise
- Ubuntu
- Debian
- Arch
- CentOS
- Fedora
- Amazon
- Alpine
- Macos
- Redox
- Windows
- Alpine

If you need support for more OS types, I am looking forward to your Pull
Request.
Expand Down

0 comments on commit 3d339d8

Please sign in to comment.