meem 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e58413090bc5f1f3ff81d71354791df185b96edf
4
+ data.tar.gz: 8f0c49ab98e09315ae4390a79edd1ba434e42c0b
5
+ SHA512:
6
+ metadata.gz: d0f1402f53a988d2939c79430db1b5fe34a4ae23f997d477a0faaba8bba4ba697fd08f7519515fbd7ac69afaf645745df00b92783c528330e018008b9bb4c854
7
+ data.tar.gz: bb5c699dfdb66c2b543f3bd7a3785c87c76a9f892a03bdf014aab382dc8e54a0fd37dfbcf61c60f6760747dfcde1ea6952888f8249b5a5797d77260038bb5906
data/README.md CHANGED
@@ -2,22 +2,27 @@
2
2
 
3
3
  Meem is a command-line tool to create memes. It's pretty awesome.
4
4
 
5
- ### Usage
5
+ ## Usage
6
6
 
7
7
  $ meem good-guy-greg --top "makes memes" --bottom "saves to disk"
8
8
  /tmp/meme.jpg
9
9
 
10
- $ meem good-guy-greg --top "makes memes" --bottom "uploads to imgur" | imgur
10
+ $ meem good-guy-greg --top "makes memes" --bottom "uploads to imgur" | imgur2
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`. If you don't want to save
13
+ Meem ships with a bunch of templates, and you can add your own in `~/.meem`. If you don't want to save
14
14
  it for later, you can even pass a path or URL.
15
15
 
16
- ### Completion
16
+ ## Completion
17
17
 
18
18
  Meem comes with autocompletion for your favorite shell (as long as your favorite shell is zsh). To install it,
19
19
  copy `completion/meem.zsh` onto your `$FPATH`.
20
20
 
21
- ### Installation
21
+ ## Installation
22
22
 
23
23
  $ gem install meem
24
+
25
+ ## I love you
26
+
27
+ Johannes Gorset made this. You should [tweet me](https://twitter.com/jgorset) if you can't get it to
28
+ work. In fact, you should tweet me anyway.
@@ -12,8 +12,9 @@ module Meem::Templates
12
12
  # Returns an Array of Pathname instances.
13
13
  def self.list
14
14
  PATHS.map do |path|
15
+ next unless File.exists?(path)
15
16
  path.children.select { |child| child.extname == ".jpg" }
16
- end.flatten
17
+ end.compact.flatten
17
18
  end
18
19
 
19
20
  # Find a given template.
@@ -1,3 +1,3 @@
1
1
  module Meem
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,78 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
5
- prerelease:
4
+ version: 1.1.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Johannes Gorset
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-11-30 00:00:00.000000000 Z
11
+ date: 2014-06-06 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: meme_captain
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '1.3'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '1.3'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rspec
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  description: Meme generator
@@ -83,7 +74,7 @@ executables:
83
74
  extensions: []
84
75
  extra_rdoc_files: []
85
76
  files:
86
- - .gitignore
77
+ - ".gitignore"
87
78
  - Gemfile
88
79
  - LICENSE.txt
89
80
  - README.md
@@ -109,6 +100,7 @@ files:
109
100
  - templates/fuck-it.jpg
110
101
  - templates/good-guy-greg.jpg
111
102
  - templates/grumpy-cat.jpg
103
+ - templates/hold-all-these-limes.jpg
112
104
  - templates/its-a-trap.jpg
113
105
  - templates/j-ducreux.jpg
114
106
  - templates/jackie-chan.jpg
@@ -127,33 +119,26 @@ files:
127
119
  homepage: https://github.com/jgorset/meem
128
120
  licenses:
129
121
  - MIT
122
+ metadata: {}
130
123
  post_install_message:
131
124
  rdoc_options: []
132
125
  require_paths:
133
126
  - lib
134
127
  required_ruby_version: !ruby/object:Gem::Requirement
135
- none: false
136
128
  requirements:
137
- - - ! '>='
129
+ - - ">="
138
130
  - !ruby/object:Gem::Version
139
131
  version: '0'
140
- segments:
141
- - 0
142
- hash: 4159577309077964216
143
132
  required_rubygems_version: !ruby/object:Gem::Requirement
144
- none: false
145
133
  requirements:
146
- - - ! '>='
134
+ - - ">="
147
135
  - !ruby/object:Gem::Version
148
136
  version: '0'
149
- segments:
150
- - 0
151
- hash: 4159577309077964216
152
137
  requirements: []
153
138
  rubyforge_project:
154
- rubygems_version: 1.8.23
139
+ rubygems_version: 2.2.2
155
140
  signing_key:
156
- specification_version: 3
141
+ specification_version: 4
157
142
  summary: Meem is a command-line tool to create memes
158
143
  test_files:
159
144
  - spec/meem_spec.rb