Skip to content

Commit

Permalink
Merge pull request #1 from zzdjk6/master
Browse files Browse the repository at this point in the history
Transfer repo to RxSwiftCommunity
  • Loading branch information
zzdjk6 committed Sep 15, 2016
2 parents 0a9a059 + 44df33a commit 1f4653e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016 Chen Shenghan <[email protected]>
Copyright (c) RxSwiftCommunity

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RxEventHub

[![CI Status](http://img.shields.io/travis/zzdjk6/RxEventHub.svg?style=flat)](https://travis-ci.org/zzdjk6/RxEventHub)
[![CI Status](http://img.shields.io/travis/zzdjk6/RxEventHub.svg?style=flat)](https://travis-ci.org/RxSwiftCommunity/RxEventHub)
[![Version](https://img.shields.io/cocoapods/v/RxEventHub.svg?style=flat)](http://cocoapods.org/pods/RxEventHub)
[![License](https://img.shields.io/cocoapods/l/RxEventHub.svg?style=flat)](http://cocoapods.org/pods/RxEventHub)
[![Platform](https://img.shields.io/cocoapods/p/RxEventHub.svg?style=flat)](http://cocoapods.org/pods/RxEventHub)
Expand All @@ -23,7 +23,7 @@ You can notify the hub when events occur by simply writing 1 line code like belo
RxEventHub.sharedHub.notify(ExampleIntEventProvider(), data: 2)
```

You can get the `Observable` when events occur by simply writing 1 line code like below:
You can get the `Observable` (`Observable<T>` in this example) when events occur by simply writing 1 line code like below:

```swift
RxEventHub.sharedHub.eventObservable(ExampleIntEventProvider())
Expand All @@ -50,10 +50,6 @@ pod "RxEventHub"

Just copy `RxEventHub.swift` into your project, and you're ready to go.

## Author

Chen Shenghan, [email protected] / [email protected]

## License

RxEventHub is available under the MIT license. See the LICENSE file for more info.
7 changes: 3 additions & 4 deletions RxEventHub.podspec
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
Pod::Spec.new do |s|
s.name = 'RxEventHub'
s.version = '0.1.0'
s.version = '0.1.1'
s.summary = '`RxEventHub` makes multicasting event easy, type-safe and error-free, use it instead of `NSNotificationCenter` now!'

s.description = <<-DESC
`RxEventHub` is an event hub in `RxSwift` world, it makes multicasting event easy, type-safe and error-free, use it instead of `NSNotificationCenter` now!
DESC

s.homepage = 'https://github.com/zzdjk6/RxEventHub'
s.homepage = 'https://github.com/RxSwiftCommunity/RxEventHub'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'zzdjk6' => '[email protected]' }
s.source = { :git => 'https://github.com/zzdjk6/RxEventHub.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/zzdjk6'
s.source = { :git => 'https://github.com/RxSwiftCommunity/RxEventHub.git', :tag => s.version.to_s }

s.ios.deployment_target = '8.0'
s.source_files = 'RxEventHub/Classes/**/*'
Expand Down
2 changes: 1 addition & 1 deletion RxEventHub/Classes/RxEventHub.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
RxEventHub.swift
Copyright (c) 2016 Chen Shenghan <[email protected]>
Copyright (c) RxSwiftCommunity
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 1f4653e

Please sign in to comment.