jegolize 0.1.10 → 0.1.11

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/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011 Alemeshet Alemu
1
+ Copyright (c) 2011
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.rdoc CHANGED
@@ -14,6 +14,6 @@ Description goes here.
14
14
 
15
15
  == Copyright
16
16
 
17
- Copyright (c) 2011 Alemeshet Alemu. See LICENSE.txt for
17
+ Copyright (c) 2011. See LICENSE.txt for
18
18
  further details.
19
19
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.10
1
+ 0.1.11
data/jegolize.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{jegolize}
8
- s.version = "0.1.10"
8
+ s.version = "0.1.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Alemeshet Alemu"]
12
- s.date = %q{2011-03-16}
12
+ s.date = %q{2011-03-22}
13
13
  s.description = %q{XMPP compatible reach chat organizer}
14
14
  s.email = %q{alemyis@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -470,20 +470,23 @@ $(document).bind('connect', function(e, d){
470
470
  Strophe.debug('Getting SID from SID service...');
471
471
 
472
472
  var jsonURL = $('#jegol_service_url').val();
473
- $.getJSON(jsonURL, function(data) {
474
- Strophe.debug('SID service returned...');
475
- try {
473
+ $.ajax({
474
+ url: jsonURL,
475
+ success: function(data) {
476
+ Strophe.debug('SID service returned...');
477
+ try {
476
478
  JeGol.room = data.room;
477
479
  JeGol.nickname = data.nickname;
478
480
  JeGol.bosh_service = data.bosh_service;
479
481
 
480
482
  JeGol.connection = new Strophe.Connection(JeGol.bosh_service);
481
483
  JeGol.loginSIDFromServer(data);
482
- }
484
+ }
483
485
  catch(e){
484
486
  Strophe.error('Login failed: ' + e.message);
485
- }
486
- });
487
+ }
488
+ }
489
+ });
487
490
  });
488
491
 
489
492
  /**
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: jegolize
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.10
5
+ version: 0.1.11
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alemeshet Alemu
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-16 00:00:00 -07:00
13
+ date: 2011-03-22 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -157,7 +157,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - ">="
159
159
  - !ruby/object:Gem::Version
160
- hash: -178680915
160
+ hash: -857693585
161
161
  segments:
162
162
  - 0
163
163
  version: "0"