meem 1.0.1 → 1.1.1

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.
data/README.md CHANGED
@@ -10,7 +10,8 @@ Meem is a command-line tool to create memes. It's pretty awesome.
10
10
  $ meem good-guy-greg --top "makes memes" --bottom "uploads to imgur" | imgur
11
11
  http://i.imgur.com/VBCRwlb.jpg
12
12
 
13
- Meem comes with a bunch of templates, but you can add your own in `~/.meem`.
13
+ Meem comes with a bunch of templates, but you can add your own in `~/.meem`. If you don't want to save
14
+ it for later, you can even pass a path or URL.
14
15
 
15
16
  ### Installation
16
17
 
@@ -31,7 +31,7 @@ module Meem::Templates
31
31
  #
32
32
  # Returns a File.
33
33
  def self.load template
34
- if template[/^http:\/\//]
34
+ if template[/(^https?:\/\/)|(\/)/]
35
35
  return open template
36
36
  else
37
37
  find template
data/lib/meem/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Meem
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-29 00:00:00.000000000 Z
12
+ date: 2013-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: meme_captain
@@ -124,7 +124,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
124
  version: '0'
125
125
  segments:
126
126
  - 0
127
- hash: 254806095887049104
127
+ hash: 4031444530877834346
128
128
  required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  segments:
135
135
  - 0
136
- hash: 254806095887049104
136
+ hash: 4031444530877834346
137
137
  requirements: []
138
138
  rubyforge_project:
139
139
  rubygems_version: 1.8.23