pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-rspec Update ruby-rspec package to 1.1.4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f2586ab2b6ad
branches:  trunk
changeset: 543748:f2586ab2b6ad
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jun 22 16:05:53 2008 +0000

description:
Update ruby-rspec package to 1.1.4.

== Version 1.1.4

Maintenance release.

Note: we've removed the metaclass method from Object. There were some
generated specs that used it, and they will now break. Just replace the
metaclass call with (class << self; self; end) and all will be well.

* pending steps print out yellow in stories (patch from Kyle Hargraves)
* Deprecation warnings for specs that assume auto-inclusion of modules. Closes #326 (patch from Scott Taylor)
* mock.should_not_receive(:anything) fails fast (once again)
* Patch from Antti Tarvainen to stop files from being loaded repeatedly when running heckle. Closes #333.
* Fixed bug in which session object in example was not the same instance used in the controller. Closes #331.
* Applied patch from Antti Tarvainen to fix bug where heckle runs rspec runs heckle runs rspec etc. Closes #280.
* Applied patch from Zach Dennis to merge :steps functionality to :steps_for. Closes #324.
* Applied patch from Ryan Davis to add eval of block passed to raise_error matcher. Closes #321.
* alias :context :describe in example_group_methods. Closes #312.
* Applied patch from Ben Mabey to make the Story runner exit with a non-0 exit code on failing stories. Closes #228.
* Applied patch from Coda Hale to get the :red hook called in autotest. Closes #279.
* Applied patch from Patrick Ritchie to support --drb in spec.opts. Closes #274, #293.
* Moved metaclass method from Object to an internal module which gets included where it is needed.
* Applied patch from Dayo Esho: and_yield clobbers return value from block. Closes #217.
* Applied patch from Bob Cotton:  ExampleGroupFactory.default resets previously registered types. Closes #222.
* Applied patch from Mike Williams to support the lib directory in rails apps with the Textmate Alternate File command. Closes #276.
* ExampleGroupMethods#xspecify aliases #xit
* A SharedExampleGroup can be created within another ExampleGroup.
* Applied patch from Bob Cotton: Nested ExampleGroups do not have a spec_path. Closes #224.
* Add before_suite and after_suite callbacks to ExampleGroupMethods and Options. Closes #210.
* The after(:suite) callback lambda is passed a boolean representing whether the suite passed or failed
* Added NestedTextFormatter. Closes #366.
* decoupled mock framework from global extensions used by rspec - supports use of flexmock or mocha w/ rails
* Applied patch from Roman Chernyatchik to allow the user to pass in the rails version into spectask. Closes #325, #370

diffstat:

 devel/ruby-rspec/Makefile |   4 ++--
 devel/ruby-rspec/PLIST    |  33 +++++++++++++++++----------------
 devel/ruby-rspec/distinfo |   8 ++++----
 3 files changed, 23 insertions(+), 22 deletions(-)

diffs (168 lines):

diff -r c76a4f8db6b9 -r f2586ab2b6ad devel/ruby-rspec/Makefile
--- a/devel/ruby-rspec/Makefile Sun Jun 22 16:05:39 2008 +0000
+++ b/devel/ruby-rspec/Makefile Sun Jun 22 16:05:53 2008 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:18:33 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/22 16:05:53 taca Exp $
 
-DISTNAME=      rspec-1.1.3
+DISTNAME=      rspec-1.1.4
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel
 
diff -r c76a4f8db6b9 -r f2586ab2b6ad devel/ruby-rspec/PLIST
--- a/devel/ruby-rspec/PLIST    Sun Jun 22 16:05:39 2008 +0000
+++ b/devel/ruby-rspec/PLIST    Sun Jun 22 16:05:53 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:18:33 jlam Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/06/22 16:05:53 taca Exp $
 bin/spec
 bin/spec_translator
 ${GEM_HOME}/cache/rspec-${PKGVERSION}.gem
