firering 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA512:
3
+ metadata.gz: f5977b213a6e24c15c84149d16dcecf0357ca98c94368da6177e03a9cbe89bcc009069b26ab9e3ba6467707c769d66d0ab651e14f169d48c946b34d6d8546b2c
4
+ data.tar.gz: 779e03d08a186a6cae798c405db05a226580f6f5ed8327ce1cb275db261566c234fa81a6ccf59a625a3db6979d4d8d517d5b1b040789b7c8463b3454970d5747
5
+ SHA1:
6
+ metadata.gz: 9ae37b70647738ec9e779debbe9567d99e19d6ef
7
+ data.tar.gz: 3a016706f294078081e8fb7e21f9b62a7ba331a5
data/firering.gemspec CHANGED
@@ -4,8 +4,8 @@ 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.0'
8
- s.date = '2013-07-05'
7
+ s.version = '1.4.1'
8
+ s.date = '2014-04-10'
9
9
  s.rubyforge_project = 'firering'
10
10
 
11
11
  s.summary = "Campfire API interface powered by eventmachine em-http-request and yajl-ruby."
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
25
 
26
26
  s.add_dependency('eventmachine', ["~> 1.0.3"])
27
27
  s.add_dependency('em-http-request', ["~> 1.0.3"])
28
- s.add_dependency('yajl-ruby', ["~> 0.7.6"])
28
+ s.add_dependency('yajl-ruby', ["~> 1.1.0"])
29
29
 
30
30
  s.add_development_dependency('rspec', ["~> 2.6.0"])
31
31
  s.add_development_dependency('rack', [">= 1.2.0"])
@@ -23,6 +23,10 @@ module Firering
23
23
  end
24
24
  end
25
25
 
26
+ def logger
27
+ self.connection.logger
28
+ end
29
+
26
30
  # Updates an existing room. Only admins can rename a room, although any
27
31
  # user (except guests) may set the topic. Omitting either key results in
28
32
  # that attribute being ignored. To remove a room topic, simply provide an
@@ -17,7 +17,7 @@ module Firering
17
17
  else
18
18
  msg = "WARNING: Could not set attribute '#{key}' to value '#{value}' on #{self} object."
19
19
  msg << " It is likely the Campfire API has changed. Please report this! (https://github.com/EmmanuelOga/firering/issues)"
20
- conn.logger.warn msg
20
+ instance.connection.logger.warn msg
21
21
  end
22
22
  end
23
23
 
data/lib/firering.rb CHANGED
@@ -5,7 +5,7 @@ require 'yajl'
5
5
  require 'em-http'
6
6
 
7
7
  module Firering
8
- VERSION = '1.4.0'
8
+ VERSION = '1.4.1'
9
9
 
10
10
  Error = Class.new(StandardError)
11
11
 
metadata CHANGED
@@ -1,137 +1,97 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: firering
3
- version: !ruby/object:Gem::Version
4
- version: 1.4.0
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.1
6
5
  platform: ruby
7
- authors:
6
+ authors:
8
7
  - Emmanuel Oga
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-05 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2014-04-10 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
15
  name: eventmachine
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: 1.0.3
22
- type: :runtime
23
16
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ~>
28
- - !ruby/object:Gem::Version
29
- version: 1.0.3
30
- - !ruby/object:Gem::Dependency
31
- name: em-http-request
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
35
19
  - - ~>
36
- - !ruby/object:Gem::Version
20
+ - !ruby/object:Gem::Version
37
21
  version: 1.0.3
38
22
  type: :runtime
23
+ version_requirements: *id001
24
+ - !ruby/object:Gem::Dependency
25
+ name: em-http-request
39
26
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
27
+ requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirements:
43
29
  - - ~>
44
- - !ruby/object:Gem::Version
30
+ - !ruby/object:Gem::Version
45
31
  version: 1.0.3
46
- - !ruby/object:Gem::Dependency
47
- name: yajl-ruby
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 0.7.6
54
32
  type: :runtime
