rspec 2.0.0.a2 → 2.0.0.a3
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/.document +2 -5
- data/.gitignore +1 -1
- data/License.txt +1 -1
- data/README.markdown +12 -28
- data/lib/rspec/version.rb +1 -1
- data/rspec.gemspec +11 -11
- metadata +5 -5
data/.document
CHANGED
data/.gitignore
CHANGED
data/License.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
(The MIT License)
|
2
2
|
|
3
|
-
Copyright (c) 2009 David Chelimsky, Chad Humphries
|
3
|
+
Copyright (c) 2009, 2010 David Chelimsky, Chad Humphries
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
6
6
|
a copy of this software and associated documentation files (the
|
data/README.markdown
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# Rspec
|
2
2
|
|
3
|
-
This is part of the rspec-2 codebase, which is in
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
This is part of the rspec-2 codebase, which is in alpha release at the moment.
|
4
|
+
While you are welcome to track, fork, explore, etc, we're too early in the
|
5
|
+
process to start fielding pull requests and or issues from outside the core
|
6
|
+
development team, so please don't waste your time until this
|
7
7
|
notice changes.
|
8
8
|
|
9
9
|
This repo will be the source for the rspec-2.x gem, which will serve as a
|
@@ -13,34 +13,18 @@ installed separately and actived in isolation with the `gem` command. Among
|
|
13
13
|
other benefits, this will allow you to use rspec-expectations, for example, in
|
14
14
|
Test::Unit::TestCase if you happen to like that style.
|
15
15
|
|
16
|
-
Conversely, if you like
|
16
|
+
Conversely, if you like Rspec's approach to declaring example groups and
|
17
17
|
examples (`describe` and `it`) but prefer Test::Unit assertions and mocha, rr
|
18
18
|
or flexmock for mocking, you'll be able to do that without having to load the
|
19
19
|
components of rspec that you're not using.
|
20
20
|
|
21
|
-
|
22
|
-
2009/early 2010 - so do stay tuned, but don't start using this just yet.
|
21
|
+
## Install
|
23
22
|
|
24
|
-
|
25
|
-
|
26
|
-
To get started, make a new directory for the rspec-2 repos to live:
|
27
|
-
|
28
|
-
$ mkdir ~/rspec2
|
29
|
-
|
30
|
-
Next, cd into it, and pull down the meta repo:
|
31
|
-
|
32
|
-
$ cd ~/rspec2
|
33
|
-
$ git clone git://github.com/rspec/meta.git
|
34
|
-
|
35
|
-
The meta repo provides a task to help manage the others. Initially, you want to clone them:
|
36
|
-
|
37
|
-
$ cd meta
|
38
|
-
$ rake git:clone
|
39
|
-
|
40
|
-
Now you'll be able to run the other git tasks for pulling, pushing, etc.
|
23
|
+
[sudo] gem install rspec --prerelease
|
41
24
|
|
42
25
|
#### Also see
|
43
26
|
|
44
|
-
* [http://github.com/rspec/
|
45
|
-
* [http://github.com/rspec/
|
46
|
-
* [http://github.com/rspec/
|
27
|
+
* [http://github.com/rspec/rspec-dev](http://github.com/rspec/rspec-dev)
|
28
|
+
* [http://github.com/rspec/rspec-core](http://github.com/rspec/rspec-core)
|
29
|
+
* [http://github.com/rspec/rspec-expectations](http://github.com/rspec/rspec-expectations)
|
30
|
+
* [http://github.com/rspec/rspec-mocks](http://github.com/rspec/rspec-mocks)
|
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.
|
8
|
+
s.version = "2.0.0.a3"
|
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-02-03}
|
13
13
|
s.email = %q{dchelimsky@gmail.com;chad.humphries@gmail.com}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"README.markdown"
|
@@ -36,18 +36,18 @@ Gem::Specification.new do |s|
|
|
36
36
|
s.specification_version = 3
|
37
37
|
|
38
38
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
39
|
-
s.add_runtime_dependency(%q<rspec-core>, [">= 2.0.0.
|
40
|
-
s.add_runtime_dependency(%q<rspec-expectations>, [">= 2.0.0.
|
41
|
-
s.add_runtime_dependency(%q<rspec-mocks>, [">= 2.0.0.
|
39
|
+
s.add_runtime_dependency(%q<rspec-core>, [">= 2.0.0.a3"])
|
40
|
+
s.add_runtime_dependency(%q<rspec-expectations>, [">= 2.0.0.a3"])
|
41
|
+
s.add_runtime_dependency(%q<rspec-mocks>, [">= 2.0.0.a3"])
|
42
42
|
else
|
43
|
-
s.add_dependency(%q<rspec-core>, [">= 2.0.0.
|
44
|
-
s.add_dependency(%q<rspec-expectations>, [">= 2.0.0.
|
45
|
-
s.add_dependency(%q<rspec-mocks>, [">= 2.0.0.
|
43
|
+
s.add_dependency(%q<rspec-core>, [">= 2.0.0.a3"])
|
44
|
+
s.add_dependency(%q<rspec-expectations>, [">= 2.0.0.a3"])
|
45
|
+
s.add_dependency(%q<rspec-mocks>, [">= 2.0.0.a3"])
|
46
46
|
end
|
47
47
|
else
|
48
|
-
s.add_dependency(%q<rspec-core>, [">= 2.0.0.
|
49
|
-
s.add_dependency(%q<rspec-expectations>, [">= 2.0.0.
|
50
|
-
s.add_dependency(%q<rspec-mocks>, [">= 2.0.0.
|
48
|
+
s.add_dependency(%q<rspec-core>, [">= 2.0.0.a3"])
|
49
|
+
s.add_dependency(%q<rspec-expectations>, [">= 2.0.0.a3"])
|
50
|
+
s.add_dependency(%q<rspec-mocks>, [">= 2.0.0.a3"])
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.a3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chelimsky
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2010-
|
13
|
+
date: 2010-02-03 00:00:00 -06:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
requirements:
|
22
22
|
- - ">="
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 2.0.0.
|
24
|
+
version: 2.0.0.a3
|
25
25
|
version:
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rspec-expectations
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 2.0.0.
|
34
|
+
version: 2.0.0.a3
|
35
35
|
version:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec-mocks
|
@@ -41,7 +41,7 @@ dependencies:
|
|
41
41
|
requirements:
|
42
42
|
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 2.0.0.
|
44
|
+
version: 2.0.0.a3
|
45
45
|
version:
|
46
46
|
description:
|
47
47
|
email: dchelimsky@gmail.com;chad.humphries@gmail.com
|