firering 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA512:
3
- metadata.gz: f5977b213a6e24c15c84149d16dcecf0357ca98c94368da6177e03a9cbe89bcc009069b26ab9e3ba6467707c769d66d0ab651e14f169d48c946b34d6d8546b2c
4
- data.tar.gz: 779e03d08a186a6cae798c405db05a226580f6f5ed8327ce1cb275db261566c234fa81a6ccf59a625a3db6979d4d8d517d5b1b040789b7c8463b3454970d5747
3
+ data.tar.gz: 1a11887198cbf47d294214851dd0d1a17d77e0197a4d5c45c96fbd3f776c83aa244b1abc8b6b8ee1ff7175a9186a48c1abb09b3c07079871cc283bbc17847183
4
+ metadata.gz: 8e8849bd537429232f22e61f8955a46995c2d89e4b9276e9c0c63600e49f666d6da44c82e44d9ab8d023ff6d82a3085523b7cb451150872ba59b2f23ff6eb16b
5
5
  SHA1:
6
- metadata.gz: 9ae37b70647738ec9e779debbe9567d99e19d6ef
7
- data.tar.gz: 3a016706f294078081e8fb7e21f9b62a7ba331a5
6
+ data.tar.gz: bb8e6072f08d6d9f385a27cc4256ae7fb1a7c31e
7
+ metadata.gz: 120d5850d75bcfb81aa47b6994ffb030f69cdf38
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'firering'
7
- s.version = '1.4.1'
7
+ s.version = '1.4.2'
8
8
  s.date = '2014-04-10'
9
9
  s.rubyforge_project = 'firering'
10
10
 
@@ -5,7 +5,7 @@ require 'yajl'
5
5
  require 'em-http'
6
6
 
7
7
  module Firering
8
- VERSION = '1.4.1'
8
+ VERSION = '1.4.2'
9
9
 
10
10
  Error = Class.new(StandardError)
11
11
 
@@ -19,7 +19,7 @@ module Firering
19
19
  # /rooms request
20
20
  def users(&callback)
21
21
  connection.http(:get, "/room/#{id}.json") do |data, http| # data can be blank on locked rooms
22
- callback.call(data ? data[:room][:users].map { |user| Firering::User.instantiate(self, user) } : Array.new) if callback
22
+ callback.call(data ? data[:room][:users].map { |user| Firering::User.instantiate(connection, user) } : Array.new) if callback
23
23
  end
24
24
  end
25
25
 
@@ -1,5 +1,5 @@
1
1
  module Firering
2
- User = Struct.new(:connection, :id, :name, :email_address, :admin, :created_at, :type, :api_auth_token, :avatar_url)
2
+ User = Struct.new(:connection, :id, :name, :email_address, :admin, :created_at, :type, :api_auth_token, :avatar_url, :auto_invite_to_new_rooms)
3
3
 
4
4
  class User
5
5
  extend Instantiator
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firering
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emmanuel Oga