em-campfire 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -0
- data/CONTRIBUTING.md +24 -0
- data/Gemfile +1 -1
- data/README.md +103 -2
- data/em-campfire.gemspec +8 -7
- data/examples/simple.rb +30 -7
- data/lib/em-campfire/cache.rb +25 -0
- data/lib/em-campfire/connection.rb +12 -11
- data/lib/em-campfire/messages.rb +7 -8
- data/lib/em-campfire/rooms.rb +88 -92
- data/lib/em-campfire/users.rb +60 -39
- data/lib/em-campfire/version.rb +1 -1
- data/lib/em-campfire.rb +15 -12
- data/spec/lib/cache_spec.rb +25 -0
- data/spec/lib/connection_spec.rb +51 -8
- data/spec/lib/em-campfire_spec.rb +31 -197
- data/spec/lib/messages_spec.rb +49 -38
- data/spec/lib/rooms_spec.rb +205 -31
- data/spec/lib/users_spec.rb +192 -0
- data/spec/messages_helper.rb +9 -0
- data/spec/rooms_helper.rb +98 -0
- data/spec/spec_helper.rb +17 -49
- data/spec/users_helper.rb +35 -0
- metadata +95 -26
- data/Gemfile.lock +0 -51
data/Gemfile.lock
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
em-campfire (0.0.1)
|
5
|
-
em-http-request (~> 1.0.0.beta.4)
|
6
|
-
eventmachine (~> 1.0.0.beta.4)
|
7
|
-
yajl-ruby (~> 0.8.3)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: http://rubygems.org/
|
11
|
-
specs:
|
12
|
-
addressable (2.2.6)
|
13
|
-
cookiejar (0.3.0)
|
14
|
-
crack (0.3.1)
|
15
|
-
diff-lcs (1.1.3)
|
16
|
-
em-http-request (1.0.1)
|
17
|
-
addressable (>= 2.2.3)
|
18
|
-
cookiejar
|
19
|
-
em-socksify
|
20
|
-
eventmachine (>= 1.0.0.beta.4)
|
21
|
-
http_parser.rb (>= 0.5.3)
|
22
|
-
em-socksify (0.1.0)
|
23
|
-
eventmachine
|
24
|
-
eventmachine (1.0.0.beta.4)
|
25
|
-
http_parser.rb (0.5.3)
|
26
|
-
metaclass (0.0.1)
|
27
|
-
mocha (0.10.0)
|
28
|
-
metaclass (~> 0.0.1)
|
29
|
-
rake (0.9.2.2)
|
30
|
-
rspec (2.6.0)
|
31
|
-
rspec-core (~> 2.6.0)
|
32
|
-
rspec-expectations (~> 2.6.0)
|
33
|
-
rspec-mocks (~> 2.6.0)
|
34
|
-
rspec-core (2.6.4)
|
35
|
-
rspec-expectations (2.6.0)
|
36
|
-
diff-lcs (~> 1.1.2)
|
37
|
-
rspec-mocks (2.6.0)
|
38
|
-
webmock (1.7.10)
|
39
|
-
addressable (~> 2.2, > 2.2.5)
|
40
|
-
crack (>= 0.1.7)
|
41
|
-
yajl-ruby (0.8.3)
|
42
|
-
|
43
|
-
PLATFORMS
|
44
|
-
ruby
|
45
|
-
|
46
|
-
DEPENDENCIES
|
47
|
-
em-campfire!
|
48
|
-
mocha (~> 0.10.0)
|
49
|
-
rake (~> 0.9.2)
|
50
|
-
rspec (~> 2.6.0)
|
51
|
-
webmock (~> 1.7.6)
|