backbone_sync-rails 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -68,7 +68,7 @@ This assumes you already have a Backbone.js + Rails app.
68
68
  this.users = new MyApp.Collections.UsersCollection();
69
69
  var fayeClient = new Faye.Client('<%= BackboneSync::Rails::Faye.root_address %>/faye');
70
70
  new BackboneSync.RailsFayeSubscriber(this.users, {
71
- channel: 'users', // Set to Rails model.class.table_name, or override Model#faye_channel
71
+ channel: 'users', // Set to Rails model.class.table_name, or override Model.faye_channel
72
72
  client: fayeClient
73
73
  });
74
74
  this.wizards.reset(options.users);
@@ -24,7 +24,7 @@ module BackboneSync
24
24
  end
25
25
 
26
26
  def channel
27
- subchannel = @model.try(:faye_channel) || @model.class.table_name
27
+ subchannel = @model.class.try(:faye_channel) || @model.class.table_name
28
28
  "/sync/#{subchannel}"
29
29
  end
30
30
 
@@ -1,3 +1,3 @@
1
1
  module BackboneSyncRails
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: backbone_sync-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.6
5
+ version: 0.0.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jason Morrison
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-21 00:00:00 -04:00
14
- default_executable:
13
+ date: 2011-09-26 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: rails
@@ -85,7 +84,6 @@ files:
85
84
  - test/dummy/Rakefile
86
85
  - test/dummy/script/rails
87
86
  - test/test_helper.rb
88
- has_rdoc: true
89
87
  homepage: http://github.com/jasonm/backbone_sync-rails
90
88
  licenses: []
91
89
 
@@ -99,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
97
  requirements:
100
98
  - - ">="
101
99
  - !ruby/object:Gem::Version
102
- hash: 2403046260054443418
100
+ hash: 1784745770353273835
103
101
  segments:
104
102
  - 0
105
103
  version: "0"
@@ -108,14 +106,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
106
  requirements:
109
107
  - - ">="
110
108
  - !ruby/object:Gem::Version
111
- hash: 2403046260054443418
109
+ hash: 1784745770353273835
112
110
  segments:
113
111
  - 0
114
112
  version: "0"
115
113
  requirements: []
116
114
 
117
115
  rubyforge_project:
118
- rubygems_version: 1.6.2
116
+ rubygems_version: 1.8.10
119
117
  signing_key:
120
118
  specification_version: 3
121
119
  summary: Effortlessly keep Backbone.js clients in sync.