Skip to content

Commit

Permalink
Prepare for CocoaPods
Browse files Browse the repository at this point in the history
  • Loading branch information
dreymonde committed Feb 9, 2018
1 parent 1cd82ac commit 6bd1fef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0.3
10 changes: 5 additions & 5 deletions Shallows.podspec
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Pod::Spec.new do |s|
s.name = "Shallows"
s.version = "0.1"
s.summary = ""
s.version = "0.8.1"
s.summary = "Your lightweight persistence toolbox."
s.description = <<-DESC
Your description here.
Shallows is a generic abstraction layer over lightweight data storage and persistence. It provides a Storage<Key, Value> type, instances of which can be easily transformed and composed with each other. It gives you an ability to create highly sophisticated, effective and reliable caching/persistence solutions.
DESC
s.homepage = "https://github.com/dreymonde/Shallows"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Oleg Dreyman" => "[email protected]" }
s.social_media_url = ""
s.social_media_url = "https://twitter.com/olegdreyman"
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.9"
s.osx.deployment_target = "10.10"
s.watchos.deployment_target = "2.0"
s.tvos.deployment_target = "9.0"
s.source = { :git => "https://github.com/dreymonde/Shallows.git", :tag => s.version.to_s }
Expand Down
4 changes: 2 additions & 2 deletions Sources/Shallows/DiskStorage/DiskStorage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ extension DiskStorage {

public static func folder(_ folderName: String,
in directory: FileManager.SearchPathDirectory,
domainMask: FileManager.SearchPathDomainMask,
filenameEncoder: Filename.Encoder) -> DiskFolderStorage {
domainMask: FileManager.SearchPathDomainMask = .userDomainMask,
filenameEncoder: Filename.Encoder = .base64) -> DiskFolderStorage {
return DiskStorage.main.folder(folderName, in: directory, domainMask: domainMask, filenameEncoder: filenameEncoder)
}

Expand Down

0 comments on commit 6bd1fef

Please sign in to comment.