vidibus-core_extensions 0.3.9 → 0.3.11
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.3.
|
1
|
+
0.3.11
|
@@ -14,5 +14,10 @@ describe "Vidibus::CoreExtensions::Object" do
|
|
14
14
|
it "should return nil when calling undefined method" do
|
15
15
|
dog.try!(:food).should be_nil
|
16
16
|
end
|
17
|
+
|
18
|
+
it "should re-raise exceptions" do
|
19
|
+
stub(dog).bark { raise("wuff") }
|
20
|
+
expect {dog.try!(:bark)}.to raise_exception("wuff")
|
21
|
+
end
|
17
22
|
end
|
18
23
|
end
|
@@ -96,6 +96,10 @@ describe "Vidibus::CoreExtensions::String" do
|
|
96
96
|
it "should trim white space" do
|
97
97
|
"O Brother, Where Art Thou?".snip(11).should eql("O Brother,…")
|
98
98
|
end
|
99
|
+
|
100
|
+
it "should handle content with backets" do
|
101
|
+
"O Brother (Or Sister), Where Art Thou?".snip(20).should eql("O Brother (Or Sister…")
|
102
|
+
end
|
99
103
|
end
|
100
104
|
|
101
105
|
describe "strip_tags" do
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{vidibus-core_extensions}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.11"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Andre Pankratz"]
|
12
|
-
s.date = %q{2010-10-
|
12
|
+
s.date = %q{2010-10-29}
|
13
13
|
s.description = %q{Provides some extensions to the ruby core.}
|
14
14
|
s.email = %q{andre@vidibus.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vidibus-core_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 11
|
10
|
+
version: 0.3.11
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andre Pankratz
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-29 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|