Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Adding extra parameter in constructor to control debug log in the lib…
Browse files Browse the repository at this point in the history
…rary (#15)
  • Loading branch information
camposbrunocampos authored Jan 7, 2022
1 parent 601e221 commit 8ff8951
Show file tree
Hide file tree
Showing 18 changed files with 327 additions and 331 deletions.
2 changes: 1 addition & 1 deletion Example/PSSRedisClient.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = "<group>"; };
83ED1165841215AFC1342A54 /* Pods-PSSRedisClient_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PSSRedisClient_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-PSSRedisClient_Example/Pods-PSSRedisClient_Example.release.xcconfig"; sourceTree = "<group>"; };
9C93073FE08158CCC4F24230 /* PSSRedisClient.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = PSSRedisClient.podspec; path = ../PSSRedisClient.podspec; sourceTree = "<group>"; };
9C93073FE08158CCC4F24230 /* PSSRedisClient.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = PSSRedisClient.podspec; path = ../PSSRedisClient.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
A5C3913AB47B3E583B43122B /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
ABBB4DA08D0DE5B66B5B4368 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
CFB0065F43C5FCFBE7113CE5 /* Pods_PSSRedisClient_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PSSRedisClient_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down
4 changes: 2 additions & 2 deletions Example/PSSRedisClient/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class ViewController: UIViewController, RedisManagerDelegate, UITextFieldDelegat

self.connectionInfo.text = "Disconnected"

self.redisManager = RedisClient(delegate: self)
self.subscriptionManager = RedisClient(delegate: self)
self.redisManager = RedisClient(delegate: self, isDebugLogEnabled: true)
self.subscriptionManager = RedisClient(delegate: self, isDebugLogEnabled: true)
subscriptionManager?.enableAutoPing = true
self.redisManager?.connect(host: ViewController.defaultRedisHost,
port: ViewController.defaultRedisPort,
Expand Down
6 changes: 3 additions & 3 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- CocoaAsyncSocket (7.6.4)
- PSSRedisClient (0.1.17):
- PSSRedisClient (0.2.1):
- CocoaAsyncSocket (>= 7.6.4)

DEPENDENCIES:
Expand All @@ -16,8 +16,8 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
CocoaAsyncSocket: 694058e7c0ed05a9e217d1b3c7ded962f4180845
PSSRedisClient: 878a16415f130444cba21648c21e71b212344b90
PSSRedisClient: bccd018aa57597d1562e0606a7bed301e4d58cce

PODFILE CHECKSUM: 6b1cea149243a8beca4b4234899fc6addacd8fbe

COCOAPODS: 1.9.3
COCOAPODS: 1.10.1
4 changes: 2 additions & 2 deletions Example/Pods/Local Podspecs/PSSRedisClient.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

474 changes: 235 additions & 239 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

Pod::Spec.new do |s|
s.name = 'PSSRedisClient'
s.version = '0.2.0'
s.version = '0.2.1'
s.summary = 'A simple Swift-based interface to Redis, using CocoaAsyncSocket'
s.description = <<-DESC
A simple Swift-based interface to Redis, using CocoaAsyncSocket as the networking layer and a swift-based implementation of the redis protocol.
Expand All @@ -17,7 +17,7 @@ A simple Swift-based interface to Redis, using CocoaAsyncSocket as the networkin
s.homepage = 'https://github.com/perrystreetsoftware/PSSRedisClient'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'esilverberg' => 'eric@<company name>.com' }
s.source = { :git => 'https://github.com/perrystreetsoftware/PSSRedisClient.git', :tag => '0.2.0' }
s.source = { :git => 'https://github.com/perrystreetsoftware/PSSRedisClient.git', :tag => '0.2.1' }
s.social_media_url = 'https://twitter.com/esilverberg'

s.ios.deployment_target = '12.0'
Expand Down
Loading

0 comments on commit 8ff8951

Please sign in to comment.