lorempixum 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +61 -0
- data/lib/lorempixum/version.rb +1 -1
- metadata +2 -1
data/README.rdoc
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
=Lorempixum
|
2
|
+
|
3
|
+
This gem generates image urls for placeholder images.
|
4
|
+
|
5
|
+
http://github.com/neonlex/lorempixum
|
6
|
+
|
7
|
+
|
8
|
+
==Installation
|
9
|
+
|
10
|
+
You can use the latest Lorempixum gem:
|
11
|
+
|
12
|
+
gem install lorempixum
|
13
|
+
|
14
|
+
After you install Lorempixum, add it to your Gemfile.
|
15
|
+
|
16
|
+
==Usage
|
17
|
+
|
18
|
+
===Generated helper methods
|
19
|
+
|
20
|
+
placeholder_image_tag
|
21
|
+
lorempixum_image_tag
|
22
|
+
|
23
|
+
|
24
|
+
===Using the helper method
|
25
|
+
|
26
|
+
placeholder_image_tag(:grey => true, :width => 150, :height => 150, :category => :sports, :number => 2)
|
27
|
+
|
28
|
+
Every attribute is optional and the default size is 100x100.
|
29
|
+
|
30
|
+
|
31
|
+
==Authors
|
32
|
+
|
33
|
+
{Daniel Spangenberg}[http://github.com/neonlex]
|
34
|
+
|
35
|
+
Please find out more about my work in my
|
36
|
+
{blog}[http://neonlex.github.com].
|
37
|
+
|
38
|
+
|
39
|
+
==License
|
40
|
+
|
41
|
+
The MIT License
|
42
|
+
|
43
|
+
Copyright (c) 2009 {Daniel Spangenberg}[http://neonlex.github.com]
|
44
|
+
|
45
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
46
|
+
of this software and associated documentation files (the "Software"), to deal
|
47
|
+
in the Software without restriction, including without limitation the rights
|
48
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
49
|
+
copies of the Software, and to permit persons to whom the Software is
|
50
|
+
furnished to do so, subject to the following conditions:
|
51
|
+
|
52
|
+
The above copyright notice and this permission notice shall be included in
|
53
|
+
all copies or substantial portions of the Software.
|
54
|
+
|
55
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
56
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
57
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
58
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
59
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
60
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
61
|
+
THE SOFTWARE.
|
data/lib/lorempixum/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: lorempixum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Daniel Spangenberg
|
@@ -25,6 +25,7 @@ extra_rdoc_files: []
|
|
25
25
|
files:
|
26
26
|
- .gitignore
|
27
27
|
- Gemfile
|
28
|
+
- README.rdoc
|
28
29
|
- Rakefile
|
29
30
|
- lib/lorempixum.rb
|
30
31
|
- lib/lorempixum/version.rb
|