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

chore(*): release 1.0.1 #6

Merged
merged 4 commits into from
Aug 20, 2024
Merged

chore(*): release 1.0.1 #6

merged 4 commits into from
Aug 20, 2024

Conversation

bungle
Copy link
Owner

@bungle bungle commented Aug 20, 2024

Removed

  • The unnecessary :is_valid was removed (the URL is validated when parsed)

Added

  • Explicitly free Ada URL object on invalid URLs

Also better test coverage:

| File                                                           Hits Missed Coverage
| -----------------------------------------------------------------------------------
| /usr/local/openresty/luajit/share/lua/5.1/resty/ada.lua        557  0      100.00%
| /usr/local/openresty/luajit/share/lua/5.1/resty/ada/lib.lua    36   12     75.00%
| /usr/local/openresty/luajit/share/lua/5.1/resty/ada/search.lua 171  0      100.00%
| /usr/local/openresty/luajit/share/lua/5.1/resty/ada/utils.lua  27   0      100.00%
| -----------------------------------------------------------------------------------
| Total                                                          791  12     98.51%

### Summary

```
| File                                                           Hits Missed Coverage
| -----------------------------------------------------------------------------------
| /usr/local/openresty/luajit/share/lua/5.1/resty/ada.lua        557  0      100.00%
| /usr/local/openresty/luajit/share/lua/5.1/resty/ada/lib.lua    36   12     75.00%
| /usr/local/openresty/luajit/share/lua/5.1/resty/ada/search.lua 171  0      100.00%
| /usr/local/openresty/luajit/share/lua/5.1/resty/ada/utils.lua  27   0      100.00%
| -----------------------------------------------------------------------------------
| Total                                                          791  12     98.51%
```

Signed-off-by: Aapo Talvensaari <[email protected]>
### Removed
- The unnecessary `:is_valid` was removed (the URL is validated when parsed)

### Added
- Explicitly free Ada URL object on invalid URLs

Signed-off-by: Aapo Talvensaari <[email protected]>
@bungle bungle merged commit 41327f6 into main Aug 20, 2024
1 check passed
@bungle bungle deleted the chore/release-1.0.1 branch August 20, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant