Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve README (snapshot versions) #277

Merged
merged 1 commit into from
Mar 10, 2020
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
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This package is still in an early phase and the API will likely change.
[![build status](https://github.com/vitusortner/floor/workflows/Continuous%20integration/badge.svg)](https://github.com/vitusortner/floor/actions)
[![codecov](https://codecov.io/gh/vitusortner/floor/branch/develop/graph/badge.svg)](https://codecov.io/gh/vitusortner/floor)

### Table of contents
### Table of Contents

1. [Quick Start](#quick-start)
1. [Architecture](#architecture)
Expand All @@ -28,6 +28,7 @@ This package is still in an early phase and the API will likely change.
1. [Callback](#callback)
1. [Testing](#testing)
1. [Examples](#examples)
1. [Snapshot Version](#snapshot-version)
1. [Naming](#naming)
1. [Bugs and Feedback](#bugs-and-feedback)
1. [License](#license)
Expand Down Expand Up @@ -473,7 +474,7 @@ Their usage can be seen in the following snippet.
```dart
final callback = Callback(
onCreate: (database, version) { /* database has been created */ },
onOpen: (database) { /* database has been opened */},
onOpen: (database) { /* database has been opened */ },
onUpgrade: (database, startVersion, endVersion) { /* database has been upgraded */ },
);

Expand Down Expand Up @@ -556,9 +557,33 @@ void main() {

## Examples
For further examples take a look at the [example](https://github.com/vitusortner/floor/tree/develop/example) and [test](https://github.com/vitusortner/floor/tree/develop/floor/test/integration) directories.

## Snapshot Version
In case you want to play with the most recent changes that haven't been released to pub yet, apply following changes to your `pubspec.yaml`.

```yaml
dependencies:
flutter:
sdk: flutter
floor:
git:
url: git://github.com/vitusortner/floor.git
ref: develop
path: floor

dev_dependencies:
floor_generator:
git:
url: git://github.com/vitusortner/floor.git
ref: develop
path: floor_generator
build_runner: ^1.7.3
```

## Naming
*Floor - the bottom layer of a [Room](https://developer.android.com/topic/libraries/architecture/room).*
The library's name derives from the following.
*Floor* as the *bottom layer* of a [Room](https://developer.android.com/topic/libraries/architecture/room) which points to the analogy of the database layer being the bottom and foundation layer of most applications.
Where *fl* also gives a pointer that the library is used in the Flutter context.

## Bugs and Feedback
For bugs, questions and discussions please use the [Github Issues](https://github.com/vitusortner/floor/issues).
Expand Down
6 changes: 4 additions & 2 deletions example/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Floor
**A supportive SQLite abstraction for your Flutter applications.**
**A supportive SQLite abstraction for your Flutter applications (iOS, Android and macOS)**

This is an example on how to use the library.

---

*Floor - the bottom layer of a [Room](https://developer.android.com/topic/libraries/architecture/room).*
The library's name derives from the following.
*Floor* as the *bottom layer* of a [Room](https://developer.android.com/topic/libraries/architecture/room) which points to the analogy of the database layer being the bottom and foundation layer of most applications.
Where *fl* also gives a pointer that the library is used in the Flutter context.

## Bugs and Feedback
For bugs, questions and discussions please use the [Github Issues](https://github.com/vitusortner/floor/issues).
Expand Down
31 changes: 28 additions & 3 deletions floor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This package is still in an early phase and the API will likely change.
[![build status](https://github.com/vitusortner/floor/workflows/Continuous%20integration/badge.svg)](https://github.com/vitusortner/floor/actions)
[![codecov](https://codecov.io/gh/vitusortner/floor/branch/develop/graph/badge.svg)](https://codecov.io/gh/vitusortner/floor)

### Table of contents
### Table of Contents

1. [Quick Start](#quick-start)
1. [Architecture](#architecture)
Expand All @@ -28,6 +28,7 @@ This package is still in an early phase and the API will likely change.
1. [Callback](#callback)
1. [Testing](#testing)
1. [Examples](#examples)
1. [Snapshot Version](#snapshot-version)
1. [Naming](#naming)
1. [Bugs and Feedback](#bugs-and-feedback)
1. [License](#license)
Expand Down Expand Up @@ -473,7 +474,7 @@ Their usage can be seen in the following snippet.
```dart
final callback = Callback(
onCreate: (database, version) { /* database has been created */ },
onOpen: (database) { /* database has been opened */},
onOpen: (database) { /* database has been opened */ },
onUpgrade: (database, startVersion, endVersion) { /* database has been upgraded */ },
);

Expand Down Expand Up @@ -556,9 +557,33 @@ void main() {

## Examples
For further examples take a look at the [example](https://github.com/vitusortner/floor/tree/develop/example) and [test](https://github.com/vitusortner/floor/tree/develop/floor/test/integration) directories.

## Snapshot Version
In case you want to play with the most recent changes that haven't been released to pub yet, apply following changes to your `pubspec.yaml`.

```yaml
dependencies:
flutter:
sdk: flutter
floor:
git:
url: git://github.com/vitusortner/floor.git
ref: develop
path: floor

dev_dependencies:
floor_generator:
git:
url: git://github.com/vitusortner/floor.git
ref: develop
path: floor_generator
build_runner: ^1.7.3
```

## Naming
*Floor - the bottom layer of a [Room](https://developer.android.com/topic/libraries/architecture/room).*
The library's name derives from the following.
*Floor* as the *bottom layer* of a [Room](https://developer.android.com/topic/libraries/architecture/room) which points to the analogy of the database layer being the bottom and foundation layer of most applications.
Where *fl* also gives a pointer that the library is used in the Flutter context.

## Bugs and Feedback
For bugs, questions and discussions please use the [Github Issues](https://github.com/vitusortner/floor/issues).
Expand Down
8 changes: 6 additions & 2 deletions floor_annotation/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Floor
**A supportive SQLite abstraction for your Flutter applications.**
**A supportive SQLite abstraction for your Flutter applications (iOS, Android and macOS)**

Don't import this package!
You should be using the [floor](https://pub.dartlang.org/packages/floor) package, which comes with all the annotations.
Separating the packages brings some benefits for developing the library but not for the users of it.

*Floor - the bottom layer of a [Room](https://developer.android.com/topic/libraries/architecture/room).*
---

The library's name derives from the following.
*Floor* as the *bottom layer* of a [Room](https://developer.android.com/topic/libraries/architecture/room) which points to the analogy of the database layer being the bottom and foundation layer of most applications.
Where *fl* also gives a pointer that the library is used in the Flutter context.

## Bugs and Feedback
For bugs, questions and discussions please use the [Github Issues](https://github.com/vitusortner/floor/issues).
Expand Down
6 changes: 4 additions & 2 deletions floor_generator/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Floor
**A supportive SQLite abstraction for your Flutter applications.**
**A supportive SQLite abstraction for your Flutter applications (iOS, Android and macOS)**

This is the dev dependency and contains the annotation processor.
Please refer to the [floor](https://pub.dartlang.org/packages/floor) package on pub or visit [Github](https://github.com/vitusortner/floor) for more information.

---

*Floor - the bottom layer of a [Room](https://developer.android.com/topic/libraries/architecture/room).*
The library's name derives from the following.
*Floor* as the *bottom layer* of a [Room](https://developer.android.com/topic/libraries/architecture/room) which points to the analogy of the database layer being the bottom and foundation layer of most applications.
Where *fl* also gives a pointer that the library is used in the Flutter context.

## Bugs and Feedback
For bugs, questions and discussions please use the [Github Issues](https://github.com/vitusortner/floor/issues).
Expand Down