cf 5.2.1.rc2 → 5.2.1.rc3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module CF
2
- VERSION = "5.2.1.rc2".freeze
2
+ VERSION = "5.2.1.rc3".freeze
3
3
  end
@@ -1,16 +1,10 @@
1
1
  require "spec_helper"
2
2
 
3
- describe "try" do
3
+ describe "#try" do
4
4
  it "calls through with arguments on non-nil objects" do
5
5
  "hi".try(:sub, 'i', 'o').should == "ho"
6
6
  end
7
7
 
8
- it "it throws a no method found error if the method does not exist" do
9
- expect {
10
- "hi".try(:fake_method)
11
- }.to raise_error(NoMethodError)
12
- end
13
-
14
8
  it "yields to a provided block" do
15
9
  hash = {key: "value"}
16
10
  retrieved_key = nil
@@ -27,4 +21,4 @@ describe "try" do
27
21
  it "returns nil for nil" do
28
22
  nil.try(:sub, 'i', 'o').should == nil
29
23
  end
30
- end
24
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cf
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.1.rc2
4
+ version: 5.2.1.rc3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -17,7 +17,7 @@ dependencies:
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
- - - ~>
20
+ - - ! '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: 3.2.13
23
23
  type: :runtime
@@ -25,7 +25,7 @@ dependencies:
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
28
- - - ~>
28
+ - - ! '>='
29
29
  - !ruby/object:Gem::Version
30
30
  version: 3.2.13
31
31
  - !ruby/object:Gem::Dependency
@@ -692,6 +692,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
692
692
  - - ! '>='
693
693
  - !ruby/object:Gem::Version
694
694
  version: '0'
695
+ segments:
696
+ - 0
697
+ hash: -1035576781016714598
695
698
  required_rubygems_version: !ruby/object:Gem::Requirement
696
699
  none: false
697
700
  requirements: