easy_placeholder_image 0.0.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.
Files changed (2) hide show
  1. data/lib/easy_placeholder_image.rb +5 -0
  2. metadata +46 -0
@@ -0,0 +1,5 @@
1
+ class Easy_placeholder_image
2
+ def self.placeholder(width,height)
3
+ puts "<img src='http://lorempixel.com/#{width}/#{height}/'/>"
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: easy_placeholder_image
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Jagadeesh Gajula
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-12-14 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: This gem will generate random image of specified size.This is useful in DEV and QA when actual images are not ready.
15
+ email: jagadish.d.one@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/easy_placeholder_image.rb
21
+ homepage: http://rubygems.org/gems/easy_placeholder_image
22
+ licenses:
23
+ - MIT
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ none: false
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - '>='
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ none: false
40
+ requirements: []
41
+ rubyforge_project:
42
+ rubygems_version: 1.8.24
43
+ signing_key:
44
+ specification_version: 3
45
+ summary: This gem will generate random image of specified size.This is useful in DEV and QA when actual images are not ready.
46
+ test_files: []