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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 729a4ce81f7a0397819c1f4c0d536a88404b3bf4
4
- data.tar.gz: ff2e4d2514db9ac6d3387866ec61b0853c2733dc
3
+ metadata.gz: b207c07e1cdc1183efa13ad68abf481462919c04
4
+ data.tar.gz: 6a5e365ed6b6ecb2802e9d838f85e172f295e362
5
5
  SHA512:
6
- metadata.gz: 06035e173439ea8b0cdb77304e3e5cb2bbc58b2fca05ad2c6c144ff25189c89fa933b2b2223c28e0723ad411742f55ac9c6d94f6f8a3ce1ea1b123bc50548d4c
7
- data.tar.gz: 890a77efa6633f757a62a185de69974c00382d86253313c58eb33940c72c4d0a0d678d6578cdbed629a455b66a9f0efc0c12e077a1fa1b8627aeea4a75d069f7
6
+ metadata.gz: a4697ddaf92e6c26b694aee7f26e3e6261b311fed48bf43861b2968138a606f9c2f0ff03fa93d6fc8dbfd01789ba15d02fdf7fa731e1ceaa4c54293fce41be3c
7
+ data.tar.gz: 349776e0a9ab34b7fba6e5343b2aa5e15d28dc7cd1dbd9294c88f2ae1f63783109610f3faf75edd4d150a6d423be22c3b97cc3abe8e086c110a192f03dcde211
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Pictureframe
1
+ # Pictureframe [![Gem Version](https://badge.fury.io/rb/pictureframe.svg)](https://badge.fury.io/rb/pictureframe)
2
2
 
3
3
  This is a gem to help organize and finding your debug statements in your server
4
4
  logs.
@@ -2,7 +2,12 @@ require "pictureframe/version"
2
2
 
3
3
  module Pictureframe
4
4
  def self.frame(text, width = nil)
5
- text = text.to_s
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 = [".___", "| ._", "| | ", "| ._", "|___"]
@@ -1,3 +1,3 @@
1
1
  module Pictureframe
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
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.15
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-14 00:00:00.000000000 Z
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