riot 0.10.7 → 0.10.8

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.7
1
+ 0.10.8
data/lib/riot.rb CHANGED
@@ -40,7 +40,7 @@ module Riot
40
40
  end # Riot
41
41
 
42
42
  class Object
43
- def context(description, &definition)
44
- Riot.context(description, &definition)
43
+ def context(description, context_class = Riot::Context, &definition)
44
+ Riot.context(description, context_class, &definition)
45
45
  end
46
46
  end
data/riot.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{riot}
8
- s.version = "0.10.7"
8
+ s.version = "0.10.8"
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.7
4
+ version: 0.10.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin 'Gus' Knowlden