Add ruby-capybara-1.1.2

Capybara helps you test Rails and Rack applications by simulating how a
real user would interact with your app. It is agnostic about the driver
running your tests and comes with Rack::Test and Selenium support built
in. WebKit is supported through an external gem.

OK sthen@
This commit is contained in:
jeremy 2012-12-20 16:21:24 +00:00
parent 0d9aa19cc0
commit 0bde4ba6ee
5 changed files with 175 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/12/20 16:21:24 jeremy Exp $
COMMENT = integration testing tool for rack based web applications
DISTNAME = capybara-1.1.2
CATEGORIES = www
HOMEPAGE= https://github.com/jnicklas/capybara
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = mail/ruby-mime-types,${MODRUBY_FLAVOR}>=1.16 \
textproc/ruby-nokogiri,${MODRUBY_FLAVOR}>=1.3.3 \
www/ruby-rack,${MODRUBY_FLAVOR}>=1.0.0 \
www/ruby-rack-test,${MODRUBY_FLAVOR}>=0.5.4 \
www/ruby-xpath,${MODRUBY_FLAVOR}>=0.1.4,<2.0
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (capybara-1.1.2.gem) = Yiq99rQ4MELgFoq9wXqeavBEdxd/mnHjye/DyinBAmw=
SIZE (capybara-1.1.2.gem) = 72192

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-_metadata,v 1.1.1.1 2012/12/20 16:21:24 jeremy Exp $
Remove the selenium-webdriver dependency, since it is really an
optional dependency and selenium-webdriver hasn't been ported
yet.
--- .metadata.orig Mon Jan 30 11:50:54 2012
+++ .metadata Mon Jan 30 11:51:21 2012
@@ -41,7 +41,7 @@ dependencies:
- - ~>
- !ruby/object:Gem::Version
version: '2.0'
- type: :runtime
+ type: :development
prerelease: false
version_requirements: *2152397660
- !ruby/object:Gem::Dependency

View File

@ -0,0 +1,4 @@
Capybara helps you test Rails and Rack applications by simulating how a
real user would interact with your app. It is agnostic about the driver
running your tests and comes with Rack::Test and Selenium support built
in. WebKit is supported through an external gem.

126
www/ruby-capybara/pkg/PLIST Normal file
View File

@ -0,0 +1,126 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/12/20 16:21:24 jeremy Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/History.txt
${GEM_LIB}/gems/${DISTNAME}/README.rdoc
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/cucumber.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/driver/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/driver/base.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/driver/node.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/dsl.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/node/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/node/actions.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/node/base.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/node/document.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/node/element.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/node/finders.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/node/matchers.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/node/simple.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rack_test/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rack_test/browser.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rack_test/driver.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rack_test/form.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rack_test/node.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rails.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rspec/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rspec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rspec/features.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/rspec/matchers.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selector.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selenium/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selenium/driver.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/selenium/node.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/server.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/session.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/driver.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/fixtures/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/fixtures/capybara.jpg
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/fixtures/test_file.txt
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/public/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/public/test.js
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/all_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/attach_file_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/check_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/choose_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/click_button_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/click_link_or_button_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/click_link_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/current_host_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/current_url_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/fill_in_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/find_button_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/find_by_id_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/find_field_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/find_link_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/find_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/first_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_button_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_content_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_css_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_field_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_link_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_select_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_selector_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_table_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/has_xpath_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/headers.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/javascript.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/response_code.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/select_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/text_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/uncheck_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/unselect_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/session/within_spec.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/test_app.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/buttons.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/fieldsets.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/form.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/frame_one.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/frame_two.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/header_links.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/host_links.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/popup_one.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/popup_two.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/postback.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/tables.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_html.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_html_entities.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_js.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_scope.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/with_simple_html.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/within_frames.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/spec/views/within_popups.erb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/util/
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/util/save_and_open_page.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/util/timeout.rb
${GEM_LIB}/gems/${DISTNAME}/lib/capybara/version.rb
${GEM_LIB}/gems/${DISTNAME}/spec/
${GEM_LIB}/gems/${DISTNAME}/spec/basic_node_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/capybara_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/driver/
${GEM_LIB}/gems/${DISTNAME}/spec/driver/rack_test_driver_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/driver/selenium_driver_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/dsl_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/
${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/selenium_driver_rspec_failure.rb
${GEM_LIB}/gems/${DISTNAME}/spec/fixtures/selenium_driver_rspec_success.rb
${GEM_LIB}/gems/${DISTNAME}/spec/rspec/
${GEM_LIB}/gems/${DISTNAME}/spec/rspec/features_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/rspec/matchers_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/rspec_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/save_and_open_page_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/server_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/session/
${GEM_LIB}/gems/${DISTNAME}/spec/session/rack_test_session_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/session/selenium_session_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/spec_helper.rb
${GEM_LIB}/gems/${DISTNAME}/spec/string_spec.rb
${GEM_LIB}/gems/${DISTNAME}/spec/timeout_spec.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec