rspec 2.0.0.beta.8 → 2.0.0.beta.9
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +13 -16
- data/Rakefile +7 -7
- data/VERSION +1 -1
- data/lib/rspec/version.rb +1 -1
- data/rspec.gemspec +13 -13
- metadata +11 -11
data/README.markdown
CHANGED
@@ -1,19 +1,16 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
Test::Unit::TestCase if you happen to like that style.
|
15
|
-
|
16
|
-
Conversely, if you like Rspec's approach to declaring example groups and
|
1
|
+
# RSpec-2
|
2
|
+
|
3
|
+
Behaviour Driven Development for Ruby
|
4
|
+
|
5
|
+
# Description
|
6
|
+
|
7
|
+
rspec-2.x is a meta-gem, which depends on the rspec-core, rspec-expectations
|
8
|
+
and rspec-mocks gems. Each of these can be installed separately and actived in
|
9
|
+
isolation with the `gem` command. Among other benefits, this allows you to use
|
10
|
+
rspec-expectations, for example, in Test::Unit::TestCase if you happen to
|
11
|
+
prefer that style.
|
12
|
+
|
13
|
+
Conversely, if you like RSpec's approach to declaring example groups and
|
17
14
|
examples (`describe` and `it`) but prefer Test::Unit assertions and mocha, rr
|
18
15
|
or flexmock for mocking, you'll be able to do that without having to load the
|
19
16
|
components of rspec that you're not using.
|
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rake'
|
|
2
2
|
require 'fileutils'
|
3
3
|
require 'pathname'
|
4
4
|
|
5
|
-
$:.unshift File.expand_path(
|
5
|
+
$:.unshift File.expand_path('../lib', __FILE__)
|
6
6
|
|
7
7
|
require 'rspec/version'
|
8
8
|
|
@@ -10,16 +10,16 @@ begin
|
|
10
10
|
require 'jeweler'
|
11
11
|
Jeweler::Tasks.new do |gem|
|
12
12
|
gem.name = "rspec"
|
13
|
-
gem.version =
|
14
|
-
gem.summary = "rspec-#{
|
13
|
+
gem.version = RSpec::Version::STRING
|
14
|
+
gem.summary = "rspec-#{RSpec::Version::STRING}"
|
15
15
|
gem.description = "Meta-gem that depends on the other rspec gems"
|
16
16
|
gem.email = "dchelimsky@gmail.com;chad.humphries@gmail.com"
|
17
17
|
gem.homepage = "http://github.com/rspec/meta"
|
18
18
|
gem.authors = ["David Chelimsky", "Chad Humphries"]
|
19
19
|
gem.rubyforge_project = "rspec"
|
20
|
-
gem.add_dependency "rspec-core",
|
21
|
-
gem.add_dependency "rspec-expectations",
|
22
|
-
gem.add_dependency "rspec-mocks",
|
20
|
+
gem.add_dependency "rspec-core", RSpec::Version::STRING
|
21
|
+
gem.add_dependency "rspec-expectations", RSpec::Version::STRING
|
22
|
+
gem.add_dependency "rspec-mocks", RSpec::Version::STRING
|
23
23
|
gem.post_install_message = <<-EOM
|
24
24
|
#{"*"*50}
|
25
25
|
|
@@ -39,7 +39,7 @@ end
|
|
39
39
|
namespace :gem do
|
40
40
|
desc "push to gemcutter"
|
41
41
|
task :push => :build do
|
42
|
-
system "gem push pkg/rspec-#{
|
42
|
+
system "gem push pkg/rspec-#{RSpec::Version::STRING}.gem"
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.0.beta.
|
1
|
+
2.0.0.beta.9
|
data/lib/rspec/version.rb
CHANGED
data/rspec.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rspec}
|
8
|
-
s.version = "2.0.0.beta.
|
8
|
+
s.version = "2.0.0.beta.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["David Chelimsky", "Chad Humphries"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-05-27}
|
13
13
|
s.description = %q{Meta-gem that depends on the other rspec gems}
|
14
14
|
s.email = %q{dchelimsky@gmail.com;chad.humphries@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
s.homepage = %q{http://github.com/rspec/meta}
|
30
30
|
s.post_install_message = %q{**************************************************
|
31
31
|
|
32
|
-
Thank you for installing rspec-2.0.0.beta.
|
32
|
+
Thank you for installing rspec-2.0.0.beta.9
|
33
33
|
|
34
34
|
This is beta software. If you are looking
|
35
35
|
for a supported production release, please
|
@@ -41,25 +41,25 @@ Gem::Specification.new do |s|
|
|
41
41
|
s.require_paths = ["lib"]
|
42
42
|
s.rubyforge_project = %q{rspec}
|
43
43
|
s.rubygems_version = %q{1.3.6}
|
44
|
-
s.summary = %q{rspec-2.0.0.beta.
|
44
|
+
s.summary = %q{rspec-2.0.0.beta.9}
|
45
45
|
|
46
46
|
if s.respond_to? :specification_version then
|
47
47
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
48
48
|
s.specification_version = 3
|
49
49
|
|
50
50
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
51
|
-
s.add_runtime_dependency(%q<rspec-core>, ["= 2.0.0.beta.
|
52
|
-
s.add_runtime_dependency(%q<rspec-expectations>, ["= 2.0.0.beta.
|
53
|
-
s.add_runtime_dependency(%q<rspec-mocks>, ["= 2.0.0.beta.
|
51
|
+
s.add_runtime_dependency(%q<rspec-core>, ["= 2.0.0.beta.9"])
|
52
|
+
s.add_runtime_dependency(%q<rspec-expectations>, ["= 2.0.0.beta.9"])
|
53
|
+
s.add_runtime_dependency(%q<rspec-mocks>, ["= 2.0.0.beta.9"])
|
54
54
|
else
|
55
|
-
s.add_dependency(%q<rspec-core>, ["= 2.0.0.beta.
|
56
|
-
s.add_dependency(%q<rspec-expectations>, ["= 2.0.0.beta.
|
57
|
-
s.add_dependency(%q<rspec-mocks>, ["= 2.0.0.beta.
|
55
|
+
s.add_dependency(%q<rspec-core>, ["= 2.0.0.beta.9"])
|
56
|
+
s.add_dependency(%q<rspec-expectations>, ["= 2.0.0.beta.9"])
|
57
|
+
s.add_dependency(%q<rspec-mocks>, ["= 2.0.0.beta.9"])
|
58
58
|
end
|
59
59
|
else
|
60
|
-
s.add_dependency(%q<rspec-core>, ["= 2.0.0.beta.
|
61
|
-
s.add_dependency(%q<rspec-expectations>, ["= 2.0.0.beta.
|
62
|
-
s.add_dependency(%q<rspec-mocks>, ["= 2.0.0.beta.
|
60
|
+
s.add_dependency(%q<rspec-core>, ["= 2.0.0.beta.9"])
|
61
|
+
s.add_dependency(%q<rspec-expectations>, ["= 2.0.0.beta.9"])
|
62
|
+
s.add_dependency(%q<rspec-mocks>, ["= 2.0.0.beta.9"])
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
metadata
CHANGED
@@ -7,8 +7,8 @@ version: !ruby/object:Gem::Version
|
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- beta
|
10
|
-
-
|
11
|
-
version: 2.0.0.beta.
|
10
|
+
- 9
|
11
|
+
version: 2.0.0.beta.9
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- David Chelimsky
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2010-
|
20
|
+
date: 2010-05-27 00:00:00 -05:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
@@ -32,8 +32,8 @@ dependencies:
|
|
32
32
|
- 0
|
33
33
|
- 0
|
34
34
|
- beta
|
35
|
-
-
|
36
|
-
version: 2.0.0.beta.
|
35
|
+
- 9
|
36
|
+
version: 2.0.0.beta.9
|
37
37
|
type: :runtime
|
38
38
|
version_requirements: *id001
|
39
39
|
- !ruby/object:Gem::Dependency
|
@@ -48,8 +48,8 @@ dependencies:
|
|
48
48
|
- 0
|
49
49
|
- 0
|
50
50
|
- beta
|
51
|
-
-
|
52
|
-
version: 2.0.0.beta.
|
51
|
+
- 9
|
52
|
+
version: 2.0.0.beta.9
|
53
53
|
type: :runtime
|
54
54
|
version_requirements: *id002
|
55
55
|
- !ruby/object:Gem::Dependency
|
@@ -64,8 +64,8 @@ dependencies:
|
|
64
64
|
- 0
|
65
65
|
- 0
|
66
66
|
- beta
|
67
|
-
-
|
68
|
-
version: 2.0.0.beta.
|
67
|
+
- 9
|
68
|
+
version: 2.0.0.beta.9
|
69
69
|
type: :runtime
|
70
70
|
version_requirements: *id003
|
71
71
|
description: Meta-gem that depends on the other rspec gems
|
@@ -93,7 +93,7 @@ licenses: []
|
|
93
93
|
post_install_message: |
|
94
94
|
**************************************************
|
95
95
|
|
96
|
-
Thank you for installing rspec-2.0.0.beta.
|
96
|
+
Thank you for installing rspec-2.0.0.beta.9
|
97
97
|
|
98
98
|
This is beta software. If you are looking
|
99
99
|
for a supported production release, please
|
@@ -127,6 +127,6 @@ rubyforge_project: rspec
|
|
127
127
|
rubygems_version: 1.3.6
|
128
128
|
signing_key:
|
129
129
|
specification_version: 3
|
130
|
-
summary: rspec-2.0.0.beta.
|
130
|
+
summary: rspec-2.0.0.beta.9
|
131
131
|
test_files: []
|
132
132
|
|