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

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Knabel committed Aug 16, 2016
1 parent f1e6f7d commit 6c0e943
Show file tree
Hide file tree
Showing 13 changed files with 514 additions and 597 deletions.
8 changes: 8 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 0.2.0
*Released: 12/08/2016*

**Breaking Changes:**

- Updated to latest Swift Beta 3.0 - @vknabel
- Updated `EasyInject` to 0.6 - @vknabel

#0.1.1
*Released: 12/08/2016*

Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let package = Package(
dependencies: [
.Package(
url: "https://github.com/vknabel/EasyInject.git",
versions: Version(0,3,0)..<Version(0,5,0)),
versions: Version(0,6,0)..<Version(0,7,0)),
.Package(
url: "https://github.com/vknabel/ValidatedExtension.git",
versions: Version(3,0,0)..<Version(4,0,0))
Expand Down
1 change: 0 additions & 1 deletion Packages/EasyInject-0.3.0
Submodule EasyInject-0.3.0 deleted from d0610c
1 change: 1 addition & 0 deletions Packages/EasyInject-0.6.0
Submodule EasyInject-0.6.0 added at 722ab0
1 change: 0 additions & 1 deletion Packages/ValidatedExtension-3.0.0
Submodule ValidatedExtension-3.0.0 deleted from 738bd3
1 change: 1 addition & 0 deletions Packages/ValidatedExtension-3.0.1
Submodule ValidatedExtension-3.0.1 added at e1c1e0
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import PackageDescription
let package = Package(
name: "YourPackage",
dependencies: [
.Package(url: "https://github.com/vknabel/EasyInject.git", majorVersion: 0, minor: 3),
.Package(url: "https://github.com/vknabel/EasyInject.git", majorVersion: 0, minor: 6),
.Package(url: "https://github.com/vknabel/ValidatedExtension.git", majorVersion: 3, minor: 0),
.Package(url: "https://github.com/vknabel/ValidatedInjectAdditions.git", majorVersion: 0, minor: 1)
.Package(url: "https://github.com/vknabel/ValidatedInjectAdditions.git", majorVersion: 0, minor: 2)
]
)
```
Expand All @@ -24,7 +24,7 @@ let package = Package(
```ruby
github "vknabel/EasyInject"
github "vknabel/ValidatedExtension"
github "vknabel/ValidatedInjectAdditions" ~> 0.1
github "vknabel/ValidatedInjectAdditions" ~> 0.2
```

### CocoaPods
Expand All @@ -35,7 +35,7 @@ use_frameworks!

pod 'EasyInject'
pod 'ValidatedExtension'
pod 'ValidatedInjectAdditions', '~> 0.1'
pod 'ValidatedInjectAdditions', '~> 0.2'
```

## Example
Expand Down
4 changes: 4 additions & 0 deletions Sources/ValidatedInjectAdditions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ import EasyInject
public protocol ValidatedDependency {
associatedtype DependencyValidator: Validator

#if swift(>=3.0)
init<VT: ValidatedType>(validated dependencies: VT) where VT.ValidatorType == DependencyValidator
#else
init<VT: ValidatedType where VT.ValidatorType == DependencyValidator>(validated dependencies: VT)
#endif
}
public extension ValidatedDependency {
public init?(validating dependencies: DependencyValidator.WrappedType) {
Expand Down
4 changes: 2 additions & 2 deletions ValidatedInjectAdditions.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "ValidatedInjectAdditions"
s.version = "0.1.1"
s.version = "0.2.0"
s.summary = "Adds convenience when using ValidatedExtension and EasyInject"
s.description = <<-DESC
ValidatedExtension-EasyInject is a μ-library that adds convenience methods to EasyInject and ValidatedExtension.
Expand All @@ -17,6 +17,6 @@ Pod::Spec.new do |s|
s.watchos.deployment_target = '2.0'
s.requires_arc = true
s.source_files = 'Sources/**/*.swift'
s.dependency 'EasyInject', '~> 0.5'
s.dependency 'EasyInject', '~> 0.6'
s.dependency 'ValidatedExtension', '~> 3.0'
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
1,047 changes: 464 additions & 583 deletions ValidatedInjectAdditions.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,15 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "______Target_ValidatedInjectAdditionsTestSuite"
BuildableName = "ValidatedInjectAdditionsTestSuite.xctest"
BlueprintName = "ValidatedInjectAdditionsTestSuite"
BlueprintIdentifier = "______Target_ValidatedInjectAdditionsTests"
BuildableName = "ValidatedInjectAdditionsTests.xctest"
BlueprintName = "ValidatedInjectAdditionsTests"
ReferencedContainer = "container:ValidatedInjectAdditions.xcodeproj">
</BuildableReference>
</TestableReference>
Expand Down

0 comments on commit 6c0e943

Please sign in to comment.