unencumbered 0.0.5 → 0.0.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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
data/lib/unencumbered.rb CHANGED
@@ -1,5 +1,8 @@
1
1
  module Spec::DSL::Main
2
2
  alias :Feature :describe
3
+ def Story(description)
4
+ @description_args.push("\n#{description}\n")
5
+ end
3
6
  end
4
7
 
5
8
  module Spec::Example::ExampleGroupMethods
@@ -23,6 +26,10 @@ module Spec::Example::ExampleGroupMethods
23
26
  example("And #{description}", &blk)
24
27
  end
25
28
 
29
+ def But(description, &blk)
30
+ example("But #{description}", &blk)
31
+ end
32
+
26
33
  def executes(scope=:all, &blk)
27
34
  before(scope, &blk)
28
35
  end
data/unencumbered.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{unencumbered}
8
- s.version = "0.0.5"
8
+ s.version = "0.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Hashrocket"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unencumbered
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hashrocket