-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from configcat/improvements
Improvements: Comparators, Semantic Version, Verbose logging, config_v3.json
- Loading branch information
Showing
18 changed files
with
934 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ignore: | ||
- "Version/*.swift" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ Pod::Spec.new do |spec| | |
spec.summary = "ConfigCat Swift SDK" | ||
spec.swift_version = "4.2" | ||
|
||
spec.description = "ConfigCat is a feature flag, feature toggle, and configuration management service. That lets you launch new features and change your software configuration remotely without actually (re)deploying code. ConfigCat even helps you do controlled roll-outs like canary releases and blue-green deployments." | ||
spec.description = "Feature Flags created by developers for developers with ❤️. ConfigCat lets you manage feature flags across frontend, backend, mobile, and desktop apps without (re)deploying code. % rollouts, user targeting, segmentation. Feature toggle SDKs for all main languages. Alternative to LaunchDarkly. Host yourself, or use the hosted management app at https://configcat.com." | ||
spec.homepage = "https://github.com/configcat/swift-sdk" | ||
spec.license = { :type => "MIT", :file => "LICENSE" } | ||
spec.author = { "ConfigCat" => "[email protected]" } | ||
|
@@ -16,7 +16,7 @@ Pod::Spec.new do |spec| | |
spec.osx.deployment_target = '10.12' | ||
|
||
spec.source = { :git => "https://github.com/configcat/swift-sdk.git", :tag => spec.version } | ||
spec.source_files = "Sources/*.swift" | ||
spec.source_files = "Sources/*.swift", "Version/*.swift" | ||
spec.requires_arc = true | ||
spec.module_name = "ConfigCat" | ||
spec.documentation_url = "https://docs.configcat.com/docs/sdk-reference/ios" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
enum Config { | ||
static let value = "v" | ||
static let comparator = "t" | ||
static let comparisonAttribute = "a" | ||
static let comparisonValue = "c" | ||
static let rolloutPercentageItems = "p" | ||
static let percentage = "p" | ||
static let rolloutRules = "r" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.