em-spec 0.2.5 → 0.2.6

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/Gemfile.lock CHANGED
@@ -1,36 +1,36 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- em-spec (0.2.4)
4
+ em-spec (0.2.6)
5
5
  bacon
6
6
  eventmachine
7
- rspec (~> 2.6.0)
7
+ rspec (> 2.6.0)
8
8
  test-unit
9
9
 
10
10
  GEM
11
11
  remote: http://rubygems.org/
12
12
  specs:
13
13
  bacon (1.1.0)
14
- diff-lcs (1.1.2)
14
+ diff-lcs (1.1.3)
15
15
  eventmachine (0.12.10)
16
16
  growl (1.0.3)
17
- guard (0.5.1)
17
+ guard (0.8.8)
18
18
  thor (~> 0.14.6)
19
19
  guard-bundler (0.1.3)
20
20
  bundler (>= 1.0.0)
21
21
  guard (>= 0.2.2)
22
- guard-rspec (0.2.0)
23
- guard (>= 0.2.2)
22
+ guard-rspec (0.5.9)
23
+ guard (>= 0.8.4)
24
24
  rake (0.8.7)
25
- rspec (2.6.0)
26
- rspec-core (~> 2.6.0)
27
- rspec-expectations (~> 2.6.0)
28
- rspec-mocks (~> 2.6.0)
29
- rspec-core (2.6.4)
30
- rspec-expectations (2.6.0)
25
+ rspec (2.7.0)
26
+ rspec-core (~> 2.7.0)
27
+ rspec-expectations (~> 2.7.0)
28
+ rspec-mocks (~> 2.7.0)
29
+ rspec-core (2.7.1)
30
+ rspec-expectations (2.7.0)
31
31
  diff-lcs (~> 1.1.2)
32
- rspec-mocks (2.6.0)
33
- test-unit (2.3.1)
32
+ rspec-mocks (2.7.0)
33
+ test-unit (2.4.2)
34
34
  thor (0.14.6)
35
35
 
36
36
  PLATFORMS
data/README.rdoc CHANGED
@@ -79,6 +79,8 @@ The API is identical to Bacon, except that you must explicitly call 'done' after
79
79
  =Test::Unit
80
80
  There are two ways to use the Test::Unit extension. To use it as a helper, include EM::TestHelper in your test unit class. You then use the em method to wrap your evented test code. Inside the em block, you must call #done after your expectations. Everything works normally otherwise.
81
81
 
82
+ require 'em-spec/test'
83
+
82
84
  class EmSpecHelperTest < Test::Unit::TestCase
83
85
 
84
86
  include EventMachine::TestHelper
@@ -92,7 +94,9 @@ There are two ways to use the Test::Unit extension. To use it as a helper, incl
92
94
  end
93
95
 
94
96
  The other option is to include EM::Test in your test class. This will patch Test::Unit so that all of your examples run inside an em block automatically:
95
-
97
+
98
+ require 'em-spec/test'
99
+
96
100
  class EmSpecTest < Test::Unit::TestCase
97
101
 
98
102
  include EventMachine::Test
@@ -111,4 +115,4 @@ Resources:
111
115
 
112
116
  * Git repository: http://github.com/tmm1/em-spec
113
117
  * Bacon: http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/30b07b651b0662fd
114
- * Initial announcement: http://groups.google.com/group/eventmachine/browse_thread/thread/8b4e7ead72f9d013
118
+ * Initial announcement: http://groups.google.com/group/eventmachine/browse_thread/thread/8b4e7ead72f9d013
data/em-spec.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = EventMachine::Spec::VERSION
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.authors = ["Aman Gupta", "Julien Ammous"]
10
- s.summary = "Simple BDD API for testing asynchronous Ruby/EventMachine code"
10
+ s.summary = "BDD for Ruby/EventMachine"
11
11
  s.description = "Simple BDD API for testing asynchronous Ruby/EventMachine code"
12
12
  s.email = %q{schmurfy@gmail.com}
13
13
  s.extra_rdoc_files = ['README.rdoc']
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.rubyforge_project = 'em-spec'
21
21
 
22
22
  # dependencies
23
- s.add_dependency 'rspec', '~> 2.6.0'
23
+ s.add_dependency 'rspec', '> 2.6.0'
24
24
  s.add_dependency 'bacon'
25
25
  s.add_dependency 'test-unit'
26
26
  s.add_dependency 'eventmachine'
@@ -1,5 +1,5 @@
1
1
  module EventMachine
2
2
  module Spec
3
- VERSION = '0.2.5'
3
+ VERSION = '0.2.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-spec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 5
10
- version: 0.2.5
9
+ - 6
10
+ version: 0.2.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aman Gupta
@@ -16,8 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-08-11 00:00:00 -07:00
20
- default_executable:
19
+ date: 2012-01-06 00:00:00 Z
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
23
22
  name: rspec
@@ -25,7 +24,7 @@ dependencies:
25
24
  requirement: &id001 !ruby/object:Gem::Requirement
26
25
  none: false
27
26
  requirements:
28
- - - ~>
27
+ - - ">"
29
28
  - !ruby/object:Gem::Version
30
29
  hash: 23
31
30
  segments:
@@ -161,7 +160,6 @@ files:
161
160
  - spec/rspec_spec.rb
162
161
  - test/bacon_spec.rb
163
162
  - test/test_spec.rb
164
- has_rdoc: true
165
163
  homepage: http://github.com/schmurfy/em-spec
166
164
  licenses: []
167
165
 
@@ -191,10 +189,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
189
  requirements: []
192
190
 
193
191
  rubyforge_project: em-spec
194
- rubygems_version: 1.6.2
192
+ rubygems_version: 1.8.10
195
193
  signing_key:
196
194
  specification_version: 3
197
- summary: Simple BDD API for testing asynchronous Ruby/EventMachine code
195
+ summary: BDD for Ruby/EventMachine
198
196
  test_files:
199
197
  - test/bacon_spec.rb
200
198
  - test/test_spec.rb
199
+ has_rdoc: