Skip to content

Commit

Permalink
Version bump: 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AliSoftware committed Oct 11, 2015
1 parent 368d4f9 commit 225fb70
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 15 deletions.
49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,56 @@
# CHANGELOG

## 1.0.0

#### Dip

* Added Unit Tests for `SWAPIPersonProvider` and `SWAPIStarshipProvider`

_All work in progress is now done. I consider `Dip` to be ready for production and with a stable API, hence the `1.0.0` version bump._

#### Example Project

* Using `func fetchIDs` and `func fetchOne` instead of `lazy var` for readability

## 0.1.0

#### Dip

* Dip is now Thread-Safe
* Added a configuration block so we can easily create the container and register the dependencies all in one expression:

```swift
let deps = DependencyContainer() {
$0.register() { x as Foo }
$0.register() { y as Bar }
$0.register() { z as Baz }
}
```

* Source Documentation

#### Example Project

* Code Cleanup
* Added more values to `HardCodedStarshipProvider` so it works when the `PersonProviderAPI` uses real pilots from swapi.co (`SWAPIPersonProvider`)

## 0.0.4

#### Example Project

* Added `SWAPIPersonProvider` & `SWAPIStarshipProvider` that use http://swapi.co

## 0.0.3

#### Example Project

* Revamped the Sample project to a more complete example (using StarWars API!)
* Using Mixins & Traits in the Sample App for `FetchableTrait` and `FillableCell`

## 0.0.2

#### Dip

* Switched from class methods to instance methods ([#1](https://github.com/AliSoftware/Dip/issues/1)). This allows you to have multiple `DependencyContainers`
* Renamed the class from `Dependency` to `DependencyContainer`
* Renamed the `instanceFactory:` parameter to `factory:`
Expand Down
4 changes: 2 additions & 2 deletions Dip.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Dip"
s.version = "0.1.0"
s.summary = "A simple Dependency Resolver (Simplified Dependency Injection-like resolution)."
s.version = "1.0.0"
s.summary = "A simple Dependency Resolver (Dependency Injection using Protocol resolution)."

s.description = <<-DESC
Dip is a Swift framework to manage your Dependencies between your classes
Expand Down
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- Dip (0.1.0)
- Dip (1.0.0)

DEPENDENCIES:
- Dip (from `../`)
Expand All @@ -9,6 +9,6 @@ EXTERNAL SOURCES:
:path: ../

SPEC CHECKSUMS:
Dip: c6d545af478b84d3708bf02d986fe687cb3322cc
Dip: 25f7794871e836ba68d303e3ada4c0cdbe1afac7

COCOAPODS: 0.39.0
4 changes: 2 additions & 2 deletions Example/Pods/Local Podspecs/Dip.podspec.json

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

4 changes: 2 additions & 2 deletions Example/Pods/Manifest.lock

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.

2 changes: 1 addition & 1 deletion Example/Pods/Target Support Files/Dip/Info.plist

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

5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,6 @@ network layer returning fixture data during the Unit Tests.
This sample uses the Star Wars API provided by swapi.co to fetch Star Wars characters and starships info and display them in TableViews.


## Work In Progress

* [ ] Unit Tests


## Author

Olivier Halligon, olivier@halligon.net
Expand Down

0 comments on commit 225fb70

Please sign in to comment.