Skip to content

Releases: johnfairh/RubyGateway

3.2.1

11 May 17:12
d3829da
Compare
Choose a tag to compare

Bug Fixes

  • Fix warnings and tests for Swift 5.2/Xcode 11.4.

3.2.0

11 Dec 17:57
642e5e5
Compare
Choose a tag to compare

Breaking

  • None

Enhancements

  • Add RbObjectAccess.setConstant(_:newValue:), somehow overlooked!
  • Add RbGateway.setArguments(_:) to help with ARGV-setting.

Bug Fixes

  • None

3.1.0

29 Oct 09:17
fc8f667
Compare
Choose a tag to compare

Enhancements

  • Add Hashable conformance to RbSymbol.
  • Tests pass on Ruby 2.6 / Xcode 11.2.

3.0.0

16 Jun 08:56
36e3906
Compare
Choose a tag to compare
Breaking
  • Require minimum Swift 5 / Xcode 10.2 / Ruby 2.3.
  • Standardize all APIs to not require a leading name arg label.
  • Retire @dynamicMemberLookup support now the level of support from Swift is clearer. May revisit this in future.
Enhancements
  • Implement class and singleton-class methods in Swift.
  • Define classes and modules from Swift.
  • Add module mix-in functions to RbObject.
  • Bind Ruby objects and methods directly to Swift objects and methods.
  • Add throwing conversion as alternative to optional initializer.
  • Add RbMethod.callSuper() to call superclass method.

2.0.0

08 Oct 17:05
e6ad740
Compare
Choose a tag to compare
Breaking
  • Require Swift 4.2.
Enhancements
  • Dynamic member lookup for property access or 0-arg methods.
  • Global variables can use native Swift types.

1.1.0

18 Jul 12:11
a296c89
Compare
Choose a tag to compare

Enhancements

  • Add RbComplex wrapper for Ruby Complex.
  • Add RbRational wrapper for Ruby Rational.
  • Add RbGateway.defineGlobalVar - dynamically implement Ruby global variables in Swift.

1.0.0

11 May 19:43
f3ca8f9
Compare
Choose a tag to compare
Enhancements
  • Add RbGateway.taintChecks.
  • Full SemVer rules from now on.

0.5.0

05 May 16:20
2920e70
Compare
Choose a tag to compare
Breaking
  • Change kwArgs to use DictionaryLiteral per dynamic callable.
Enhancements
  • Add conditional Set RbObjectConvertible conformance.
  • Add conditional ArraySlice RbObjectConvertible conformance.

0.4.0

20 Apr 12:27
Compare
Choose a tag to compare
Breaking
  • Now requires Swift 4.1 (conditional conformances!).
  • Replace RbObject's deprecated CustomPlaygroundQuickLookable conformance with
    CustomPlaygroundDisplayConvertible.
Enhancements
  • Add conditional Array RbObjectConvertible conformance.
  • Add conditional Dictionary RbObjectConvertible conformance.
  • Add RbThread utilities and write up rules for multithreading.
  • Add conditional Range family RbObjectConvertible conformance.
  • Add RbObjectCollection to use Swift collection protocols with Ruby.
  • Allow Swift nil literal in argument positions to mean Ruby nil.

0.3.0

21 Mar 11:16
Compare
Choose a tag to compare

CocoaPods support.