rspec-bdd 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -20
- data/.travis.yml +8 -0
- data/CHANGELOG.txt +5 -0
- data/README.md +1 -1
- data/lib/rspec/bdd.rb +3 -3
- data/rspec-bdd.gemspec +3 -4
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3a3b5148585671df58f62eb940162a2a7267fdc
|
4
|
+
data.tar.gz: 30eaa77f72cddf5cefd3149f2a7d85d7c36a4822
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 850ee6a0830dee0d31d18f7bfbc8133217128411f2fe28ba268930281bea97172b8924f9e1b70d4ab3caff3030cdab9a47050278481a898081c37a09e3c4ea49
|
7
|
+
data.tar.gz: f95bb3f5439e908e73781dd77a17a9c68a2ff23ebae3031f619e37178fa237eec37c0bf4ebee8c7d5c216e7db628878e6e7fd04040dd56a749d1f13dc94375f3
|
data/.gitignore
CHANGED
@@ -1,22 +1,4 @@
|
|
1
|
-
*.
|
2
|
-
|
3
|
-
.bundle
|
4
|
-
.config
|
5
|
-
.yardoc
|
1
|
+
*.swp
|
2
|
+
.DS_Store
|
6
3
|
Gemfile.lock
|
7
|
-
InstalledFiles
|
8
|
-
_yardoc
|
9
|
-
coverage
|
10
|
-
doc/
|
11
|
-
lib/bundler/man
|
12
4
|
pkg
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
18
|
-
*.bundle
|
19
|
-
*.so
|
20
|
-
*.o
|
21
|
-
*.a
|
22
|
-
mkmf.log
|
data/.travis.yml
ADDED
data/CHANGELOG.txt
ADDED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# RSpec BDD
|
1
|
+
# RSpec BDD [![Gem Version](https://badge.fury.io/rb/rspec-bdd.svg)](http://badge.fury.io/rb/rspec-bdd) [![Dependency Status](https://gemnasium.com/IvanUkhov/rspec-bdd.svg)](https://gemnasium.com/IvanUkhov/rspec-bdd) [![Build Status](https://travis-ci.org/IvanUkhov/rspec-bdd.svg?branch=master)](https://travis-ci.org/IvanUkhov/rspec-bdd)
|
2
2
|
|
3
3
|
The library extends the DSL of [RSpec](https://github.com/rspec/rspec)
|
4
4
|
with the following methods:
|
data/lib/rspec/bdd.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module RSpec
|
2
2
|
module BDD
|
3
3
|
def self.included(base)
|
4
|
-
base.shared_context 'Behavior-driven development', bdd
|
4
|
+
base.shared_context 'Behavior-driven development', :bdd => true do
|
5
5
|
instance_eval do
|
6
6
|
alias background before
|
7
7
|
alias given let
|
@@ -11,10 +11,10 @@ module RSpec
|
|
11
11
|
end
|
12
12
|
|
13
13
|
base.configure do |config|
|
14
|
-
config.alias_example_group_to :feature, bdd
|
14
|
+
config.alias_example_group_to :feature, :bdd => true
|
15
15
|
config.alias_example_to :scenario
|
16
16
|
config.alias_example_to :xscenario,
|
17
|
-
skip
|
17
|
+
:skip => 'Temporarily skipped with xscenario'
|
18
18
|
config.alias_it_behaves_like_to :include_scenarios
|
19
19
|
end
|
20
20
|
end
|
data/rspec-bdd.gemspec
CHANGED
@@ -1,9 +1,6 @@
|
|
1
|
-
lib = File.expand_path('../lib', __FILE__)
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
|
4
1
|
Gem::Specification.new do |spec|
|
5
2
|
spec.name = 'rspec-bdd'
|
6
|
-
spec.version = '0.0.
|
3
|
+
spec.version = '0.0.2'
|
7
4
|
spec.authors = [ 'Ivan Ukhov' ]
|
8
5
|
spec.email = [ 'ivan.ukhov@gmail.com' ]
|
9
6
|
spec.summary = 'Behavior-driven vocabulary for RSpec'
|
@@ -17,6 +14,8 @@ Gem::Specification.new do |spec|
|
|
17
14
|
spec.test_files = spec.files.grep(%r{^spec/})
|
18
15
|
spec.require_paths = [ 'lib' ]
|
19
16
|
|
17
|
+
spec.required_ruby_version = '>= 1.8.7'
|
18
|
+
|
20
19
|
spec.add_dependency 'rspec', '~> 3.0'
|
21
20
|
|
22
21
|
spec.add_development_dependency 'bundler', '~> 1.6'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-bdd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Ukhov
|
@@ -62,6 +62,8 @@ extra_rdoc_files: []
|
|
62
62
|
files:
|
63
63
|
- ".gitignore"
|
64
64
|
- ".rspec"
|
65
|
+
- ".travis.yml"
|
66
|
+
- CHANGELOG.txt
|
65
67
|
- Gemfile
|
66
68
|
- LICENSE.txt
|
67
69
|
- README.md
|
@@ -83,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
85
|
requirements:
|
84
86
|
- - ">="
|
85
87
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
88
|
+
version: 1.8.7
|
87
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
90
|
requirements:
|
89
91
|
- - ">="
|