33
+ version_requirements: *id002
34
+ - !ruby/object:Gem::Dependency
35
+ name: yajl-ruby
55
36
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
37
+ requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirements:
59
39
  - - ~>
60
- - !ruby/object:Gem::Version
61
- version: 0.7.6
62
- - !ruby/object:Gem::Dependency
40
+ - !ruby/object:Gem::Version
41
+ version: 1.1.0
42
+ type: :runtime
43
+ version_requirements: *id003
44
+ - !ruby/object:Gem::Dependency
63
45
  name: rspec
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 2.6.0
70
- type: :development
71
46
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
47
+ requirement: &id004 !ruby/object:Gem::Requirement
48
+ requirements:
75
49
  - - ~>
76
- - !ruby/object:Gem::Version
50
+ - !ruby/object:Gem::Version
77
51
  version: 2.6.0
78
- - !ruby/object:Gem::Dependency
79
- name: rack
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: 1.2.0
86
52
  type: :development
53
+ version_requirements: *id004
54
+ - !ruby/object:Gem::Dependency
55
+ name: rack
87
56
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: 1.2.0
94
- - !ruby/object:Gem::Dependency
95
- name: thin
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ~>
100
- - !ruby/object:Gem::Version
57
+ requirement: &id005 !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
101
61
  version: 1.2.0
102
62
  type: :development
63
+ version_requirements: *id005
64
+ - !ruby/object:Gem::Dependency
65
+ name: thin
103
66
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
67
+ requirement: &id006 !ruby/object:Gem::Requirement
68
+ requirements:
107
69
  - - ~>
108
- - !ruby/object:Gem::Version
70
+ - !ruby/object:Gem::Version
109
71
  version: 1.2.0
110
- - !ruby/object:Gem::Dependency
111
- name: rake
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
72
  type: :development
73
+ version_requirements: *id006
74
+ - !ruby/object:Gem::Dependency
75
+ name: rake
119
76
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
77
+ requirement: &id007 !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - &id008
80
+ - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: "0"
83
+ type: :development
84
+ version_requirements: *id007
126
85
  description: Campfire API interface powered by eventmachine em-http-request and yajl-ruby.
127
86
  email: EmmanuelOga@gmail.com
128
- executables:
87
+ executables:
129
88
  - campf-notify
130
89
  extensions: []
131
- extra_rdoc_files:
90
+
91
+ extra_rdoc_files:
132
92
  - README.md
133
93
  - LICENSE
134
- files:
94
+ files:
135
95
  - Gemfile
136
96
  - LICENSE
137
97
  - README.md
@@ -198,33 +158,28 @@ files:
198
158
  - spec/support/helpers.rb
199
159
  homepage: http://github.com/EmmanuelOga/firering
200
160
  licenses: []
161
+
162
+ metadata: {}
163
+
201
164
  post_install_message:
202
- rdoc_options:
165
+ rdoc_options:
203
166
  - --charset=UTF-8
204
- require_paths:
167
+ require_paths:
205
168
  - lib
206
- required_ruby_version: !ruby/object:Gem::Requirement
207
- none: false
208
- requirements:
209
- - - ! '>='
210
- - !ruby/object:Gem::Version
211
- version: '0'
212
- segments:
213
- - 0
214
- hash: 4060696139980185122
215
- required_rubygems_version: !ruby/object:Gem::Requirement
216
- none: false
217
- requirements:
218
- - - ! '>='
219
- - !ruby/object:Gem::Version
220
- version: '0'
169
+ required_ruby_version: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - *id008
172
+ required_rubygems_version: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - *id008
221
175
  requirements: []
176
+
222
177
  rubyforge_project: firering
223
- rubygems_version: 1.8.25
178
+ rubygems_version: 2.0.14
224
179
  signing_key:
225
180
  specification_version: 2
226
181
  summary: Campfire API interface powered by eventmachine em-http-request and yajl-ruby.
227
- test_files:
182
+ test_files:
228
183
  - spec/firering/connection_spec.rb
229
184
  - spec/firering/data/message_spec.rb
230
185
  - spec/firering/data/room_spec.rb