firering 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -0
- data/firering.gemspec +5 -3
- data/lib/firering.rb +1 -1
- data/lib/firering/data/message.rb +1 -1
- data/spec/fixtures/load_server.rb +3 -2
- data/spec/fixtures/retrieve.rb +2 -2
- metadata +25 -39
data/README.rdoc
CHANGED
@@ -88,6 +88,7 @@ For more details take a look at spec/fixtures/load_server.rb file.
|
|
88
88
|
* caius (Caius Durling), https://github.com/EmmanuelOga/firering/pull/5
|
89
89
|
* cesario (Franck Verrot), https://github.com/EmmanuelOga/firering/pull/6
|
90
90
|
* PizzaPowered, https://github.com/PizzaPowered/firering
|
91
|
+
* gdb (Greg Brockman), https://github.com/EmmanuelOga/firering/pull/8
|
91
92
|
|
92
93
|
== Copyright
|
93
94
|
|
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.2.
|
8
|
-
s.date = '2011-
|
7
|
+
s.version = '1.2.2'
|
8
|
+
s.date = '2011-10-26'
|
9
9
|
s.rubyforge_project = 'firering'
|
10
10
|
|
11
11
|
s.summary = "Campfire API interface powered by eventmachine em-http-request and yajl-ruby."
|
@@ -27,8 +27,10 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_dependency('em-http-request', ["~> 0.3.0"])
|
28
28
|
s.add_dependency('yajl-ruby', ["~> 0.7.6"])
|
29
29
|
|
30
|
-
s.add_development_dependency('rspec', ["~> 2.
|
30
|
+
s.add_development_dependency('rspec', ["~> 2.6.0"])
|
31
31
|
s.add_development_dependency('rack', [">= 1.2.0"])
|
32
|
+
s.add_development_dependency('thin', ["~> 1.2.0"])
|
33
|
+
s.add_development_dependency('rake')
|
32
34
|
|
33
35
|
# = MANIFEST =
|
34
36
|
s.files = %w[
|
data/lib/firering.rb
CHANGED
@@ -19,8 +19,8 @@ class FixtureServer < Struct.new(:logger)
|
|
19
19
|
res.write("OK")
|
20
20
|
else
|
21
21
|
if @fails > 0
|
22
|
-
log_hi("I was requested to fail, fails left: #{ @fails }")
|
23
22
|
@fails -= 1
|
23
|
+
log_hi("I was requested to fail, fails left: #{ @fails }")
|
24
24
|
res.write("")
|
25
25
|
res.status = 404
|
26
26
|
else
|
@@ -77,6 +77,7 @@ end
|
|
77
77
|
def start_fixtures_server(port)
|
78
78
|
pid = fork do
|
79
79
|
require 'rack'
|
80
|
+
require 'thin'
|
80
81
|
require 'logger'
|
81
82
|
|
82
83
|
$stdout = $stderr = File.open("/dev/null", "w")
|
@@ -88,7 +89,7 @@ def start_fixtures_server(port)
|
|
88
89
|
app = Rack::ShowStatus.new(Rack::ShowExceptions.new(app))
|
89
90
|
app = Rack::CommonLogger.new(app, logger)
|
90
91
|
|
91
|
-
Rack::Handler::
|
92
|
+
Rack::Handler::Thin.run app, :Port => $specs_port
|
92
93
|
end
|
93
94
|
|
94
95
|
spawned, start = false, Time.now
|
data/spec/fixtures/retrieve.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firering
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 29
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 1
|
8
|
-
- 2
|
9
|
-
- 1
|
10
|
-
version: 1.2.1
|
5
|
+
version: 1.2.2
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Emmanuel Oga
|
@@ -15,7 +10,7 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2011-
|
13
|
+
date: 2011-10-26 00:00:00 -03:00
|
19
14
|
default_executable: campf-notify
|
20
15
|
dependencies:
|
21
16
|
- !ruby/object:Gem::Dependency
|
@@ -26,11 +21,6 @@ dependencies:
|
|
26
21
|
requirements:
|
27
22
|
- - ~>
|
28
23
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 59
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 12
|
33
|
-
- 10
|
34
24
|
version: 0.12.10
|
35
25
|
type: :runtime
|
36
26
|
version_requirements: *id001
|
@@ -42,11 +32,6 @@ dependencies:
|
|
42
32
|
requirements:
|
43
33
|
- - ~>
|
44
34
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 19
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
- 3
|
49
|
-
- 0
|
50
35
|
version: 0.3.0
|
51
36
|
type: :runtime
|
52
37
|
version_requirements: *id002
|
@@ -58,11 +43,6 @@ dependencies:
|
|
58
43
|
requirements:
|
59
44
|
- - ~>
|
60
45
|
- !ruby/object:Gem::Version
|
61
|
-
hash: 15
|
62
|
-
segments:
|
63
|
-
- 0
|
64
|
-
- 7
|
65
|
-
- 6
|
66
46
|
version: 0.7.6
|
67
47
|
type: :runtime
|
68
48
|
version_requirements: *id003
|
@@ -74,12 +54,7 @@ dependencies:
|
|
74
54
|
requirements:
|
75
55
|
- - ~>
|
76
56
|
- !ruby/object:Gem::Version
|
77
|
-
|
78
|
-
segments:
|
79
|
-
- 2
|
80
|
-
- 1
|
81
|
-
- 0
|
82
|
-
version: 2.1.0
|
57
|
+
version: 2.6.0
|
83
58
|
type: :development
|
84
59
|
version_requirements: *id004
|
85
60
|
- !ruby/object:Gem::Dependency
|
@@ -90,14 +65,31 @@ dependencies:
|
|
90
65
|
requirements:
|
91
66
|
- - ">="
|
92
67
|
- !ruby/object:Gem::Version
|
93
|
-
hash: 31
|
94
|
-
segments:
|
95
|
-
- 1
|
96
|
-
- 2
|
97
|
-
- 0
|
98
68
|
version: 1.2.0
|
99
69
|
type: :development
|
100
70
|
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: thin
|
73
|
+
prerelease: false
|
74
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ~>
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 1.2.0
|
80
|
+
type: :development
|
81
|
+
version_requirements: *id006
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: rake
|
84
|
+
prerelease: false
|
85
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: "0"
|
91
|
+
type: :development
|
92
|
+
version_requirements: *id007
|
101
93
|
description: Campfire API interface powered by eventmachine em-http-request and yajl-ruby.
|
102
94
|
email: EmmanuelOga@gmail.com
|
103
95
|
executables:
|
@@ -186,18 +178,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
186
178
|
requirements:
|
187
179
|
- - ">="
|
188
180
|
- !ruby/object:Gem::Version
|
189
|
-
hash: 3
|
190
|
-
segments:
|
191
|
-
- 0
|
192
181
|
version: "0"
|
193
182
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
183
|
none: false
|
195
184
|
requirements:
|
196
185
|
- - ">="
|
197
186
|
- !ruby/object:Gem::Version
|
198
|
-
hash: 3
|
199
|
-
segments:
|
200
|
-
- 0
|
201
187
|
version: "0"
|
202
188
|
requirements: []
|
203
189
|
|