This commit is contained in:
Sindre Sorhus 2019-10-30 19:06:41 +07:00
parent 89d2d4d353
commit 9ce53eee2e
4 changed files with 8 additions and 8 deletions

View File

@ -1,3 +1,3 @@
language: swift language: swift
osx_image: xcode11 osx_image: xcode11.2
script: xcodebuild test -project Defaults.xcodeproj -scheme Defaults-macOS script: xcodebuild test -project Defaults.xcodeproj -scheme Defaults-macOS

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'Defaults' s.name = 'Defaults'
s.version = '3.0.0' s.version = '3.1.0'
s.summary = 'Swifty and modern UserDefaults' s.summary = 'Swifty and modern UserDefaults'
s.license = 'MIT' s.license = 'MIT'
s.homepage = 'https://github.com/sindresorhus/Defaults' s.homepage = 'https://github.com/sindresorhus/Defaults'

View File

@ -899,7 +899,7 @@
APPLICATION_EXTENSION_API_ONLY = YES; APPLICATION_EXTENSION_API_ONLY = YES;
CODE_SIGN_IDENTITY = "-"; CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES; COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 3;
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1; DYLIB_CURRENT_VERSION = 1;
@ -913,7 +913,7 @@
"@loader_path/Frameworks", "@loader_path/Frameworks",
); );
MACOSX_DEPLOYMENT_TARGET = 10.12; MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 3.0.0; MARKETING_VERSION = 3.1.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-macOS"; PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-macOS";
PRODUCT_NAME = Defaults; PRODUCT_NAME = Defaults;
SDKROOT = macosx; SDKROOT = macosx;
@ -927,7 +927,7 @@
APPLICATION_EXTENSION_API_ONLY = YES; APPLICATION_EXTENSION_API_ONLY = YES;
CODE_SIGN_IDENTITY = "-"; CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES; COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 3;
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1; DYLIB_CURRENT_VERSION = 1;
@ -941,7 +941,7 @@
"@loader_path/Frameworks", "@loader_path/Frameworks",
); );
MACOSX_DEPLOYMENT_TARGET = 10.12; MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 3.0.0; MARKETING_VERSION = 3.1.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-macOS"; PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-macOS";
PRODUCT_NAME = Defaults; PRODUCT_NAME = Defaults;
SDKROOT = macosx; SDKROOT = macosx;

View File

@ -12,7 +12,7 @@ This package is used in production by apps like [Gifski](https://github.com/sind
- **NSSecureCoding support:** You can store any [NSSecureCoding](https://developer.apple.com/documentation/foundation/nssecurecoding) value. - **NSSecureCoding support:** You can store any [NSSecureCoding](https://developer.apple.com/documentation/foundation/nssecurecoding) value.
- **Debuggable:** The data is stored as JSON-serialized values. - **Debuggable:** The data is stored as JSON-serialized values.
- **Observation:** Observe changes to keys. - **Observation:** Observe changes to keys.
- **Lightweight:** It's only ~300 lines of code. - **Lightweight:** It's only some hundred lines of code.
## Compatibility ## Compatibility
@ -28,7 +28,7 @@ This package is used in production by apps like [Gifski](https://github.com/sind
#### SwiftPM #### SwiftPM
```swift ```swift
.package(url: "https://github.com/sindresorhus/Defaults", from: "3.0.0") .package(url: "https://github.com/sindresorhus/Defaults", from: "3.1.0")
``` ```
#### Carthage #### Carthage