dummy_files 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +19 -3
  2. data/VERSION +1 -1
  3. data/dummy_files.gemspec +1 -1
  4. metadata +3 -3
data/README.rdoc CHANGED
@@ -9,9 +9,25 @@ Pull urls of random images/files from google searches to generate sample data.
9
9
  = To get Images
10
10
  DummyFiles::Images.get
11
11
  You can also call pass parameters
12
- DummyFiles(number, keyword, content)
13
- Where number is the number of images to fetch (by default 100), keyword is the keyword for the google search (by default "me") and content is the type of images, which can be "any" (ie, any image) or "face" (ie, face pictures, this is the default value)
14
-
12
+ DummyFiles::Images.get(number, keyword, content)
13
+ Where number is the number of images to fetch (by default 100), keyword is the keyword for the google search (by default "me") and content is the type of images, which can be "any" (ie, any image) or "face" (ie, pictures of faces, this is the default value)
14
+ You can get a single image, too
15
+ DummyFiles::Image.get
16
+ Or with parameters
17
+ DummyFiles::Images.get(keyword, content)
18
+
19
+ = To get Files
20
+ DummyFiles::Files.get(filetype)
21
+ So you are gonna be searching for files whose file type is "filetype".
22
+
23
+ Call with parameters
24
+ DummyFiles::Files.get(filetype, number, keyword)
25
+ By default keyword is "".
26
+
27
+ Single File
28
+ DummyFiles::File.get(filetype)
29
+ With parameters
30
+ DummyFiles::File.get(filetype, keyword)
15
31
 
16
32
 
17
33
  == Note on Patches/Pull Requests
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
data/dummy_files.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dummy_files}
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jordi Noguera"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dummy_files
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jordi Noguera