Skip to content

Commit

Permalink
1.0.5 (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel authored Apr 10, 2024
2 parents e3659dc + 0e97658 commit e2b6f8c
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 16 deletions.
18 changes: 9 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# Changelog

## [1.0.4a3](https://github.com/NeonGeckoCom/skill-user_settings/tree/1.0.4a3) (2023-12-16)
## [1.0.5a3](https://github.com/NeonGeckoCom/skill-user_settings/tree/1.0.5a3) (2024-04-10)

[Full Changelog](https://github.com/NeonGeckoCom/skill-user_settings/compare/1.0.4a2...1.0.4a3)
[Full Changelog](https://github.com/NeonGeckoCom/skill-user_settings/compare/1.0.5a2...1.0.5a3)

**Merged pull requests:**

- Update test dependencies to stable specs [\#104](https://github.com/NeonGeckoCom/skill-user_settings/pull/104) ([NeonDaniel](https://github.com/NeonDaniel))
- Update test dependency and fix docstring [\#109](https://github.com/NeonGeckoCom/skill-user_settings/pull/109) ([NeonDaniel](https://github.com/NeonDaniel))

## [1.0.4a2](https://github.com/NeonGeckoCom/skill-user_settings/tree/1.0.4a2) (2023-11-20)
## [1.0.5a2](https://github.com/NeonGeckoCom/skill-user_settings/tree/1.0.5a2) (2024-02-05)

[Full Changelog](https://github.com/NeonGeckoCom/skill-user_settings/compare/1.0.4a1...1.0.4a2)
[Full Changelog](https://github.com/NeonGeckoCom/skill-user_settings/compare/1.0.5a1...1.0.5a2)

**Merged pull requests:**

- Feat catch unlikely long names [\#103](https://github.com/NeonGeckoCom/skill-user_settings/pull/103) ([NeonDaniel](https://github.com/NeonDaniel))
- Support ovos-utils 0.1 [\#107](https://github.com/NeonGeckoCom/skill-user_settings/pull/107) ([NeonDaniel](https://github.com/NeonDaniel))

## [1.0.4a1](https://github.com/NeonGeckoCom/skill-user_settings/tree/1.0.4a1) (2023-11-02)
## [1.0.5a1](https://github.com/NeonGeckoCom/skill-user_settings/tree/1.0.5a1) (2024-01-15)

[Full Changelog](https://github.com/NeonGeckoCom/skill-user_settings/compare/1.0.3...1.0.4a1)
[Full Changelog](https://github.com/NeonGeckoCom/skill-user_settings/compare/1.0.4...1.0.5a1)

**Merged pull requests:**

- Remove username example from README [\#102](https://github.com/NeonGeckoCom/skill-user_settings/pull/102) ([strugee](https://github.com/strugee))
- Update test dependencies and test case to resolve failures [\#106](https://github.com/NeonGeckoCom/skill-user_settings/pull/106) ([NeonDaniel](https://github.com/NeonDaniel))



Expand Down
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ def _get_gender(self, request: str) -> Optional[str]:

def _spoken_email(self, email_addr: str):
"""
Get a pronouncable email address string
Get a pronounceable email address string
"""
return email_addr.replace('.', f' {self.translate("word_dot")} ')\
.replace('@', f' {self.translate("word_at")} ')
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
neon-utils[network]~=1.4
ovos-utils~=0.0.32
ovos-utils~=0.0, >=0.0.32
ovos-bus-client~=0.0.3
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neon-minerva[padatious]~=0.1
neon-minerva[padatious]~=0.2
2 changes: 1 addition & 1 deletion skill.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"python": [
"neon-utils[network]~=1.4",
"ovos-bus-client~=0.0.3",
"ovos-utils~=0.0.32"
"ovos-utils~=0.0, >=0.0.32"
],
"system": {},
"skill": []
Expand Down
6 changes: 4 additions & 2 deletions test/test_skill.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,15 +528,17 @@ def test_handle_change_dialog_option(self):
def test_handle_say_my_name(self):
test_profile = self.user_config
test_message = Message("test", {},
{"username": "test_user",
{"username": "local",
"user_profiles": [test_profile]})

# No name set
# No name set for local user
self.skill.handle_say_my_name(test_message)
self.skill.speak_dialog.assert_called_with("name_not_known",
{"name_position": "name"},
private=True)

# Profile for requesting user set
test_message.context["username"] = "test_user"
test_message.context["user_profiles"][0]["user"]["username"] = \
"test_user"
# first name not known
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

__version__ = "1.0.4"
__version__ = "1.0.5"

0 comments on commit e2b6f8c

Please sign in to comment.