File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1- github "ReSwift/ReSwift" ~> 1.0 .0
1+ github "ReSwift/ReSwift" ~> 2 .0
Original file line number Diff line number Diff line change 1- github "ReSwift/ReSwift" "1 .0.0"
1+ github "ReSwift/ReSwift" "2 .0.0"
Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "ReSwiftRecorder"
3- s . version = "0.2.5 "
3+ s . version = "0.3.0 "
44 s . summary = "Time Travel and Hot Reloading for ReSwift"
55 s . description = <<-DESC
66 A recording store for ReSwift. Enables hot-reloading and time travel for ReSwift apps.
@@ -14,5 +14,5 @@ Pod::Spec.new do |s|
1414 s . ios . deployment_target = '8.0'
1515 s . requires_arc = true
1616 s . source_files = 'ReSwiftRecorder/**/*.swift'
17- s . dependency 'ReSwift' , '~> 1.0 .0'
17+ s . dependency 'ReSwift' , '~> 2 .0'
1818end
Original file line number Diff line number Diff line change 1515 <key >CFBundlePackageType </key >
1616 <string >FMWK </string >
1717 <key >CFBundleShortVersionString </key >
18- <string >0.2.5 </string >
18+ <string >0.3.0 </string >
1919 <key >CFBundleSignature </key >
2020 <string >???? </string >
2121 <key >CFBundleVersion </key >
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public class RecordingMainStore<State: StateType>: Store<State> {
114114 if let standardAction = standardAction {
115115 let recordedAction : [ String : AnyObject ] = [
116116 " timestamp " : NSDate . timeIntervalSinceReferenceDate ( ) ,
117- " action " : standardAction. dictionaryRepresentation ( )
117+ " action " : standardAction. dictionaryRepresentation
118118 ]
119119
120120 recordedActions. append ( recordedAction)
@@ -139,11 +139,11 @@ public class RecordingMainStore<State: StateType>: Store<State> {
139139 private func decodeAction( jsonDictionary: [ String : AnyObject ] ) -> Action {
140140 let standardAction = StandardAction ( dictionary: jsonDictionary)
141141
142- if !standardAction. isTypedAction {
143- return standardAction
142+ if !standardAction! . isTypedAction {
143+ return standardAction!
144144 } else {
145- let typedActionType = self . typeMap [ standardAction. type] !
146- return typedActionType. init ( standardAction)
145+ let typedActionType = self . typeMap [ standardAction! . type] !
146+ return typedActionType. init ( standardAction! )
147147 }
148148 }
149149
You can’t perform that action at this time.
0 commit comments