Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: holgern/beem
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.22.7
Choose a base ref
...
head repository: holgern/beem
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.22.8
Choose a head ref
  • 2 commits
  • 7 files changed
  • 1 contributor

Commits on Mar 24, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b5f5d22 View commit details
  2. release 0.22.8

    holgern committed Mar 24, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    747c00d View commit details
Showing with 14 additions and 6 deletions.
  1. +4 −0 CHANGELOG.rst
  2. +1 −1 beem/version.py
  3. +1 −1 beemapi/version.py
  4. +5 −1 beembase/objects.py
  5. +1 −1 beembase/version.py
  6. +1 −1 beemgraphenebase/version.py
  7. +1 −1 setup.py
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Changelog
=========
0.22.8
------
* Allow to use HIVE/HBD also in operations

0.22.7
------
* Fix HIVE/HBD symbols in operations
2 changes: 1 addition & 1 deletion beem/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.22.7'
version = '0.22.8'
2 changes: 1 addition & 1 deletion beemapi/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.22.7'
version = '0.22.8'
6 changes: 5 additions & 1 deletion beembase/objects.py
Original file line number Diff line number Diff line change
@@ -48,7 +48,11 @@ def __init__(self, d, prefix=default_prefix):
if self.precision is None:
raise Exception("Asset unknown")
self.amount = round(float(self.amount) * 10 ** self.precision)

# Workaround to allow transfers in HIVE
if self.symbol == "HBD":
self.symbol = "SBD"
elif self.symbol == "HIVE":
self.symbol = "STEEM"
self.str_repr = '{:.{}f} {}'.format((float(self.amount) / 10 ** self.precision), self.precision, self.symbol)
elif isinstance(d, list):
self.amount = d[0]
2 changes: 1 addition & 1 deletion beembase/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.22.7'
version = '0.22.8'
2 changes: 1 addition & 1 deletion beemgraphenebase/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.22.7'
version = '0.22.8'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
ascii = codecs.lookup('ascii')
codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs'))

VERSION = '0.22.7'
VERSION = '0.22.8'

tests_require = ['mock >= 2.0.0', 'pytest', 'pytest-mock', 'parameterized']