Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
leoafarias committed Apr 23, 2024
1 parent e965e23 commit 894c192
Show file tree
Hide file tree
Showing 13 changed files with 55 additions and 80 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 3.1.4

* Disable git cache on CI environment by @leoafarias
* Add force flag to global command by @Rexios80
* Adds trailing space to version prompt by @pastrefvm/pull/705

## 3.1.3

* Fixed: Version weight handles custom versions properly by @quyenvsp
Expand Down
26 changes: 9 additions & 17 deletions lib/src/api/models/json_response.mapper.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, unnecessary_cast
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter

part of 'json_response.dart';
Expand Down Expand Up @@ -127,10 +127,8 @@ mixin GetCacheVersionsResponseMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
GetCacheVersionsResponseMapper.ensureInitialized()
.isValueEqual(this as GetCacheVersionsResponse, other));
return GetCacheVersionsResponseMapper.ensureInitialized()
.equalsValue(this as GetCacheVersionsResponse, other);
}

@override
Expand Down Expand Up @@ -266,10 +264,8 @@ mixin GetReleasesResponseMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
GetReleasesResponseMapper.ensureInitialized()
.isValueEqual(this as GetReleasesResponse, other));
return GetReleasesResponseMapper.ensureInitialized()
.equalsValue(this as GetReleasesResponse, other);
}

@override
Expand Down Expand Up @@ -395,10 +391,8 @@ mixin GetProjectResponseMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
GetProjectResponseMapper.ensureInitialized()
.isValueEqual(this as GetProjectResponse, other));
return GetProjectResponseMapper.ensureInitialized()
.equalsValue(this as GetProjectResponse, other);
}

@override
Expand Down Expand Up @@ -512,10 +506,8 @@ mixin GetContextResponseMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
GetContextResponseMapper.ensureInitialized()
.isValueEqual(this as GetContextResponse, other));
return GetContextResponseMapper.ensureInitialized()
.equalsValue(this as GetContextResponse, other);
}

@override
Expand Down
8 changes: 3 additions & 5 deletions lib/src/models/cache_flutter_version_model.mapper.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, unnecessary_cast
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter

part of 'cache_flutter_version_model.dart';
Expand Down Expand Up @@ -119,10 +119,8 @@ mixin CacheFlutterVersionMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
CacheFlutterVersionMapper.ensureInitialized()
.isValueEqual(this as CacheFlutterVersion, other));
return CacheFlutterVersionMapper.ensureInitialized()
.equalsValue(this as CacheFlutterVersion, other);
}

@override
Expand Down
26 changes: 9 additions & 17 deletions lib/src/models/config_model.mapper.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, unnecessary_cast
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter

part of 'config_model.dart';
Expand Down Expand Up @@ -214,10 +214,8 @@ mixin EnvConfigMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
EnvConfigMapper.ensureInitialized()
.isValueEqual(this as EnvConfig, other));
return EnvConfigMapper.ensureInitialized()
.equalsValue(this as EnvConfig, other);
}

@override
Expand Down Expand Up @@ -376,10 +374,8 @@ mixin FileConfigMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
FileConfigMapper.ensureInitialized()
.isValueEqual(this as FileConfig, other));
return FileConfigMapper.ensureInitialized()
.equalsValue(this as FileConfig, other);
}

@override
Expand Down Expand Up @@ -568,10 +564,8 @@ mixin AppConfigMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
AppConfigMapper.ensureInitialized()
.isValueEqual(this as AppConfig, other));
return AppConfigMapper.ensureInitialized()
.equalsValue(this as AppConfig, other);
}

@override
Expand Down Expand Up @@ -772,10 +766,8 @@ mixin ProjectConfigMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
ProjectConfigMapper.ensureInitialized()
.isValueEqual(this as ProjectConfig, other));
return ProjectConfigMapper.ensureInitialized()
.equalsValue(this as ProjectConfig, other);
}

@override
Expand Down
8 changes: 3 additions & 5 deletions lib/src/models/flutter_version_model.mapper.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, unnecessary_cast
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter

part of 'flutter_version_model.dart';
Expand Down Expand Up @@ -131,10 +131,8 @@ mixin FlutterVersionMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
FlutterVersionMapper.ensureInitialized()
.isValueEqual(this as FlutterVersion, other));
return FlutterVersionMapper.ensureInitialized()
.equalsValue(this as FlutterVersion, other);
}

@override
Expand Down
8 changes: 3 additions & 5 deletions lib/src/models/project_model.mapper.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, unnecessary_cast
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter

part of 'project_model.dart';
Expand Down Expand Up @@ -141,10 +141,8 @@ mixin ProjectMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
ProjectMapper.ensureInitialized()
.isValueEqual(this as Project, other));
return ProjectMapper.ensureInitialized()
.equalsValue(this as Project, other);
}

@override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, unnecessary_cast
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter

part of 'channels_model.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, unnecessary_cast
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter

part of 'flutter_releases_model.dart';
Expand Down Expand Up @@ -92,10 +92,8 @@ mixin FlutterReleasesResponseMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
FlutterReleasesResponseMapper.ensureInitialized()
.isValueEqual(this as FlutterReleasesResponse, other));
return FlutterReleasesResponseMapper.ensureInitialized()
.equalsValue(this as FlutterReleasesResponse, other);
}

@override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, unnecessary_cast
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter

part of 'version_model.dart';
Expand Down Expand Up @@ -118,10 +118,8 @@ mixin FlutterSdkReleaseMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
FlutterSdkReleaseMapper.ensureInitialized()
.isValueEqual(this as FlutterSdkRelease, other));
return FlutterSdkReleaseMapper.ensureInitialized()
.equalsValue(this as FlutterSdkRelease, other);
}

@override
Expand Down Expand Up @@ -272,10 +270,8 @@ mixin ChannelsMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
ChannelsMapper.ensureInitialized()
.isValueEqual(this as Channels, other));
return ChannelsMapper.ensureInitialized()
.equalsValue(this as Channels, other);
}

@override
Expand Down
8 changes: 3 additions & 5 deletions lib/src/utils/context.mapper.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, unnecessary_cast
// ignore_for_file: unused_element, unnecessary_cast, override_on_non_overriding_member
// ignore_for_file: strict_raw_type, inference_failure_on_untyped_parameter

part of 'context.dart';
Expand Down Expand Up @@ -153,10 +153,8 @@ mixin FVMContextMappable {

@override
bool operator ==(Object other) {
return identical(this, other) ||
(runtimeType == other.runtimeType &&
FVMContextMapper.ensureInitialized()
.isValueEqual(this as FVMContext, other));
return FVMContextMapper.ensureInitialized()
.equalsValue(this as FVMContext, other);
}

@override
Expand Down
2 changes: 1 addition & 1 deletion lib/src/version.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -253,18 +253,18 @@ packages:
dependency: "direct main"
description:
name: dart_mappable
sha256: f9f272f2af6c11adf4abc22574eb946df110251052a0d00c03519ecf2442defc
sha256: "47269caf2060533c29b823ff7fa9706502355ffcb61e7f2a374e3a0fb2f2c3f0"
url: "https://pub.dev"
source: hosted
version: "4.2.1"
version: "4.2.2"
dart_mappable_builder:
dependency: "direct dev"
description:
name: dart_mappable_builder
sha256: dd42e99b7e605ad6cf4a5c241a777c0f4f76a9769f27c439795355c444283074
sha256: ab5cf9086862d3fceb9773e945b5f95cc5471a28c782a4fc451bd400a4e0c64e
url: "https://pub.dev"
source: hosted
version: "4.2.1"
version: "4.2.3"
dart_style:
dependency: transitive
description:
Expand Down Expand Up @@ -757,10 +757,10 @@ packages:
dependency: transitive
description:
name: type_plus
sha256: "2e33cfac2e129297d5874567bdf7587502ec359881e9318551e014d91b02f84a"
sha256: d5d1019471f0d38b91603adb9b5fd4ce7ab903c879d2fbf1a3f80a630a03fcc9
url: "https://pub.dev"
source: hosted
version: "2.1.0"
version: "2.1.1"
typed_data:
dependency: transitive
description:
Expand Down
7 changes: 3 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: fvm
description: A simple cli to manage Flutter SDK versions per project. Support
channels, releases, and local cache for fast switching between versions.
version: 3.1.3
version: 3.1.4
homepage: https://github.com/leoafarias/fvm

environment:
Expand All @@ -28,10 +28,9 @@ dependencies:
stack_trace: ^1.11.1
pubspec: ^2.3.0
jsonc: ^0.0.3
dart_mappable: ^4.2.0
dart_mappable: ^4.2.2
cli_completion: ^0.5.0


dev_dependencies:
cli_pkg: 2.5.0
grinder: ^0.9.5
Expand All @@ -41,7 +40,7 @@ dev_dependencies:
http: ^1.1.0
dart_code_metrics_presets: ^2.9.0
build_runner: ^2.4.8
dart_mappable_builder: ^4.2.0
dart_mappable_builder: ^4.2.3
build_verify: ^3.1.0
build_version: ^2.1.1

0 comments on commit 894c192

Please sign in to comment.