rspec 2.0.0.beta.22 → 2.6.0

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 CHANGED
@@ -1,6 +1,7 @@
1
1
  source :rubygems
2
2
 
3
3
  gem "rake"
4
- gem "rspec-core", :path => "../rspec-core"
5
- gem "rspec-expectations", :path => "../rspec-expectations"
6
- gem "rspec-mocks", :path => "../rspec-mocks"
4
+
5
+ %w[rspec-core rspec-expectations rspec-mocks].each do |lib|
6
+ gem lib, :path => File.expand_path("../../#{lib}", __FILE__)
7
+ end
data/README.markdown CHANGED
@@ -15,9 +15,26 @@ examples (`describe` and `it`) but prefer Test::Unit assertions and mocha, rr
15
15
  or flexmock for mocking, you'll be able to do that without having to load the
16
16
  components of rspec that you're not using.
17
17
 
18
+ ## Documentation
19
+
20
+ ### rspec-core
21
+
22
+ * [Cucumber features](http://relishapp.com/rspec/rspec-core)
23
+ * [RDoc](http://rubydoc.info/gems/rspec-core/2.4.0/frames)
24
+
25
+ ### rspec-expectations
26
+
27
+ * [Cucumber features](http://relishapp.com/rspec/rspec-expectations)
28
+ * [RDoc](http://rubydoc.info/gems/rspec-expectations/2.4.0/frames)
29
+
30
+ ### rspec-mocks
31
+
32
+ * [Cucumber features](http://relishapp.com/rspec/rspec-mocks)
33
+ * [RDoc](http://rubydoc.info/gems/rspec-mocks/2.4.0/frames)
34
+
18
35
  ## Install
19
36
 
20
- gem install rspec --prerelease
37
+ gem install rspec
21
38
 
22
39
  ## Contribute
23
40
 
data/Rakefile CHANGED
@@ -2,6 +2,20 @@ require "bundler"
2
2
  Bundler.setup
3
3
  Bundler::GemHelper.install_tasks
4
4
 
5
+ task :build => :raise_if_psych_is_defined
6
+
7
+ task :raise_if_psych_is_defined do
8
+ if defined?(Psych)
9
+ raise <<-MSG
10
+ ===============================================================================
11
+ Gems compiled in Ruby environments with Psych loaded are incompatible with Ruby
12
+ environments that don't have Psych loaded. Try building this gem in Ruby 1.8.7
13
+ instead.
14
+ ===============================================================================
15
+ MSG
16
+ end
17
+ end
18
+
5
19
  require 'rake'
6
20
  require 'fileutils'
7
21
  require 'pathname'
data/lib/rspec/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module RSpec # :nodoc:
2
2
  module Version # :nodoc:
3
- STRING = '2.0.0.beta.22'
3
+ STRING = '2.6.0'
4
4
  end
5
5
  end
data/rspec.gemspec CHANGED
@@ -7,11 +7,11 @@ Gem::Specification.new do |s|
7
7
  s.name = "rspec"
8
8
  s.version = RSpec::Version::STRING
9
9
  s.platform = Gem::Platform::RUBY
10
- s.authors = ["David Chelimsky", "Chad Humphries"]
11
- s.email = "dchelimsky@gmail.com;chad.humphries@gmail.com"
12
- s.homepage = "http://github.com/rspec/rspec"
10
+ s.authors = ["Steven Baker", "David Chelimsky"]
11
+ s.email = "rspec-users@rubyforge.org;"
12
+ s.homepage = "http://github.com/rspec"
13
13
  s.summary = "rspec-#{RSpec::Version::STRING}"
14
- s.description = "Meta-gem that depends on the other rspec gems"
14
+ s.description = "BDD for Ruby"
15
15
 
16
16
  s.rubygems_version = "1.3.7"
17
17
  s.rubyforge_project = "rspec"
@@ -24,6 +24,10 @@ Gem::Specification.new do |s|
24
24
  s.require_path = "lib"
25
25
 
26
26
  %w[core expectations mocks].each do |name|
27
- s.add_runtime_dependency "rspec-#{name}", RSpec::Version::STRING
27
+ if RSpec::Version::STRING =~ /[a-zA-Z]+/
28
+ s.add_runtime_dependency "rspec-#{name}", "= #{RSpec::Version::STRING}"
29
+ else
30
+ s.add_runtime_dependency "rspec-#{name}", "~> #{RSpec::Version::STRING.split('.')[0..1].concat(['0']).join('.')}"
31
+ end
28
32
  end
29
33
  end
metadata CHANGED
@@ -1,78 +1,74 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: true
4
+ hash: 23
5
+ prerelease:
5
6
  segments:
6
7
  - 2
8
+ - 6
7
9
  - 0
8
- - 0
9
- - beta
10
- - 22
11
- version: 2.0.0.beta.22
10
+ version: 2.6.0
12
11
  platform: ruby
13
12
  authors:
13
+ - Steven Baker
14
14
  - David Chelimsky
15
- - Chad Humphries
16
15
  autorequire:
17
16
  bindir: bin
18
17
  cert_chain: []
19
18
 
20
- date: 2010-09-12 00:00:00 -05:00
19
+ date: 2011-05-12 00:00:00 -05:00
21
20
  default_executable:
22
21
  dependencies:
23
22
  - !ruby/object:Gem::Dependency
24
- name: rspec-core
25
- requirement: &id001 !ruby/object:Gem::Requirement
23
+ version_requirements: &id001 !ruby/object:Gem::Requirement
26
24
  none: false
27
25
  requirements:
28
- - - "="
26
+ - - ~>
29
27
  - !ruby/object:Gem::Version
28
+ hash: 23
30
29
  segments:
31
30
  - 2
31
+ - 6
32
32
  - 0
33
- - 0
34
- - beta
35
- - 22
36
- version: 2.0.0.beta.22
37
- type: :runtime
33
+ version: 2.6.0
38
34
  prerelease: false
39
- version_requirements: *id001
35
+ type: :runtime
36
+ requirement: *id001
37
+ name: rspec-core
40
38
  - !ruby/object:Gem::Dependency
41
- name: rspec-expectations
42
- requirement: &id002 !ruby/object:Gem::Requirement
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
43
40
  none: false
44
41
  requirements:
45
- - - "="
42
+ - - ~>
46
43
  - !ruby/object:Gem::Version
44
+ hash: 23
47
45
  segments:
48
46
  - 2
47
+ - 6
49
48
  - 0
50
- - 0
51
- - beta
52
- - 22
53
- version: 2.0.0.beta.22
54
- type: :runtime
49
+ version: 2.6.0
55
50
  prerelease: false
56
- version_requirements: *id002
51
+ type: :runtime
52
+ requirement: *id002
53
+ name: rspec-expectations
57
54
  - !ruby/object:Gem::Dependency
58
- name: rspec-mocks
59
- requirement: &id003 !ruby/object:Gem::Requirement
55
+ version_requirements: &id003 !ruby/object:Gem::Requirement
60
56
  none: false
61
57
  requirements:
62
- - - "="
58
+ - - ~>
63
59
  - !ruby/object:Gem::Version
60
+ hash: 23
64
61
  segments:
65
62
  - 2
63
+ - 6
66
64
  - 0
67
- - 0
68
- - beta
69
- - 22
70
- version: 2.0.0.beta.22
71
- type: :runtime
65
+ version: 2.6.0
72
66
  prerelease: false
73
- version_requirements: *id003
74
- description: Meta-gem that depends on the other rspec gems
75
- email: dchelimsky@gmail.com;chad.humphries@gmail.com
67
+ type: :runtime
68
+ requirement: *id003
69
+ name: rspec-mocks
70
+ description: BDD for Ruby
71
+ email: rspec-users@rubyforge.org;
76
72
  executables: []
77
73
 
78
74
  extensions: []
@@ -90,7 +86,7 @@ files:
90
86
  - lib/rspec/version.rb
91
87
  - rspec.gemspec
92
88
  has_rdoc: true
93
- homepage: http://github.com/rspec/rspec
89
+ homepage: http://github.com/rspec
94
90
  licenses: []
95
91
 
96
92
  post_install_message:
@@ -103,26 +99,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
99
  requirements:
104
100
  - - ">="
105
101
  - !ruby/object:Gem::Version
106
- hash: -2452166181248869454
102
+ hash: 3
107
103
  segments:
108
104
  - 0
109
105
  version: "0"
110
106
  required_rubygems_version: !ruby/object:Gem::Requirement
111
107
  none: false
112
108
  requirements:
113
- - - ">"
109
+ - - ">="
114
110
  - !ruby/object:Gem::Version
111
+ hash: 3
115
112
  segments:
116
- - 1
117
- - 3
118
- - 1
119
- version: 1.3.1
113
+ - 0
114
+ version: "0"
120
115
  requirements: []
121
116
 
122
117
  rubyforge_project: rspec
123
- rubygems_version: 1.3.7
118
+ rubygems_version: 1.6.2
124
119
  signing_key:
125
120
  specification_version: 3
126
- summary: rspec-2.0.0.beta.22
121
+ summary: rspec-2.6.0
127
122
  test_files: []
128
123