Skip to content

Commit 5d97a88

Browse files
authored
Merge pull request #5 from ReSwift/next-release
0.3.0 Release
2 parents 554c560 + 59eb733 commit 5d97a88

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "ReSwift/ReSwift" ~> 1.0.0
1+
github "ReSwift/ReSwift" ~> 2.0

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "ReSwift/ReSwift" "1.0.0"
1+
github "ReSwift/ReSwift" "2.0.0"

ReSwiftRecorder.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::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'
1818
end

ReSwiftRecorder/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
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>

ReSwiftRecorder/RecordingStore.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)