Skip to content

Commit

Permalink
Dependencies version updated (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
nixrajput authored Jan 23, 2025
1 parent 7c5929a commit cf95dc7
Show file tree
Hide file tree
Showing 9 changed files with 198 additions and 200 deletions.
8 changes: 8 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,39 +16,47 @@
## **Checklist**

### Code Changes

- [ ] I have added new features to the package (e.g., custom time thresholds, new languages, etc.)
- [ ] I have fixed existing issues (e.g., incorrect formatting, performance bottlenecks)
- [ ] I have improved the overall structure or optimized the codebase

### Documentation

- [ ] I have updated the README file or relevant documentation with the changes
- [ ] I have added code usage examples or updated existing examples to reflect changes
- [ ] I have updated the package version in the `pubspec.yaml` file

### Testing

**General Tests**

- [ ] The package correctly formats time differences into human-readable strings
- [ ] The package supports dynamic updates (e.g., changing locales, thresholds)

**Localization**

- [ ] The package supports all documented languages
- [ ] Custom locales can be added and work as expected
- [ ] Language fallback works correctly if a specific locale is missing

**Custom Thresholds**

- [ ] Custom time thresholds are applied correctly
- [ ] The package handles edge cases like just now, future dates, or extreme past dates

**Error Handling**

- [ ] The package handles null or invalid inputs gracefully
- [ ] Fallback behavior works for unexpected or incorrect configurations

**Responsiveness**

- [ ] The package adapts to time-zone differences accurately
- [ ] The formatting responds correctly to locale changes in the app

**Performance**

- [ ] The package performs efficiently, even when processing frequent or large updates
- [ ] Performance tests show no regressions

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Run Test Cases

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
check_up_to_date:
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.24.x
flutter-version: 3.27.x

- name: Run Flutter doctor
run: flutter doctor -v
Expand All @@ -50,4 +50,4 @@ jobs:
run: flutter analyze

- name: Run Flutter Tests
run: flutter test
run: flutter test
6 changes: 3 additions & 3 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish to GitHub Pages

on:
push:
branches: [ master ]
branches: [master]

jobs:
check_up_to_date:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.24.x
flutter-version: 3.27.x

- name: Check Flutter Version
run: flutter --version
Expand All @@ -54,4 +54,4 @@ jobs:
uses: bluefireteam/flutter-gh-pages@v8
with:
workingDir: example
baseHref: /get_time_ago/
baseHref: /get_time_ago/
Loading

0 comments on commit cf95dc7

Please sign in to comment.