Skip to content

Commit

Permalink
Added Reactive folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Piñera committed Dec 13, 2015
1 parent 45449d1 commit 95f339f
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "ReactiveCocoa/ReactiveCocoa" "v4.0.0-alpha.4"
github "ReactiveCocoa/ReactiveCocoa" "v4.0.0-alpha.5"
github "realm/realm-cocoa" "v0.96.2"
4 changes: 2 additions & 2 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github "Quick/Nimble" "v3.0.0"
github "Quick/Quick" "v0.8.0"
github "antitypical/Result" "1.0.0"
github "antitypical/Result" "1.0.1"
github "realm/realm-cocoa" "v0.96.2"
github "ReactiveCocoa/ReactiveCocoa" "v4.0.0-alpha.4"
github "ReactiveCocoa/ReactiveCocoa" "v4.0.0-alpha.5"
23 changes: 10 additions & 13 deletions SugarRecord.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "SugarRecord"
s.version = "2.0.0"
s.version = "2.0.1"
s.summary = "CoreData wrapper written on Swift"
s.homepage = "https://github.com/SwiftReactive/SugarRecord"
s.license = 'MIT'
Expand All @@ -16,22 +16,19 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = '9.0'

s.subspec "Foundation" do |sp|
sp.source_files = ['SugarRecord/Source/Foundation/**/*']
sp.dependency "ReactiveCocoa", "4.0.4-alpha-4"
sp.source_files = ['SugarRecord/Source/Foundation/**/*.{swift}']
sp.dependency "Result", "~> 1.0"
end

s.subspec "CoreData" do |sp|
sp.source_files = ['SugarRecord/Source/CoreData/**/*']
sp.source_files = ['SugarRecord/Source/CoreData/**/*.{swift}']
sp.dependency 'SugarRecord/Foundation'
sp.frameworks = ['CoreData']
end

# No tvOS support yet
# s.subspec "Realm" do |sp|
# sp.platforms = [:ios, :tvos]
# sp.source_files = ['SugarRecord/Source/Realm/**/*']
# sp.dependency 'SugarRecord/Foundation'
# sp.dependency 'RealmSwift'
# end

s.subspec "Reactive" do |spp|
spp.dependency 'SugarRecord/CoreData'
spp.source_files = ['SugarRecord/Source/Reactive/**/*.{swift}']
spp.dependency "ReactiveCocoa", "4.0.4-alpha-4"
end
end
end
18 changes: 18 additions & 0 deletions SugarRecord.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@
23B15C521BF352AD0059008E /* Issue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23B15C511BF352AD0059008E /* Issue.swift */; };
23B15C571BF3535E0059008E /* RealmTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23B15C561BF3535E0059008E /* RealmTests.swift */; };
23B15C591BF353F70059008E /* Realm.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23B15C581BF353F70059008E /* Realm.swift */; };
23F3F3651C1DF2D6009A5CC1 /* Test.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23F3F3641C1DF2D6009A5CC1 /* Test.swift */; };
23F3F3661C1DF2D6009A5CC1 /* Test.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23F3F3641C1DF2D6009A5CC1 /* Test.swift */; };
23F3F3671C1DF2D6009A5CC1 /* Test.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23F3F3641C1DF2D6009A5CC1 /* Test.swift */; };
23F3F3681C1DF2D6009A5CC1 /* Test.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23F3F3641C1DF2D6009A5CC1 /* Test.swift */; };
3D733FD51C0C2AC400B74DA1 /* RequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D733FD41C0C2AC400B74DA1 /* RequestTests.swift */; };
3D7586511C16186D00F64E22 /* ReactiveCocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3D75864D1C16186C00F64E22 /* ReactiveCocoa.framework */; };
3D7586521C16186D00F64E22 /* Realm.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3D75864E1C16186D00F64E22 /* Realm.framework */; };
Expand Down Expand Up @@ -217,6 +221,7 @@
23B15C511BF352AD0059008E /* Issue.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Issue.swift; sourceTree = "<group>"; };
23B15C561BF3535E0059008E /* RealmTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RealmTests.swift; sourceTree = "<group>"; };
23B15C581BF353F70059008E /* Realm.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Realm.swift; sourceTree = "<group>"; };
23F3F3641C1DF2D6009A5CC1 /* Test.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Test.swift; sourceTree = "<group>"; };
3D733FD41C0C2AC400B74DA1 /* RequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RequestTests.swift; sourceTree = "<group>"; };
3D75864D1C16186C00F64E22 /* ReactiveCocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ReactiveCocoa.framework; path = Carthage/Build/iOS/ReactiveCocoa.framework; sourceTree = "<group>"; };
3D75864E1C16186D00F64E22 /* Realm.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Realm.framework; path = Carthage/Build/iOS/Realm.framework; sourceTree = "<group>"; };
Expand Down Expand Up @@ -551,6 +556,14 @@
path = Storages;
sourceTree = "<group>";
};
23F3F3631C1DF2D0009A5CC1 /* Reactive */ = {
isa = PBXGroup;
children = (
23F3F3641C1DF2D6009A5CC1 /* Test.swift */,
);
path = Reactive;
sourceTree = "<group>";
};
3D733FCF1C0C20A400B74DA1 /* Foundation */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -750,6 +763,7 @@
3DB2B8EB1BDEEEE7005B7EF2 /* Source */ = {
isa = PBXGroup;
children = (
23F3F3631C1DF2D0009A5CC1 /* Reactive */,
3DE3FD991BF15BBC00009071 /* Realm */,
2353E6251BED4AC00081E6E7 /* CoreData */,
2353E62C1BED4AC00081E6E7 /* Foundation */,
Expand Down Expand Up @@ -1104,6 +1118,7 @@
239C8E0A1BF4A5870025DB9A /* Queue.swift in Sources */,
2353E6551BED4AC00081E6E7 /* Context.swift in Sources */,
2305F8F71BF1E87200F9D379 /* Results.swift in Sources */,
23F3F3651C1DF2D6009A5CC1 /* Test.swift in Sources */,
239C8E051BF48B680025DB9A /* ContextParent.swift in Sources */,
2353E6511BED4AC00081E6E7 /* RequestExtension.swift in Sources */,
2305F8FF1BF1EA8D00F9D379 /* Entity.swift in Sources */,
Expand All @@ -1122,6 +1137,7 @@
2353E6461BED4AC00081E6E7 /* Request.swift in Sources */,
2353E6421BED4AC00081E6E7 /* CoreDataDefaultStorage.swift in Sources */,
2353E67C1BED52150081E6E7 /* Options.swift in Sources */,
23F3F3661C1DF2D6009A5CC1 /* Test.swift in Sources */,
2353E66D1BED4B9C0081E6E7 /* CoreDataErrors.swift in Sources */,
2353E6721BED4DF50081E6E7 /* ObjectModel.swift in Sources */,
2353E65E1BED4AC00081E6E7 /* NSSortDescriptorConvertible.swift in Sources */,
Expand Down Expand Up @@ -1165,6 +1181,7 @@
239C8E0C1BF4A5870025DB9A /* Queue.swift in Sources */,
2353E6571BED4AC00081E6E7 /* Context.swift in Sources */,
2305F8F81BF1E87200F9D379 /* Results.swift in Sources */,
23F3F3671C1DF2D6009A5CC1 /* Test.swift in Sources */,
239C8E071BF48B680025DB9A /* ContextParent.swift in Sources */,
2353E6531BED4AC00081E6E7 /* RequestExtension.swift in Sources */,
2305F9001BF1EA8D00F9D379 /* Entity.swift in Sources */,
Expand Down Expand Up @@ -1198,6 +1215,7 @@
239C8E0D1BF4A5870025DB9A /* Queue.swift in Sources */,
2353E6581BED4AC00081E6E7 /* Context.swift in Sources */,
2305F8F91BF1E87200F9D379 /* Results.swift in Sources */,
23F3F3681C1DF2D6009A5CC1 /* Test.swift in Sources */,
239C8E081BF48B680025DB9A /* ContextParent.swift in Sources */,
2353E6541BED4AC00081E6E7 /* RequestExtension.swift in Sources */,
2305F9011BF1EA8D00F9D379 /* Entity.swift in Sources */,
Expand Down
9 changes: 9 additions & 0 deletions SugarRecord/Source/Reactive/Test.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//
// Test.swift
// SugarRecord
//
// Created by Pedro Pinera Buendia on 13/12/15.
// Copyright © 2015 GitDo. All rights reserved.
//

import Foundation

0 comments on commit 95f339f

Please sign in to comment.