Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Prepare to release 3.0.1 (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
matanlurey authored Jan 30, 2018
1 parent da33f77 commit 5127d17
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
6 changes: 2 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
## 3.0.2

* Upgrade to `built_value` 5.1.0.

## 3.0.1

* Upgrade to `built_value` 5.1.0.
* Export the `literalNum` function.
* **BUG FIX**: `literal` supports a `Map`.

## 3.0.0

Expand Down
3 changes: 3 additions & 0 deletions lib/src/specs/expression/literal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Expression literal(Object literal, {Expression onError(Object value)}) {
if (literal is List) {
return literalList(literal);
}
if (literal is Map) {
return literalMap(literal);
}
if (literal == null) {
return literalNull;
}
Expand Down
10 changes: 1 addition & 9 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
name: code_builder
version: 3.0.2
version: 3.0.1
description: A fluent API for generating Dart code
author: Dart Team <[email protected]>
homepage: https://github.com/dart-lang/code_builder

environment:
sdk: '>=2.0.0-dev <2.0.0'

web:
compiler:
debug: dartdevc

dependencies:
built_collection: '>=1.0.0 <4.0.0'
built_value: ^5.1.0
Expand All @@ -23,7 +19,3 @@ dev_dependencies:
dart_style: ^1.0.0
source_gen: '^0.7.0'
test: ^0.12.0

transformers:
- test/pub_serve:
$include: test/**_test.dart

0 comments on commit 5127d17

Please sign in to comment.