dynamic_ruby 1.1.0 → 1.1.1

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.
Files changed (2) hide show
  1. data/spec/dynamic_ruby_spec.rb +3 -3
  2. metadata +1 -1
@@ -45,12 +45,12 @@ describe "dynamic scope" do
45
45
 
46
46
  it "should clear setting within an exception" do
47
47
  result = nil
48
- exfun = lambda { raise "do not set", dynamic[:name] }
49
- proc do
48
+ begin
50
49
  dynamic name: "john" do
51
50
  exfun.call
52
51
  end
53
- end.must_raise(TypeError)
52
+ rescue
53
+ end
54
54
  result = dynamic[:name]
55
55
  result.must_be_nil
56
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: