showcase 0.1.5 → 0.1.6
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/showcase/presenter.rb +1 -0
- data/lib/showcase/version.rb +1 -1
- data/spec/showcase_spec.rb +4 -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: e5957c56e03cde7b1dd14cf36b1dc35d970cf207
|
4
|
+
data.tar.gz: 4ce0737cf2e57c29f3c5a5b618c662c48597c73f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d073f3e53bc1117267e08a8e18ecc0ad7f69f5488583d1c8b8c479f5c6d700f8ab307e04bd7276ed5bf9225bbc1230708fa51574f78633ad784a73d77ccfcb66
|
7
|
+
data.tar.gz: a53b94115a6826d77656234eb136bf5a17bd7b7a7ac2fb87599f47c5eae07cd4637d7e73c796d0a5b523141bc689bffcf87a0e53007655471b95315753ffca48
|
data/lib/showcase/presenter.rb
CHANGED
data/lib/showcase/version.rb
CHANGED
data/spec/showcase_spec.rb
CHANGED
@@ -34,6 +34,10 @@ describe Showcase::Presenter do
|
|
34
34
|
subject.name.should == 'Presented Showcase'
|
35
35
|
end
|
36
36
|
|
37
|
+
it 'implements :try method the right way' do
|
38
|
+
subject.try(:name).should == 'Presented Showcase'
|
39
|
+
end
|
40
|
+
|
37
41
|
it 'allows .h as shortcut to access the context' do
|
38
42
|
subject.bold_name.should == '**Showcase**'
|
39
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: showcase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefano Verna
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|