dfpyre 0.8.4__tar.gz → 0.8.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dfpyre might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dfpyre
3
- Version: 0.8.4
3
+ Version: 0.8.5
4
4
  Summary: A package for creating and modifying code templates for the DiamondFire Minecraft server.
5
5
  Home-page: https://github.com/Amp63/pyre
6
6
  License: MIT
@@ -38,7 +38,7 @@ This module works best with [CodeClient](https://modrinth.com/mod/codeclient) in
38
38
  - All code block types
39
39
  - All code item types
40
40
  - Direct sending to DF via recode or codeclient
41
- - Automatic type conversion (int to num, str to text)
41
+ - Automatic type conversion (`int` to `Number`, `str` to `String`)
42
42
  - Auto completed action names (if your IDE supports type hints)
43
43
  - Warnings for unrecognized actions and tags
44
44
  - Shorthand format for variables
@@ -20,7 +20,7 @@ This module works best with [CodeClient](https://modrinth.com/mod/codeclient) in
20
20
  - All code block types
21
21
  - All code item types
22
22
  - Direct sending to DF via recode or codeclient
23
- - Automatic type conversion (int to num, str to text)
23
+ - Automatic type conversion (`int` to `Number`, `str` to `String`)
24
24
  - Auto completed action names (if your IDE supports type hints)
25
25
  - Warnings for unrecognized actions and tags
26
26
  - Shorthand format for variables
@@ -23,7 +23,7 @@ def convert_argument(arg: Any):
23
23
  if shorthand_match:
24
24
  scope = VAR_SCOPES[shorthand_match.group(1)]
25
25
  return Variable(shorthand_match.group(2), scope)
26
- return Text(arg)
26
+ return String(arg)
27
27
  return arg
28
28
 
29
29
 
@@ -443,4 +443,4 @@ def item_from_dict(item_dict: dict) -> Any:
443
443
  return
444
444
 
445
445
  else:
446
- raise PyreException(f'Unrecognized item id `{item_id}`')
446
+ raise PyreException(f'Unrecognized item id `{item_id}`')
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "dfpyre"
3
- version = "0.8.4"
3
+ version = "0.8.5"
4
4
  description = "A package for creating and modifying code templates for the DiamondFire Minecraft server."
5
5
  authors = ["Amp"]
6
6
  readme = "README.md"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes