phoenix_pubsub 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4a6a09e384e0c46bbc78229c44a3b5b02c1d954
4
- data.tar.gz: 2fe5a0c629b00a12fdf9d3da39ffb8c33d4ecd87
3
+ metadata.gz: 7e0883622d99f96008bc799f70beae5e44a577ec
4
+ data.tar.gz: c6b8d309debd433bbab253613bd3f589e6e6bee7
5
5
  SHA512:
6
- metadata.gz: a82725cf318347919e12eedf47a4e708be96335870cf8e28bfdc1c50b14f42eace4222489f20d69602126a36d1a8509d1cfe02c8317c76ef7b171501a11883be
7
- data.tar.gz: 2b01f78bb209524f26415e0f98f025c493fef331acfb9ef91e9daaf13e82bc817c2101a99cd3dd88415f4cf40fb1c47f4aca6fb1ad676c1a83b8e746b4afc050
6
+ metadata.gz: d47ae81eec57979b1c2db1baec14416156ff7847e09c03643f7597071295ac12dac49cc7d3b0b0ebf8e82e0f13dd7e78a9af2a1bd96ed5094fecec86829372c4
7
+ data.tar.gz: 0f4b91de842a84c6cf3481edf3d4470c13b4395d5068e4d460a7c00407a53117c02aa860b2b6580ad7a17695ad178bda2fe23f3b89067f05876bbf8a876877f4
@@ -0,0 +1,14 @@
1
+ # Changelog
2
+
3
+ ## 0.2.0
4
+
5
+ - added fastlane parameter. Thanks to @letmein for the contribution!
6
+
7
+ ## 0.1.1
8
+
9
+ - remove `gem build` warnings
10
+ - adjust dependency versions
11
+
12
+ ## 0.1.0
13
+
14
+ - initial release
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Phoenix Pubsub for Ruby
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/phoenix_pubsub.svg)](https://badge.fury.io/rb/phoenix_pubsub)
4
+ [![Dependency Status](https://gemnasium.com/badges/github.com/frontrunnerio/phoenix_pubsub_rb.svg)](https://gemnasium.com/github.com/frontrunnerio/phoenix_pubsub_rb)
5
+
3
6
  PhoenixPubsub allows you to publish messages to Phoenix Channels from Ruby. Subscriptions are not implemented (yet).
4
7
 
5
8
  ## Why?
@@ -0,0 +1,5 @@
1
+ machine:
2
+ ruby:
3
+ version: 2.0.0-p195
4
+ services:
5
+ - redis
@@ -52,15 +52,19 @@ module Phoenix
52
52
  private
53
53
 
54
54
  def serialize_message topic, event, payload
55
- term = Erlang::Tuple[
56
- # {@redis_msg_vsn, node_ref, pool_size, from_pid, topic, msg}
57
- 1, '', 1, :none, topic, {
58
- :__struct__ => :"Elixir.Phoenix.Socket.Broadcast",
59
- :event => event,
60
- :payload => payload,
61
- :topic => topic
62
- }
63
- ]
55
+ vsn = 1
56
+ node_ref = ''
57
+ fastlane = :nil
58
+ pool_size = 1
59
+ from_pid = :none
60
+ msg = {
61
+ :__struct__ => :"Elixir.Phoenix.Socket.Broadcast",
62
+ :event => event,
63
+ :payload => payload,
64
+ :topic => topic
65
+ }
66
+
67
+ term = Erlang::Tuple[vsn, node_ref, fastlane, pool_size, from_pid, topic, msg]
64
68
  Erlang.term_to_binary term
65
69
  end
66
70
  end
@@ -1,5 +1,5 @@
1
1
  module Phoenix
2
2
  module Pubsub
3
- VERSION = '0.1.1'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phoenix_pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Böhrnsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-13 00:00:00.000000000 Z
11
+ date: 2017-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erlang-etf
@@ -102,13 +102,14 @@ extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
104
  - ".gitignore"
105
- - ".travis.yml"
105
+ - CHANGELOG.md
106
106
  - Gemfile
107
107
  - LICENSE
108
108
  - README.md
109
109
  - Rakefile
110
110
  - bin/console
111
111
  - bin/setup
112
+ - circle.yml
112
113
  - lib/phoenix/pubsub.rb
113
114
  - lib/phoenix/pubsub/version.rb
114
115
  - phoenix_pubsub.gemspec
@@ -132,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
133
  version: '0'
133
134
  requirements: []
134
135
  rubyforge_project:
135
- rubygems_version: 2.2.2
136
+ rubygems_version: 2.6.8
136
137
  signing_key:
137
138
  specification_version: 4
138
139
  summary: Phoenix PubSub for Ruby
@@ -1,3 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.1.3