oicana 0.10.0.rc.2-aarch64-linux-gnu → 0.10.0.rc.3-aarch64-linux-gnu
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.
- checksums.yaml +4 -4
- data/lib/oicana/native/liboicana_uniffi.so +1 -1
- data/lib/oicana/oicana_uniffi.rb +113 -29
- data/lib/oicana/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 31084e215313ebf1eb02cee8cbeb6fad354bfe65c101a977d0b5b64b4c329018
|
|
4
|
+
data.tar.gz: d93b086b0a2bde9e8b3cdd6c203087159dbc1d870ae218af6ece390c294bcbd1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55910fefd7fa3a33547c8b8ce0f3b65162c50cc5e5984ad45dd3db178878e5089d7b1295381ebb985dfa71e6330a7952dfaf0b7b13a7e55105b02b0ef9367d54
|
|
7
|
+
data.tar.gz: 8fe91bd83f13378dd743fe94f54c2bec07a62b8b7627c15a352197968849ddd1eec5cfca1b45c3ff7f70176387d753df53fd4e350086fd1b908241c2bb208b9b
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: data/lib/oicana/native/liboicana_uniffi.so
|
|
3
3
|
size: 45952304 bytes
|
|
4
|
-
sha256:
|
|
4
|
+
sha256: 0839a7395d1391562d71539612f598d732b5da3ca5c1425155b87b03f7533237
|
data/lib/oicana/oicana_uniffi.rb
CHANGED
|
@@ -953,39 +953,39 @@ class RustBufferStream
|
|
|
953
953
|
variant = unpack_from 4, 'l>'
|
|
954
954
|
|
|
955
955
|
if variant == 1
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
956
|
+
return OicanaError::InvalidTemplate.new(
|
|
957
|
+
readString()
|
|
958
|
+
)
|
|
959
959
|
end
|
|
960
960
|
if variant == 2
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
961
|
+
return OicanaError::InvalidInput.new(
|
|
962
|
+
readString()
|
|
963
|
+
)
|
|
964
964
|
end
|
|
965
965
|
if variant == 3
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
966
|
+
return OicanaError::Compilation.new(
|
|
967
|
+
readString()
|
|
968
|
+
)
|
|
969
969
|
end
|
|
970
970
|
if variant == 4
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
971
|
+
return OicanaError::FileNotFound.new(
|
|
972
|
+
readString()
|
|
973
|
+
)
|
|
974
974
|
end
|
|
975
975
|
if variant == 5
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
976
|
+
return OicanaError::Export.new(
|
|
977
|
+
readString()
|
|
978
|
+
)
|
|
979
979
|
end
|
|
980
980
|
if variant == 6
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
981
|
+
return OicanaError::NotFound.new(
|
|
982
|
+
readString()
|
|
983
|
+
)
|
|
984
984
|
end
|
|
985
985
|
if variant == 7
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
986
|
+
return OicanaError::Internal.new(
|
|
987
|
+
readString()
|
|
988
|
+
)
|
|
989
989
|
end
|
|
990
990
|
|
|
991
991
|
raise InternalError, 'Unexpected variant tag for TypeOicanaError'
|
|
@@ -1567,14 +1567,98 @@ CALL_ERROR = 1
|
|
|
1567
1567
|
CALL_PANIC = 2
|
|
1568
1568
|
|
|
1569
1569
|
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1570
|
+
module OicanaError
|
|
1571
|
+
class InvalidTemplate < StandardError
|
|
1572
|
+
def initialize(message)
|
|
1573
|
+
@message = message
|
|
1574
|
+
super()
|
|
1575
|
+
end
|
|
1576
|
+
|
|
1577
|
+
attr_reader :message
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
def to_s
|
|
1581
|
+
"#{self.class.name}(message=#{@message.inspect})"
|
|
1582
|
+
end
|
|
1583
|
+
end
|
|
1584
|
+
class InvalidInput < StandardError
|
|
1585
|
+
def initialize(message)
|
|
1586
|
+
@message = message
|
|
1587
|
+
super()
|
|
1588
|
+
end
|
|
1589
|
+
|
|
1590
|
+
attr_reader :message
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
def to_s
|
|
1594
|
+
"#{self.class.name}(message=#{@message.inspect})"
|
|
1595
|
+
end
|
|
1596
|
+
end
|
|
1597
|
+
class Compilation < StandardError
|
|
1598
|
+
def initialize(message)
|
|
1599
|
+
@message = message
|
|
1600
|
+
super()
|
|
1601
|
+
end
|
|
1602
|
+
|
|
1603
|
+
attr_reader :message
|
|
1604
|
+
|
|
1605
|
+
|
|
1606
|
+
def to_s
|
|
1607
|
+
"#{self.class.name}(message=#{@message.inspect})"
|
|
1608
|
+
end
|
|
1609
|
+
end
|
|
1610
|
+
class FileNotFound < StandardError
|
|
1611
|
+
def initialize(message)
|
|
1612
|
+
@message = message
|
|
1613
|
+
super()
|
|
1614
|
+
end
|
|
1615
|
+
|
|
1616
|
+
attr_reader :message
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
def to_s
|
|
1620
|
+
"#{self.class.name}(message=#{@message.inspect})"
|
|
1621
|
+
end
|
|
1622
|
+
end
|
|
1623
|
+
class Export < StandardError
|
|
1624
|
+
def initialize(message)
|
|
1625
|
+
@message = message
|
|
1626
|
+
super()
|
|
1627
|
+
end
|
|
1628
|
+
|
|
1629
|
+
attr_reader :message
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
def to_s
|
|
1633
|
+
"#{self.class.name}(message=#{@message.inspect})"
|
|
1634
|
+
end
|
|
1635
|
+
end
|
|
1636
|
+
class NotFound < StandardError
|
|
1637
|
+
def initialize(message)
|
|
1638
|
+
@message = message
|
|
1639
|
+
super()
|
|
1640
|
+
end
|
|
1641
|
+
|
|
1642
|
+
attr_reader :message
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
def to_s
|
|
1646
|
+
"#{self.class.name}(message=#{@message.inspect})"
|
|
1647
|
+
end
|
|
1648
|
+
end
|
|
1649
|
+
class Internal < StandardError
|
|
1650
|
+
def initialize(message)
|
|
1651
|
+
@message = message
|
|
1652
|
+
super()
|
|
1653
|
+
end
|
|
1654
|
+
|
|
1655
|
+
attr_reader :message
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
def to_s
|
|
1659
|
+
"#{self.class.name}(message=#{@message.inspect})"
|
|
1660
|
+
end
|
|
1661
|
+
end
|
|
1578
1662
|
|
|
1579
1663
|
end
|
|
1580
1664
|
|
data/lib/oicana/version.rb
CHANGED