Skip to content

Commit

Permalink
Merge pull request #207 from osociety/dev
Browse files Browse the repository at this point in the history
Dev -> Main
  • Loading branch information
git-elliot authored Nov 17, 2024
2 parents c3b7c06 + f3093b8 commit f3f2d60
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 24 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:

- name: Install dependencies
run: dart pub get

- name: Run build_runner
run: dart run build_runner build --delete-conflicting-outputs

# Uncomment this step to verify the use of 'dart format' on each commit.
# - name: Verify formatting
# run: dart format --output=none --set-exit-if-changed .
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .

- name: Run build_runner
run: dart run build_runner build

# Consider passing '--fatal-infos' for slightly stricter analysis.
- name: Analyze project source
Expand All @@ -62,4 +62,7 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
file: coverage/coverage.lcov
file: coverage/coverage.lcov

- name: Check Publish Warnings
run: dart pub publish --dry-run
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: dart pub get

- name: Run build_runner
run: dart run build_runner build --delete-conflicting-outputs
run: dart run build_runner build

- name: Analyze project source
run: dart analyze --fatal-infos
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## 5.0.3
Updated dependencies

## 5.0.2
1. Bug for other languages on Windows fixed by codepage.
2. Added mac address option to ActiveHost constractor.
Expand Down
1 change: 0 additions & 1 deletion lib/src/services/impls/arp_service_sembast_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import 'package:network_tools/network_tools.dart';
import 'package:network_tools/src/device_info/arp_table_helper.dart';
import 'package:network_tools/src/services/arp_service.dart';
import 'package:path/path.dart' as p;
import 'package:sembast/sembast.dart';
import 'package:sembast/sembast_io.dart';

class ARPServiceSembastImpl extends ARPService {
Expand Down
28 changes: 13 additions & 15 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: network_tools
description: Networking Tools library which can help you discover open ports, devices on subnet and many other things.
version: 5.0.2
version: 5.0.3
issue_tracker: https://github.com/osociety/network_tools/issues
repository: https://github.com/osociety/network_tools

Expand All @@ -24,31 +24,29 @@ dependencies:
# Multi-platform network ping utility.
dart_ping: ^9.0.1
# A composable, Future-based library for making HTTP requests.
http: ^1.1.2
http: ^1.2.2
# Defines the annotations used by json_serializable.
json_annotation: ^4.8.1
json_annotation: ^4.9.0
# Debugging and error logging.
logging: ^1.2.0
logging: ^1.3.0
# Performing mDNS queries (e.g. Bonjour, Avahi).
multicast_dns: ^0.3.2+6
multicast_dns: ^0.3.2+7
# A comprehensive, cross-platform path manipulation library for Dart.
path: ^1.8.3
path: ^1.9.1
# Process run helpers
process_run: ">=0.13.3+1 <0.15.0"
process_run: ^1.2.2
# Yet another NoSQL persistent store database solution for single process io apps.
sembast: ^3.5.0+1
sembast: ^3.7.5+2
# Cross-platform 'dart:io' that works in all platforms.
universal_io: ^2.2.2


dev_dependencies:
# Standalone generator and watcher for Dart
build_runner: ^2.4.7
# A generator for injectable library.
injectable_generator: ^2.4.1
# provides a concrete way of generating files using Dart code
build_runner: ^2.4.13
# Provides Dart Build System builders for handling JSON.
json_serializable: ^6.7.1
json_serializable: ^6.8.0
# Set of lint rules for Dart.
lint: ^2.1.2
lint: ^2.3.0
# Writing and running Dart tests.
test: ^1.24.6
test: ^1.25.8
2 changes: 1 addition & 1 deletion test/network_tools_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void main() {
},
);

test('Running scanDevicesForSinglePort tests', () async* {
test('Running scanDevicesForSinglePort tests', () {
expectLater(
HostScannerService.instance.scanDevicesForSinglePort(
interfaceIp,
Expand Down

0 comments on commit f3f2d60

Please sign in to comment.