image_fetcher 0.0.1 → 0.0.2
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -5
- data/image_fetcher.gemspec +2 -2
- metadata +2 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c7879886bb9d11cd1e7f506a0656022acbee06f
|
4
|
+
data.tar.gz: c77dcb05a9288b173a9749d20e7b50b10fc09654
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca2ac0add36be0537c19d9eb842ad4ee7b481cfff8a4e7bf4a02724ec438d190fbe3910fb00c6dc1331700c0149df02a5a7685a8678055f96f0e6c0c8939906e
|
7
|
+
data.tar.gz: 1d61466ddcfef5143a643cf0feee142138c10b81cfe3bfc54fbce0c05acd64fb9c337c5ea6edea679d472ef050212e86c201b4ae6499636690e03265af1b9433
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
# ImageFetcher
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
## Ruby version
|
4
|
+
'2.4.1'
|
6
5
|
|
7
6
|
## Installation
|
8
7
|
|
@@ -25,9 +24,9 @@ Or install it yourself as:
|
|
25
24
|
```ruby
|
26
25
|
ImageFetcher.get_all_images('images.txt') #Downloads images and saves them relative to the where the file is calling this function
|
27
26
|
|
28
|
-
ImageFetcher.get_all_images('images.txt,
|
27
|
+
ImageFetcher.get_all_images('images.txt, "/some/directory") #Downloads and saves images in the specified directory
|
29
28
|
|
30
|
-
ImageFetcher.get_all_images('images.txt',
|
29
|
+
ImageFetcher.get_all_images('images.txt', "/some/directory", 'gif') #Downloads and saves images as gifs in the specified directory
|
31
30
|
|
32
31
|
```
|
33
32
|
|
data/image_fetcher.gemspec
CHANGED
@@ -5,12 +5,12 @@ require "image_fetcher/version"
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "image_fetcher"
|
8
|
-
spec.version = "0.0.
|
8
|
+
spec.version = "0.0.2"
|
9
9
|
spec.authors = ["Vahdet Pervan"]
|
10
10
|
spec.email = ["veeuoh@hotmail.co.uk"]
|
11
11
|
|
12
12
|
spec.summary = "A module that downloads images through URLs from a txt file."
|
13
|
-
spec.description = "
|
13
|
+
spec.description = "Please see github page for instructions. https://github.com/vahdet-91/image_fetcher"
|
14
14
|
spec.homepage = "https://github.com/vahdet-91/image_fetcher.git"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: image_fetcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vahdet Pervan
|
@@ -52,11 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
-
description:
|
56
|
-
The first argument is a txt file that contains the URLs of the images, the second
|
57
|
-
argument is the directory of where you would like to store your images (default
|
58
|
-
path is the one where the module is being called), the third argument is the file
|
59
|
-
extension you would like for your images (default value is gif)
|
55
|
+
description: Please see github page for instructions. https://github.com/vahdet-91/image_fetcher
|
60
56
|
email:
|
61
57
|
- veeuoh@hotmail.co.uk
|
62
58
|
executables: []
|