riot 0.10.6 → 0.10.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/riot.rb +2 -2
  3. data/riot.gemspec +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.6
1
+ 0.10.7
@@ -6,8 +6,8 @@ require 'riot/assertion'
6
6
  require 'riot/assertion_macros'
7
7
 
8
8
  module Riot
9
- def self.context(description, &definition)
10
- root_contexts << Context.new(description, &definition)
9
+ def self.context(description, context_class = Context, &definition)
10
+ root_contexts << context_class.new(description, &definition)
11
11
  end
12
12
 
13
13
  def self.root_contexts; @root_contexts ||= []; end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{riot}
8
- s.version = "0.10.6"
8
+ s.version = "0.10.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin 'Gus' Knowlden"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.6
4
+ version: 0.10.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin 'Gus' Knowlden