[DRE-commits] [ruby-docile] 02/17: Imported Upstream version 2.5.0
Christian Hofstaedtler
zeha at moszumanska.debian.org
Sat Dec 28 12:17:40 UTC 2013
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to annotated tag debian/2.10.0-2
in repository ruby-docile.
commit f9ef30061c55982eb40b75518fe02afb7d2b2442
Author: Lucas Nussbaum <lucas at lucas-nussbaum.net>
Date: Tue Apr 26 13:23:09 2011 +0200
Imported Upstream version 2.5.0
---
.document | 2 +
.gitignore | 7 +++
Gemfile | 7 +++
License.txt | 22 +++++++++
README.markdown | 47 ++++++++++++++++++++
Rakefile | 16 +++++++
lib/rspec.rb | 4 ++
lib/rspec/version.rb | 5 +++
metadata.yml | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++
rspec.gemspec | 29 ++++++++++++
10 files changed, 262 insertions(+)
diff --git a/.document b/.document
new file mode 100644
index 0000000..197d26e
--- /dev/null
+++ b/.document
@@ -0,0 +1,2 @@
+README.markdown
+License.txt
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0644a68
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+*.sw?
+.DS_Store
+coverage
+doc
+pkg
+Gemfile.lock
+.bundle
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..590a6cc
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,7 @@
+source :rubygems
+
+gem "rake"
+
+%w[rspec-core rspec-expectations rspec-mocks].each do |lib|
+ gem lib, :path => File.expand_path("../../#{lib}", __FILE__)
+end
diff --git a/License.txt b/License.txt
new file mode 100644
index 0000000..722cd08
--- /dev/null
+++ b/License.txt
@@ -0,0 +1,22 @@
+(The MIT License)
+
+Copyright (c) 2009, 2010 David Chelimsky, Chad Humphries
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.markdown b/README.markdown
new file mode 100644
index 0000000..627ed73
--- /dev/null
+++ b/README.markdown
@@ -0,0 +1,47 @@
+# RSpec-2
+
+Behaviour Driven Development for Ruby
+
+# Description
+
+rspec-2.x is a meta-gem, which depends on the rspec-core, rspec-expectations
+and rspec-mocks gems. Each of these can be installed separately and actived in
+isolation with the `gem` command. Among other benefits, this allows you to use
+rspec-expectations, for example, in Test::Unit::TestCase if you happen to
+prefer that style.
+
+Conversely, if you like RSpec's approach to declaring example groups and
+examples (`describe` and `it`) but prefer Test::Unit assertions and mocha, rr
+or flexmock for mocking, you'll be able to do that without having to load the
+components of rspec that you're not using.
+
+## Documentation
+
+### rspec-core
+
+* [Cucumber features](http://relishapp.com/rspec/rspec-core)
+* [RDoc](http://rubydoc.info/gems/rspec-core/2.4.0/frames)
+
+### rspec-expectations
+
+* [Cucumber features](http://relishapp.com/rspec/rspec-expectations)
+* [RDoc](http://rubydoc.info/gems/rspec-expectations/2.4.0/frames)
+
+### rspec-mocks
+
+* [Cucumber features](http://relishapp.com/rspec/rspec-mocks)
+* [RDoc](http://rubydoc.info/gems/rspec-mocks/2.4.0/frames)
+
+## Install
+
+ gem install rspec
+
+## Contribute
+
+* [http://github.com/rspec/rspec-dev](http://github.com/rspec/rspec-dev)
+
+## Also see
+
+* [http://github.com/rspec/rspec-core](http://github.com/rspec/rspec-core)
+* [http://github.com/rspec/rspec-expectations](http://github.com/rspec/rspec-expectations)
+* [http://github.com/rspec/rspec-mocks](http://github.com/rspec/rspec-mocks)
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000..2b52127
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,16 @@
+require "bundler"
+Bundler.setup
+Bundler::GemHelper.install_tasks
+
+require 'rake'
+require 'fileutils'
+require 'pathname'
+
+task :clobber do
+ rm_rf 'pkg'
+end
+
+task :default do
+ puts "Nothing to do for the default task"
+end
+
diff --git a/lib/rspec.rb b/lib/rspec.rb
new file mode 100644
index 0000000..bdb2622
--- /dev/null
+++ b/lib/rspec.rb
@@ -0,0 +1,4 @@
+require 'rspec/core'
+require 'rspec/expectations'
+require 'rspec/mocks'
+require 'rspec/version'
diff --git a/lib/rspec/version.rb b/lib/rspec/version.rb
new file mode 100644
index 0000000..2524264
--- /dev/null
+++ b/lib/rspec/version.rb
@@ -0,0 +1,5 @@
+module RSpec # :nodoc:
+ module Version # :nodoc:
+ STRING = '2.5.0'
+ end
+end
diff --git a/metadata.yml b/metadata.yml
new file mode 100644
index 0000000..cba32bf
--- /dev/null
+++ b/metadata.yml
@@ -0,0 +1,123 @@
+--- !ruby/object:Gem::Specification
+name: rspec
+version: !ruby/object:Gem::Version
+ hash: 27
+ prerelease: false
+ segments:
+ - 2
+ - 5
+ - 0
+ version: 2.5.0
+platform: ruby
+authors:
+- David Chelimsky
+- Chad Humphries
+autorequire:
+bindir: bin
+cert_chain: []
+
+date: 2011-02-05 00:00:00 -06:00
+default_executable:
+dependencies:
+- !ruby/object:Gem::Dependency
+ requirement: &id001 !ruby/object:Gem::Requirement
+ none: false
+ requirements:
+ - - ~>
+ - !ruby/object:Gem::Version
+ hash: 27
+ segments:
+ - 2
+ - 5
+ - 0
+ version: 2.5.0
+ type: :runtime
+ name: rspec-core
+ prerelease: false
+ version_requirements: *id001
+- !ruby/object:Gem::Dependency
+ requirement: &id002 !ruby/object:Gem::Requirement
+ none: false
+ requirements:
+ - - ~>
+ - !ruby/object:Gem::Version
+ hash: 27
+ segments:
+ - 2
+ - 5
+ - 0
+ version: 2.5.0
+ type: :runtime
+ name: rspec-expectations
+ prerelease: false
+ version_requirements: *id002
+- !ruby/object:Gem::Dependency
+ requirement: &id003 !ruby/object:Gem::Requirement
+ none: false
+ requirements:
+ - - ~>
+ - !ruby/object:Gem::Version
+ hash: 27
+ segments:
+ - 2
+ - 5
+ - 0
+ version: 2.5.0
+ type: :runtime
+ name: rspec-mocks
+ prerelease: false
+ version_requirements: *id003
+description: Meta-gem that depends on the other rspec gems
+email: dchelimsky at gmail.com;chad.humphries at gmail.com
+executables: []
+
+extensions: []
+
+extra_rdoc_files:
+- README.markdown
+files:
+- .document
+- .gitignore
+- Gemfile
+- License.txt
+- README.markdown
+- Rakefile
+- lib/rspec.rb
+- lib/rspec/version.rb
+- rspec.gemspec
+has_rdoc: true
+homepage: http://github.com/rspec/rspec
+licenses: []
+
+post_install_message:
+rdoc_options:
+- --charset=UTF-8
+require_paths:
+- lib
+required_ruby_version: !ruby/object:Gem::Requirement
+ none: false
+ requirements:
+ - - ">="
+ - !ruby/object:Gem::Version
+ hash: 3
+ segments:
+ - 0
+ version: "0"
+required_rubygems_version: !ruby/object:Gem::Requirement
+ none: false
+ requirements:
+ - - ">="
+ - !ruby/object:Gem::Version
+ hash: 3
+ segments:
+ - 0
+ version: "0"
+requirements: []
+
+rubyforge_project: rspec
+rubygems_version: 1.3.7
+signing_key:
+specification_version: 3
+summary: rspec-2.5.0
+test_files: []
+
diff --git a/rspec.gemspec b/rspec.gemspec
new file mode 100644
index 0000000..5e918ae
--- /dev/null
+++ b/rspec.gemspec
@@ -0,0 +1,29 @@
+# -*- encoding: utf-8 -*-
+
+$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
+require "rspec/version"
+
+Gem::Specification.new do |s|
+ s.name = "rspec"
+ s.version = RSpec::Version::STRING
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["David Chelimsky", "Chad Humphries"]
+ s.email = "dchelimsky at gmail.com;chad.humphries at gmail.com"
+ s.homepage = "http://github.com/rspec/rspec"
+ s.summary = "rspec-#{RSpec::Version::STRING}"
+ s.description = "Meta-gem that depends on the other rspec gems"
+
+ s.rubygems_version = "1.3.7"
+ s.rubyforge_project = "rspec"
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.extra_rdoc_files = [ "README.markdown" ]
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_path = "lib"
+
+ %w[core expectations mocks].each do |name|
+ s.add_runtime_dependency "rspec-#{name}", "~> #{RSpec::Version::STRING.split('.')[0..1].concat(['0']).join('.')}"
+ end
+end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-docile.git
More information about the Pkg-ruby-extras-commits
mailing list