@@ -90,6 +90,7 @@
 ${GEM_LIBDIR}/lib/spec/example/example_group_methods.rb
 ${GEM_LIBDIR}/lib/spec/example/example_matcher.rb
 ${GEM_LIBDIR}/lib/spec/example/example_methods.rb
+${GEM_LIBDIR}/lib/spec/example/module_inclusion_warnings.rb
 ${GEM_LIBDIR}/lib/spec/example/module_reopening_fix.rb
 ${GEM_LIBDIR}/lib/spec/example/pending.rb
 ${GEM_LIBDIR}/lib/spec/example/shared_example_group.rb
@@ -103,6 +104,7 @@
 ${GEM_LIBDIR}/lib/spec/extensions.rb
 ${GEM_LIBDIR}/lib/spec/extensions/class.rb
 ${GEM_LIBDIR}/lib/spec/extensions/main.rb
+${GEM_LIBDIR}/lib/spec/extensions/metaclass.rb
 ${GEM_LIBDIR}/lib/spec/extensions/object.rb
 ${GEM_LIBDIR}/lib/spec/interop/test.rb
 ${GEM_LIBDIR}/lib/spec/interop/test/unit/autorunner.rb
@@ -132,7 +134,9 @@
 ${GEM_LIBDIR}/lib/spec/mocks/argument_expectation.rb
 ${GEM_LIBDIR}/lib/spec/mocks/error_generator.rb
 ${GEM_LIBDIR}/lib/spec/mocks/errors.rb
+${GEM_LIBDIR}/lib/spec/mocks/extensions.rb
 ${GEM_LIBDIR}/lib/spec/mocks/extensions/object.rb
+${GEM_LIBDIR}/lib/spec/mocks/framework.rb
 ${GEM_LIBDIR}/lib/spec/mocks/message_expectation.rb
 ${GEM_LIBDIR}/lib/spec/mocks/methods.rb
 ${GEM_LIBDIR}/lib/spec/mocks/mock.rb
@@ -153,6 +157,7 @@
 ${GEM_LIBDIR}/lib/spec/runner/formatter/failing_example_groups_formatter.rb
 ${GEM_LIBDIR}/lib/spec/runner/formatter/failing_examples_formatter.rb
 ${GEM_LIBDIR}/lib/spec/runner/formatter/html_formatter.rb
+${GEM_LIBDIR}/lib/spec/runner/formatter/nested_text_formatter.rb
 ${GEM_LIBDIR}/lib/spec/runner/formatter/profile_formatter.rb
 ${GEM_LIBDIR}/lib/spec/runner/formatter/progress_bar_formatter.rb
 ${GEM_LIBDIR}/lib/spec/runner/formatter/snippet_extractor.rb
@@ -191,15 +196,6 @@
 ${GEM_LIBDIR}/plugins/mock_frameworks/mocha.rb
 ${GEM_LIBDIR}/plugins/mock_frameworks/rr.rb
 ${GEM_LIBDIR}/plugins/mock_frameworks/rspec.rb
-${GEM_LIBDIR}/pre_commit/lib/pre_commit.rb
-${GEM_LIBDIR}/pre_commit/lib/pre_commit/core.rb
-${GEM_LIBDIR}/pre_commit/lib/pre_commit/pre_commit.rb
-${GEM_LIBDIR}/pre_commit/lib/pre_commit/rspec.rb
-${GEM_LIBDIR}/pre_commit/lib/pre_commit/rspec_on_rails.rb
-${GEM_LIBDIR}/pre_commit/spec/pre_commit/pre_commit_spec.rb
-${GEM_LIBDIR}/pre_commit/spec/pre_commit/rspec_on_rails_spec.rb
-${GEM_LIBDIR}/pre_commit/spec/spec_helper.rb
-${GEM_LIBDIR}/pre_commit/spec/spec_suite.rb
 ${GEM_LIBDIR}/rake_tasks/examples.rake
 ${GEM_LIBDIR}/rake_tasks/examples_with_rcov.rake
 ${GEM_LIBDIR}/rake_tasks/failing_examples_with_html.rake
