pictureframe 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/pictureframe.rb +6 -1
- data/lib/pictureframe/version.rb +1 -1
- data/pictureframe-0.0.15.gem +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b207c07e1cdc1183efa13ad68abf481462919c04
|
4
|
+
data.tar.gz: 6a5e365ed6b6ecb2802e9d838f85e172f295e362
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4697ddaf92e6c26b694aee7f26e3e6261b311fed48bf43861b2968138a606f9c2f0ff03fa93d6fc8dbfd01789ba15d02fdf7fa731e1ceaa4c54293fce41be3c
|
7
|
+
data.tar.gz: 349776e0a9ab34b7fba6e5343b2aa5e15d28dc7cd1dbd9294c88f2ae1f63783109610f3faf75edd4d150a6d423be22c3b97cc3abe8e086c110a192f03dcde211
|
data/README.md
CHANGED
data/lib/pictureframe.rb
CHANGED
@@ -2,7 +2,12 @@ require "pictureframe/version"
|
|
2
2
|
|
3
3
|
module Pictureframe
|
4
4
|
def self.frame(text, width = nil)
|
5
|
-
|
5
|
+
if text.nil?
|
6
|
+
return []
|
7
|
+
else
|
8
|
+
text = text.to_s
|
9
|
+
end
|
10
|
+
|
6
11
|
inputLocation = 3
|
7
12
|
output = []
|
8
13
|
lefts = [".___", "| ._", "| | ", "| ._", "|___"]
|
data/lib/pictureframe/version.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pictureframe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cody Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -61,6 +61,7 @@ files:
|
|
61
61
|
- pictureframe-0.0.12.gem
|
62
62
|
- pictureframe-0.0.13.gem
|
63
63
|
- pictureframe-0.0.14.gem
|
64
|
+
- pictureframe-0.0.15.gem
|
64
65
|
- pictureframe-0.0.8.gem
|
65
66
|
- pictureframe-0.0.9.gem
|
66
67
|
- pictureframe.gemspec
|