real_time_rails 0.0.2 → 0.0.3

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.
data/README.md CHANGED
@@ -24,6 +24,10 @@ The gem is now loading and running correctly in the project. Still some bugs to
24
24
 
25
25
  To start the websocket server just run the websocket_server.rb ruby script.
26
26
 
27
+ Add to your Gemfile
28
+
29
+ `gem "real_time_rails"`
30
+
27
31
  in your models that you want real time updates
28
32
 
29
33
  `include RealTimeRails:AR`
@@ -26,7 +26,7 @@ module RealTimeRails
26
26
  set_options
27
27
  register_partial
28
28
  html = load_javascript
29
- html += manual_buttons #TODO remove test helper for ajax update calls.
29
+ #html += manual_buttons #TODO remove test helper for ajax update calls.
30
30
  html += wrap_render do
31
31
  yield
32
32
  end
@@ -112,7 +112,7 @@ module RealTimeRails
112
112
  def wrap_render
113
113
  html = "<div id='#{@id}' class='real_time_wrapper'>\n"
114
114
  html += yield
115
- html += @websocket_options.to_yaml # TODO remove debugging data.
115
+ #html += @websocket_options.to_yaml # TODO remove debugging data.
116
116
  html += "</div>\n"
117
117
  return html
118
118
  end
@@ -1,5 +1,5 @@
1
1
  module RealTimeRails
2
2
 
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
 
5
5
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "real_time_rails"
3
- s.version = '0.0.2'
3
+ s.version = '0.0.3'
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = ["Kelly Mahan"]
6
6
  s.email = 'kmahan@kmahan.com'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: real_time_rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kelly Mahan
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-01 00:00:00 -05:00
13
+ date: 2011-06-08 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency