Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#### 1.0.2

* Minor doc updates

#### 1.0.1

* Added const constructors for `Platform` and `LocalPlatform`
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Platform

[![Build Status -](https://travis-ci.org/tvolkert/platform.svg?branch=master)](https://travis-ci.org/tvolkert/platform)
[![Coverage Status -](https://coveralls.io/repos/github/tvolkert/platform/badge.svg?branch=master)](https://coveralls.io/github/tvolkert/platform?branch=master)
[![Build Status -](https://travis-ci.org/google/platform.dart.svg?branch=master)](https://travis-ci.org/google/platform.dart)
[![Coverage Status -](https://coveralls.io/repos/github/google/platform.dart/badge.svg?branch=master)](https://coveralls.io/github/google/platform.dart?branch=master)

A generic platform abstraction for Dart.

Expand All @@ -11,7 +11,3 @@ accessing platform-specific information.
`package:platform` provides a lightweight wrapper around the static `Platform`
properties that exist in `dart:io`. However, it uses instance properties rather
than static properties, making it possible to mock out in tests.

### Disclaimer

This is not an official Google product.
1 change: 1 addition & 0 deletions lib/platform.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

/// Core interfaces & classes.
export 'src/interface/local_platform.dart';
export 'src/interface/platform.dart';
export 'src/testing/fake_platform.dart';
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: platform
version: 1.0.1
version: 1.0.2
authors:
- Todd Volkert <tvolkert@google.com>
description: A pluggable, mockable platform abstraction for Dart.
homepage: https://github.com/tvolkert/platform
homepage: https://github.com/google/platform.dart

dev_dependencies:
test: ^0.12.10
Expand Down