Skip to content

Commit

Permalink
Merge branch 'master' into definable_foreign_key_names
Browse files Browse the repository at this point in the history
* master:
  Update .travis.yml
  Update README.md
  Update .travis.yml
  AlexDenisov#64 changed toColumnType of the NSDateColumn to return NSDate instances instead of NSNumber values with the time interval
  • Loading branch information
jklimke committed Feb 10, 2014
2 parents 19e1e74 + 21e5c82 commit 4220c79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: objective-c

before_install:
- sudo gem update --system
- sudo gem install ios_ci
- sudo gem update cocoapods
- gem update --system
- gem install ios_ci
- gem install cocoapods
- brew install ios-sim

script: ios_ci cedar --source-root $TRAVIS_BUILD_DIR --workspace iActiveRecord.xcworkspace --scheme UnitTests --build-path build/Products
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_Note: I'm working on new version, with new features and a bugfixes_
_discontinued_

## ActiveRecord without CoreData.
### Only SQLite.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

NSDate *__strong NSDateColumn::toColumnType(id value) const
{
return value;
return [NSDate dateWithTimeIntervalSince1970: [value doubleValue]];
}

id NSDateColumn::toObjCObject(NSDate *value) const
Expand Down

0 comments on commit 4220c79

Please sign in to comment.