Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Update Skopelos versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
albertodebortoli committed Nov 3, 2017
1 parent 7242395 commit 1947c3f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
2 changes: 0 additions & 2 deletions Example/JustPersist.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,6 @@
isa = XCBuildConfiguration;
baseConfigurationReference = A5F8015FF5A57E45733803AB /* Pods-JustPersist_Example.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = JustPersist/Info.plist;
Expand All @@ -913,7 +912,6 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 90540AB3B8C1DA3512EBC606 /* Pods-JustPersist_Example.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = JustPersist/Info.plist;
Expand Down
14 changes: 7 additions & 7 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
PODS:
- JustPersist/Core (1.0.1)
- JustPersist/MagicalRecord (1.0.1):
- JustPersist/Core (1.0.2)
- JustPersist/MagicalRecord (1.0.2):
- JustPersist/Core
- MagicalRecord (~> 2.3.2)
- JustPersist/Skopelos (1.0.1):
- JustPersist/Skopelos (1.0.2):
- JustPersist/Core
- Skopelos (= 2.0.0)
- Skopelos (~> 2.0.0)
- MagicalRecord (2.3.2):
- MagicalRecord/Core (= 2.3.2)
- MagicalRecord/Core (2.3.2)
- Skopelos (2.0.0)
- Skopelos (2.0.1)

DEPENDENCIES:
- JustPersist/MagicalRecord (from `../`)
Expand All @@ -20,9 +20,9 @@ EXTERNAL SOURCES:
:path: ../

SPEC CHECKSUMS:
JustPersist: 0346decb6cd875b432365c2ca839de7ff9e0dabc
JustPersist: 487ad6f8086102801a2ae93290c62d0b6cc11501
MagicalRecord: 53bed74b4323b930992a725be713e53b37d19755
Skopelos: c35baf7b0c593a6889d121090eaf31a484ecc8f2
Skopelos: 25d8ffe8d5a0dbc4499ef3e7aabc08ecfa236bbc

PODFILE CHECKSUM: b99881e9785c7f31dda9fd2f24bc7c8a01141fce

Expand Down
4 changes: 2 additions & 2 deletions JustPersist.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'JustPersist'
s.version = '1.0.1'
s.version = '1.0.2'
s.summary = 'JustPersist is the easiest and safest way to do persistence on iOS with Core Data support out of the box. It also allows you to migrate to any other persistence framework with minimal effort.'

s.description = "<<-DESC
Expand Down Expand Up @@ -36,7 +36,7 @@ At it's core, JustPersist is a persistence layer with a clear and simple interfa

s.subspec 'Skopelos' do |ss|
ss.dependency 'JustPersist/Core'
ss.dependency 'Skopelos', '2.0.0'
ss.dependency 'Skopelos', '~> 2.0.0'
ss.source_files = 'JustPersist/Classes/Wrappers/Skopelos/*'
end

Expand Down
6 changes: 3 additions & 3 deletions JustPersist/Classes/Wrappers/Skopelos/SkopelosDataStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ extension SkopelosDataStore: DataStore {

precondition(isSetup, "You must setup the data store before trying to read from it")

skopelos.read { context in
_ = skopelos.read { context in
let readAccessor = CoreDataAccessor(withContext: context)

if let errorHandler = self.errorHandler {
Expand All @@ -105,7 +105,7 @@ extension SkopelosDataStore: DataStore {

isExecutingWriting = true

skopelos.writeSync { context in
_ = skopelos.writeSync { context in
let writeAccessor = CoreDataAccessor(withContext: context)

if let errorHandler = self.errorHandler {
Expand Down Expand Up @@ -152,7 +152,7 @@ extension SkopelosDataStore: DataStore {

public func makeChildDataStore() -> ChildDataStore {
var mainContext: NSManagedObjectContext! = nil
skopelos.read { context in
_ = skopelos.read { context in
mainContext = context
}
return ChildCoreDataStore(parentDataStore: self, parentContext: mainContext, errorHandler: errorHandler)
Expand Down

0 comments on commit 1947c3f

Please sign in to comment.