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
- | |
name: “status:in_progress” | |
color: “35bd00” | |
- | |
name: “status:blocked” | |
color: “251235” |
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
// Constants.swift | |
import Foundation | |
internal enum Keys: String { | |
case Forecast | |
} | |
//ForecastEntity.swift | |
import Foundation |
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
lane :deploy do | |
ensure_git_branch | |
version = version_bump_podspec(path: "MyPod.podspec") | |
git_commit(path: ["./MyPod.podspec", "./Example/MyPod.lock"], message: "Bumped to version #{version}") | |
push_to_git_remote(remote_branch: 'master', force: false, tags: true) | |
changelog = changelog_from_git_commits | |
github_release = set_github_release( | |
repository_name: "MyOrg/MyPod", | |
api_token: ENV['GITHUB_TOKEN'], | |
name: version, |
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
lane :travis do | |
pods | |
tests | |
pod_lib_lint(allow_warnings: true, verbose: false) | |
end |
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
osx_image: xcode7.3 | |
language: objective-c | |
notifications: | |
email: false | |
before_install: | |
- gem install bundler | |
- bundle install | |
script: | |
- bundle exec fastlane travis | |
after_success: |
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
lane :tests do | |
scan(workspace: "Example/MyPod.xcworkspace", scheme: "MyPod-Example", clean: true) | |
end |
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
lane :pods do | |
cocoapods(podfile: "Example/") | |
end |
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
lane :my_lane do | |
# Todo | |
end |
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
protocol Repository { | |
typealias T | |
func save(entity entity: T, name: String) | |
func clear(name name: String) | |
func fetch(name name: String) -> T? | |
func observe(name name: String) -> Observable<T?> | |
} |
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
func viewDidLoad() { | |
super.viewDidLoad() | |
self.userObserver = UserObserver() | |
self.userObserver.rx().subscribeNext { [weak self] user in | |
self.avatarImageView.setImage(url: user.avatarUrl) | |
} | |
} |