rspec 0.5.5 → 0.5.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/CHANGES +5 -0
- data/Rakefile +24 -8
- data/doc/src/images/ducks1.png +0 -0
- data/lib/spec/version.rb +6 -5
- metadata +3 -2
data/CHANGES
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
= RSpec Changelog
|
2
2
|
|
3
|
+
== Version 0.5.6
|
4
|
+
This release fixes a bug in the Rails controller generator
|
5
|
+
|
6
|
+
* The controller generator did not write correct source code (missing 'do'). Fixed.
|
7
|
+
|
3
8
|
== Version 0.5.5
|
4
9
|
This release adds initial support for Ruby on Rails in the rspec_generator gem.
|
5
10
|
|
data/Rakefile
CHANGED
@@ -119,7 +119,21 @@ task :clobber do
|
|
119
119
|
rm_rf 'doc/output'
|
120
120
|
end
|
121
121
|
|
122
|
-
task :release => [:clobber, :verify_user, :verify_password, :test, :publish_packages, :publish_website, :publish_news]
|
122
|
+
task :release => [:clobber, :verify_committed, :verify_user, :verify_password, :test, :publish_packages, :tag, :publish_website, :publish_news]
|
123
|
+
|
124
|
+
desc "Verifies that there is no uncommitted code"
|
125
|
+
task :verify_committed do
|
126
|
+
IO.popen('svn stat') do |io|
|
127
|
+
io.each_line do |line|
|
128
|
+
raise "\n!!! Do a svn commit first !!!\n\n" if line =~ /^\s*M\s*/
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
desc "Creates a tag in svn"
|
134
|
+
task :tag do
|
135
|
+
`svn cp svn+ssh://#{ENV['RUBYFORGE_USER']}@rubyforge.org/var/svn/rspec/trunk svn+ssh://#{ENV['RUBYFORGE_USER']}@rubyforge.org/var/svn/rspec/trunk/tags/#{Spec::VERSION::TAG}`
|
136
|
+
end
|
123
137
|
|
124
138
|
desc "Build the website with rdoc and rcov, but do not publish it"
|
125
139
|
task :website => [:clobber, :rcov_verify, :doc, :examples_specdoc, :rdoc]
|
@@ -134,13 +148,15 @@ end
|
|
134
148
|
|
135
149
|
desc "Upload Website to RubyForge"
|
136
150
|
task :publish_website => [:verify_user, :website] do
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
151
|
+
unless ENV('SKIP_PUBLISH_WEBSITE') # Because of permission problems on Rubyforge.
|
152
|
+
publisher = Rake::SshDirPublisher.new(
|
153
|
+
"rspec-website@rubyforge.org",
|
154
|
+
"/var/www/gforge-projects/#{PKG_NAME}",
|
155
|
+
"doc/output"
|
156
|
+
)
|
157
|
+
|
158
|
+
publisher.upload
|
159
|
+
end
|
144
160
|
end
|
145
161
|
|
146
162
|
task :package_rails do
|
Binary file
|
data/lib/spec/version.rb
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
module Spec
|
2
2
|
module VERSION
|
3
3
|
unless defined? MAJOR
|
4
|
-
MAJOR
|
5
|
-
MINOR
|
6
|
-
TINY
|
4
|
+
MAJOR = 0
|
5
|
+
MINOR = 5
|
6
|
+
TINY = 6
|
7
7
|
|
8
8
|
STRING = [MAJOR, MINOR, TINY].join('.')
|
9
|
+
TAG = "REL_" + [MAJOR, MINOR, TINY].join('_')
|
9
10
|
|
10
|
-
NAME
|
11
|
-
URL
|
11
|
+
NAME = "RSpec"
|
12
|
+
URL = "http://rspec.rubyforge.org/"
|
12
13
|
|
13
14
|
DESCRIPTION = "#{NAME}-#{STRING} - BDD for Ruby\n#{URL}"
|
14
15
|
end
|
metadata
CHANGED
@@ -3,9 +3,9 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: rspec
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.5.
|
6
|
+
version: 0.5.6
|
7
7
|
date: 2006-06-06 00:00:00 -05:00
|
8
|
-
summary: RSpec-0.5.
|
8
|
+
summary: RSpec-0.5.6 - BDD for Ruby http://rspec.rubyforge.org/
|
9
9
|
require_paths:
|
10
10
|
- lib
|
11
11
|
email: rspec-devel@rubyforge.org
|
@@ -135,6 +135,7 @@ files:
|
|
135
135
|
- doc/src/documentation/mocks.page
|
136
136
|
- doc/src/documentation/underscores.page
|
137
137
|
- doc/src/images/David_and_Aslak.jpg
|
138
|
+
- doc/src/images/ducks1.png
|
138
139
|
- doc/src/images/ul.gif
|
139
140
|
- doc/src/images/Whats_That_Dude.jpg
|
140
141
|
- doc/src/tools/index.page
|