le_meme 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/meme +3 -2
  3. data/lib/le_meme/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c75ec86bd6fc6971e9419eaa4e67096ea030b85
4
- data.tar.gz: d89c47ecca41e0f13e0892e63070b67fc7926c7c
3
+ metadata.gz: 7bcc7f74f26c2187c45681071a58826936f99eb0
4
+ data.tar.gz: dccfc1dfe06b788abe1aee13ed938b44aff09677
5
5
  SHA512:
6
- metadata.gz: 278ee5a043199147eb3e9e6548a4b7a78de6f533a8bc203985285a4e35de96f1a8fe11aeccd64ff634ca7f32a561960883338b11088b547da2c3c97c0c74b510
7
- data.tar.gz: 0b247534448b7f14f960b62c52e7a8c31774428aa83c70ba1d5b6398bcc90d8da5178d69a995224291844cfc346ec5b9995a43bd20e0bb2a4173dacb31c7123e
6
+ metadata.gz: 17335ec81d74e308ce8ae8f7cbd016361194509576c039bf04f309f3074a0d9b5ef01e6ec0e06e20949ae08e320785df0658c4c872e6d3282e5a55a1b44c0744
7
+ data.tar.gz: dbcc9831a22cbab608f00282453ff10f0a83222a97a4bd26c7a5496a7297ab3fe1394586c3e86e4debd7cef8f3506fbe750355415d7cc8f1b57f59ae782b5243
data/bin/meme CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby
1
+ #!/Usr/bin/env ruby
2
2
 
3
3
  require 'le_meme'
4
4
  require 'slop'
@@ -38,6 +38,7 @@ bottom = opts[:bottom] || ARGV[1]
38
38
  if opts[:path]
39
39
  $stdout.puts memegen.meme(path: opts[:path], top: top, bottom: bottom, watermark: opts[:watermark], outpath: opts[:outpath])
40
40
  else
41
- $stdout.puts memegen.fast_meme(name: opts[:meme], top: top, bottom: bottom, watermark: opts[:watermark], outpath: opts[:outpath])
41
+ name = opts[:meme] || ''
42
+ $stdout.puts memegen.fast_meme(name: name.strip, top: top, bottom: bottom, watermark: opts[:watermark], outpath: opts[:outpath])
42
43
  end
43
44
  exit
@@ -1,3 +1,3 @@
1
1
  class LeMeme
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: le_meme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Sandberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler