sugarcube 2.1.2 → 2.1.3
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.
- checksums.yaml +4 -4
- data/lib/cocoa/sugarcube-anonymous/anonymous.rb +5 -0
- data/lib/version.rb +1 -1
- data/spec/all/anonymous_spec.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 915a92f55d18a9c2a6acab1c6c4ecbef8ceb8390
|
4
|
+
data.tar.gz: b28149dbd9f0bf992b692fd7b885c1a16abc1be6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3766280ee7d78e36c7a471a5e1e16df4fde15ce0f3991bd4e4a86f3379c57035b8ef6da93a332de2681309616e22e777ab50452d9a7d04309d152c2c08ee5bcf
|
7
|
+
data.tar.gz: 100531aff05c2bb4a7c094a5821c51b152f8ef329398eac1223a215c290996c30a6f83c15107d7fea2adb62a76cbf77a34661e39750a63f6ea295d9487386647
|
data/lib/version.rb
CHANGED
data/spec/all/anonymous_spec.rb
CHANGED
@@ -46,6 +46,18 @@ describe "SugarCube::Anonymous" do
|
|
46
46
|
|
47
47
|
end
|
48
48
|
|
49
|
+
describe "respond_to?" do
|
50
|
+
|
51
|
+
it 'should respond with true if key exists' do
|
52
|
+
@h.respond_to?(:foo).should == true
|
53
|
+
end
|
54
|
+
|
55
|
+
it 'should respond with false if key does not exist' do
|
56
|
+
@h.respond_to?(:not_foo).should == false
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
49
61
|
describe "setter" do
|
50
62
|
|
51
63
|
it 'should have an #foo= method, and return "Foo"' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sugarcube
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Colin T.A. Gray
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-09-
|
14
|
+
date: 2014-09-09 00:00:00.000000000 Z
|
15
15
|
dependencies: []
|
16
16
|
description: |
|
17
17
|
== Description
|