flickrb_collage 0.1.0 → 0.1.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.
- checksums.yaml +4 -4
- data/README.md +8 -5
- data/flickrb_collage.gemspec +1 -0
- data/lib/flickrb_collage/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bbab75314a4c7ff33ac777a88a14cf413d2ac514
|
|
4
|
+
data.tar.gz: de7cf040a97cc67576334186f3c49693d8fc4f1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bef0bc02a231e0f3aa5e7527f387e64fed2c997e0e6fc9899ffde92d31308f10237554d7b5f1601e4262511c1f534a81e2be8f94bcfdbedbe4f4864adddc5136
|
|
7
|
+
data.tar.gz: bd15a58b29979315f567c9afa03cea30215b4a57753057fda6314b4058c0e8a84d65780bdc8919f61541ac2e789790d20c849c4105680829de8018829803e761
|
data/README.md
CHANGED
|
@@ -11,7 +11,7 @@ This gem should:
|
|
|
11
11
|
|
|
12
12
|
If given less than ten keywords, or if any keyword fails to
|
|
13
13
|
result in a match, it will retrieve random words from a dictionary
|
|
14
|
-
source such as `/usr/share/dict/words`.
|
|
14
|
+
source such as `/usr/share/dict/words`.
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
@@ -31,11 +31,9 @@ Or install it yourself as:
|
|
|
31
31
|
|
|
32
32
|
## Usage
|
|
33
33
|
|
|
34
|
-
You need a config file named
|
|
35
|
-
$ config/flickr.yml
|
|
34
|
+
You need a config file named ```config/flickr.yml``` with:
|
|
36
35
|
|
|
37
|
-
|
|
38
|
-
```
|
|
36
|
+
```yml
|
|
39
37
|
flickr:
|
|
40
38
|
api_key: "yourapikey"
|
|
41
39
|
secret: "yoursecret"
|
|
@@ -54,6 +52,11 @@ And then:
|
|
|
54
52
|
ruby yourfile.rb
|
|
55
53
|
```
|
|
56
54
|
|
|
55
|
+
Or you can:
|
|
56
|
+
```
|
|
57
|
+
ruby yourfile.rb cat horse cow dog fish pig lion tiger wolf shark
|
|
58
|
+
```
|
|
59
|
+
|
|
57
60
|
## Contributing
|
|
58
61
|
|
|
59
62
|
Bug reports and pull requests are welcome on GitHub at https://github.com/mfbmina/flickrb_collage.
|
data/flickrb_collage.gemspec
CHANGED
|
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.summary = %q{Get 10 pics on Flickr and make a collage}
|
|
13
13
|
spec.homepage = "https://github.com/mfbmina/flickrb_collage"
|
|
14
14
|
spec.license = "MIT"
|
|
15
|
+
spec.required_ruby_version = '>= 2.2.3'
|
|
15
16
|
|
|
16
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
17
18
|
f.match(%r{^(test|spec|features)/})
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flickrb_collage
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matheus Mina
|
|
@@ -135,7 +135,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
135
135
|
requirements:
|
|
136
136
|
- - ">="
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
|
-
version:
|
|
138
|
+
version: 2.2.3
|
|
139
139
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
requirements:
|
|
141
141
|
- - ">="
|