@@ -213,6 +209,8 @@
 ${GEM_LIBDIR}/spec/ruby_forker.rb
 ${GEM_LIBDIR}/spec/spec.opts
 ${GEM_LIBDIR}/spec/spec/example/configuration_spec.rb
+${GEM_LIBDIR}/spec/spec/example/example_group/described_module_spec.rb
+${GEM_LIBDIR}/spec/spec/example/example_group/warning_messages_spec.rb
 ${GEM_LIBDIR}/spec/spec/example/example_group_class_definition_spec.rb
 ${GEM_LIBDIR}/spec/spec/example/example_group_factory_spec.rb
 ${GEM_LIBDIR}/spec/spec/example/example_group_methods_spec.rb
@@ -266,14 +264,15 @@
 ${GEM_LIBDIR}/spec/spec/mocks/at_least_spec.rb
 ${GEM_LIBDIR}/spec/spec/mocks/at_most_spec.rb
 ${GEM_LIBDIR}/spec/spec/mocks/bug_report_10260_spec.rb
-${GEM_LIBDIR}/spec/spec/mocks/bug_report_10263.rb
 ${GEM_LIBDIR}/spec/spec/mocks/bug_report_11545_spec.rb
+${GEM_LIBDIR}/spec/spec/mocks/bug_report_10263_spec.rb
 ${GEM_LIBDIR}/spec/spec/mocks/bug_report_15719_spec.rb
 ${GEM_LIBDIR}/spec/spec/mocks/bug_report_7611_spec.rb
 ${GEM_LIBDIR}/spec/spec/mocks/bug_report_7805_spec.rb
 ${GEM_LIBDIR}/spec/spec/mocks/bug_report_8165_spec.rb
 ${GEM_LIBDIR}/spec/spec/mocks/bug_report_8302_spec.rb
 ${GEM_LIBDIR}/spec/spec/mocks/failing_mock_argument_constraints_spec.rb
+${GEM_LIBDIR}/spec/spec/mocks/hash_including_matcher_spec.rb
 ${GEM_LIBDIR}/spec/spec/mocks/mock_ordering_spec.rb
 ${GEM_LIBDIR}/spec/spec/mocks/mock_space_spec.rb
 ${GEM_LIBDIR}/spec/spec/mocks/mock_spec.rb
@@ -304,6 +303,7 @@
 ${GEM_LIBDIR}/spec/spec/runner/formatter/html_formatted-1.8.6-jruby.html
 ${GEM_LIBDIR}/spec/spec/runner/formatter/html_formatted-1.8.6.html
 ${GEM_LIBDIR}/spec/spec/runner/formatter/html_formatter_spec.rb
+${GEM_LIBDIR}/spec/spec/runner/formatter/nested_text_formatter_spec.rb
 ${GEM_LIBDIR}/spec/spec/runner/formatter/profile_formatter_spec.rb
 ${GEM_LIBDIR}/spec/spec/runner/formatter/progress_bar_formatter_spec.rb
 ${GEM_LIBDIR}/spec/spec/runner/formatter/snippet_extractor_spec.rb
@@ -327,6 +327,7 @@
 ${GEM_LIBDIR}/spec/spec/runner/resources/a_foo.rb
 ${GEM_LIBDIR}/spec/spec/runner/resources/a_spec.rb
 ${GEM_LIBDIR}/spec/spec/runner/spec.opts
+${GEM_LIBDIR}/spec/spec/runner/spec_drb.opts
 ${GEM_LIBDIR}/spec/spec/runner/spec_parser/spec_parser_fixture.rb
 ${GEM_LIBDIR}/spec/spec/runner/spec_parser_spec.rb
 ${GEM_LIBDIR}/spec/spec/runner/spec_spaced.opts
@@ -362,12 +363,15 @@
 ${GEM_LIBDIR}/stories/interop/examples_and_tests_together
 ${GEM_LIBDIR}/stories/interop/stories.rb
 ${GEM_LIBDIR}/stories/interop/test_case_with_should_methods
+${GEM_LIBDIR}/stories/mock_framework_integration/stories.rb
+${GEM_LIBDIR}/stories/mock_framework_integration/use_flexmock.story
 ${GEM_LIBDIR}/stories/pending_stories/README
 ${GEM_LIBDIR}/stories/resources/helpers/cmdline.rb
 ${GEM_LIBDIR}/stories/resources/helpers/story_helper.rb
 ${GEM_LIBDIR}/stories/resources/matchers/smart_match.rb
 ${GEM_LIBDIR}/stories/resources/spec/example_group_with_should_methods.rb
 ${GEM_LIBDIR}/stories/resources/spec/simple_spec.rb
+${GEM_LIBDIR}/stories/resources/spec/spec_with_flexmock.rb
 ${GEM_LIBDIR}/stories/resources/steps/running_rspec.rb
 ${GEM_LIBDIR}/stories/resources/stories/failing_story.rb
 ${GEM_LIBDIR}/stories/resources/test/spec_and_test_together.rb
@@ -381,6 +385,7 @@
 @dirrm ${GEM_LIBDIR}/stories/resources/helpers
 @dirrm ${GEM_LIBDIR}/stories/resources
 @dirrm ${GEM_LIBDIR}/stories/pending_stories
+@dirrm ${GEM_LIBDIR}/stories/mock_framework_integration
 @dirrm ${GEM_LIBDIR}/stories/interop
 @dirrm ${GEM_LIBDIR}/stories/example_groups
 @dirrm ${GEM_LIBDIR}/stories
@@ -403,16 +408,12 @@
 @dirrm ${GEM_LIBDIR}/spec/spec/expectations/extensions
 @dirrm ${GEM_LIBDIR}/spec/spec/expectations/differs
 @dirrm ${GEM_LIBDIR}/spec/spec/expectations
+@dirrm ${GEM_LIBDIR}/spec/spec/example/example_group
 @dirrm ${GEM_LIBDIR}/spec/spec/example
 @dirrm ${GEM_LIBDIR}/spec/spec
 @dirrm ${GEM_LIBDIR}/spec/autotest
 @dirrm ${GEM_LIBDIR}/spec
 @dirrm ${GEM_LIBDIR}/rake_tasks
-@dirrm ${GEM_LIBDIR}/pre_commit/spec/pre_commit
-@dirrm ${GEM_LIBDIR}/pre_commit/spec
-@dirrm ${GEM_LIBDIR}/pre_commit/lib/pre_commit
-@dirrm ${GEM_LIBDIR}/pre_commit/lib
-@dirrm ${GEM_LIBDIR}/pre_commit
 @dirrm ${GEM_LIBDIR}/plugins/mock_frameworks
 @dirrm ${GEM_LIBDIR}/plugins
 @dirrm ${GEM_LIBDIR}/lib/spec/story/runner
diff -r c76a4f8db6b9 -r f2586ab2b6ad devel/ruby-rspec/distinfo
--- a/devel/ruby-rspec/distinfo Sun Jun 22 16:05:39 2008 +0000
+++ b/devel/ruby-rspec/distinfo Sun Jun 22 16:05:53 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:18:33 jlam Exp $
+$NetBSD: distinfo,v 1.2 2008/06/22 16:05:53 taca Exp $
 
-SHA1 (rspec-1.1.3.gem) = 58bfc082b9593d4eba43365674b6c569a689ee01
-RMD160 (rspec-1.1.3.gem) = df408b2e5fbcc814a7846f982c10bfdd5fa4afea
-Size (rspec-1.1.3.gem) = 186882 bytes
+SHA1 (rspec-1.1.4.gem) = a8ccdbd3c39b433ef5b08a6728ab651d277c529f
+RMD160 (rspec-1.1.4.gem) = 7feae72f89dccb38ab8aebd19eb8e40e110897f9
+Size (rspec-1.1.4.gem) = 189954 bytes



Home | Main Index | Thread Index | Old Index