Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
Decodable compatibility update (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
moglistree authored Feb 7, 2022
1 parent 619e69c commit fea4415
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 2.5.1
- Make vals dictionary retrievable from Jar.Context so it can be used in compatibility code with other encoding systems like Codable.

# 2.4.0

- Xcode 13.0 compatibility
Expand Down
4 changes: 2 additions & 2 deletions Lift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@
INFOPLIST_FILE = Lift/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks @loader_path/../Frameworks @executable_path/../Frameworks";
MARKETING_VERSION = 2.4.0;
MARKETING_VERSION = 2.5.1;
PRODUCT_BUNDLE_IDENTIFIER = com.iZettle.Lift;
PRODUCT_NAME = Lift;
SKIP_INSTALL = YES;
Expand All @@ -441,7 +441,7 @@
INFOPLIST_FILE = Lift/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks @loader_path/../Frameworks @executable_path/../Frameworks";
MARKETING_VERSION = 2.4.0;
MARKETING_VERSION = 2.5.1;
PRODUCT_BUNDLE_IDENTIFIER = com.iZettle.Lift;
PRODUCT_NAME = Lift;
SKIP_INSTALL = YES;
Expand Down
2 changes: 2 additions & 0 deletions Lift/Jar+Context.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ public extension Jar {
public init(_ vals: JarContextValue?...) {
self.init(vals)
}

public func getVals() -> [String: Any] { vals }
}

/// Creates a union between `self` context and `val`, where `val` context values will be replacing the same context value's in `self`'s context if they already exists
Expand Down

0 comments on commit fea4415

Please sign in to comment.