xmpp4r-robot 0.2.1 → 0.2.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
  SHA1:
3
- metadata.gz: 195565e3a667fb773fa9077f35bc261002fe8f81
4
- data.tar.gz: 2348c990da4f5f2109282c25a1f53feaf624c19e
3
+ metadata.gz: 39eceea38d3062adc4e51e15f895644fa760eddb
4
+ data.tar.gz: 7a173742d0246a8b86ebbe4fdcbafef09c253dad
5
5
  SHA512:
6
- metadata.gz: d0495733f172b0c49c8bfd2a9a5b32eb8d9a3a8027ea35d4bea5cdca061445bdb01f2faa5d78c37ff07adabb992195466e69f919c8d63bf1407faf4eddefd120
7
- data.tar.gz: a08516fd324c7b9377acc0c710337e6c906a6cb2bd728974f0531a765ea6993e4c1a8f221f66fc8ef9381f9b2010c60a1494fdf3b31ad7e47a5a093cff4ca831
6
+ metadata.gz: 646480a723e08ee0651bcf622609e0e63930577acf678d5087278857f8e062126d87da6f88902ba323ad63d57426300e4a988c9f6a3c4b487ca13a269fdff9da
7
+ data.tar.gz: 930b91e956bfe21fe5b2bea7e76d83509705e9e04d7400d66a93fd5251b6cfeeed096711e9d7afd2edb7ce57ab0beabd4ece045601d4c1f2f3a324e2c50465cd
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGES
2
2
 
3
+ ## xmpp4r-robot 0.2.2 -- 2014-01-25
4
+
5
+ * Should also synchronize @roster.
6
+
3
7
  ## xmpp4r-robot 0.2.1 -- 2014-01-25
4
8
 
5
9
  * Fixed retry_time bug.
data/Rakefile CHANGED
@@ -8,6 +8,6 @@ end
8
8
 
9
9
  Gemgem.init(dir) do |s|
10
10
  s.name = 'xmpp4r-robot'
11
- s.version = '0.2.1'
11
+ s.version = '0.2.2'
12
12
  s.add_runtime_dependency('xmpp4r', '~> 0.5')
13
13
  end
data/lib/xmpp4r/robot.rb CHANGED
@@ -71,7 +71,7 @@ class Jabber::Robot
71
71
 
72
72
  def roster sync=false
73
73
  sync_roster if sync || @roster[:unknown].nil?
74
- @roster
74
+ @roster_mutex.synchronize{ @roster }
75
75
  end
76
76
 
77
77
  ##### actions #####
data/xmpp4r-robot.gemspec CHANGED
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: xmpp4r-robot 0.2.1 ruby lib
2
+ # stub: xmpp4r-robot 0.2.2 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "xmpp4r-robot"
6
- s.version = "0.2.1"
6
+ s.version = "0.2.2"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xmpp4r-robot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lin Jen-Shin (godfat)