shrine-flickr 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e5d4d46a7c5888e6acb4b0da6d9ef555b993e282
4
- data.tar.gz: becab2ed6a1315cf4410ebc44ffbd81eae3a6c2c
2
+ SHA256:
3
+ metadata.gz: 2dac224952a44fcbcd0d5598622ed02e424cf650559568625d08b13dddb05aa7
4
+ data.tar.gz: ffa5cb505bc67ca0650b1f84a60cdc60ecea13b9209a61d2756a1d3af58aa947
5
5
  SHA512:
6
- metadata.gz: 36efb5e138f40880a96a01e0e4a8c4146e418051fa4498278433ce59fac2c566dae897dd84f6c6ea9aaf434f3719403d9a6f681e3afd399a7dbd9470670eae32
7
- data.tar.gz: 23828f1c8e4e9b43be52bf1521f66ece28250c718bcb9e7af6aeffd174ddfd01b91bbdeb98c8172088eea16a035e49dd93c957e72ee13c3c154c0a101d4fcb9c
6
+ metadata.gz: 226e3bfc05d833bf301d1c01122763a1f2db85052fc98f3829bd6345b7bf9f03cc58aaa5c205d97dbd347405994bba9987f6218b882a99ffcd376abb4feaef2f
7
+ data.tar.gz: f2e1628a45b005f2cefb7a4c3515841a8d3b32767dc8235f90c2f3337e93ad46169365d0ae1f17f75ddeb3460ea40f44b7ef54a36b265326f7c5bd676b3a32d5
data/README.md CHANGED
@@ -179,6 +179,6 @@ $ bundle exec rake test
179
179
  [MIT](http://opensource.org/licenses/MIT)
180
180
 
181
181
  [Flickr]: https://www.flickr.com/
182
- [Shrine]: https://github.com/janko-m/shrine
182
+ [Shrine]: https://github.com/shrinerb/shrine
183
183
  [`Flickr::OAuth`]: http://www.rubydoc.info/github/janko-m/flickr-objects/master/Flickr/OAuth
184
184
  [Flickr's upload API]: https://www.flickr.com/services/api/upload.api.html
@@ -1,6 +1,6 @@
1
1
  require "shrine"
2
2
  require "flickr-objects"
3
- require "down"
3
+ require "down/http"
4
4
 
5
5
  class Shrine
6
6
  module Storage
@@ -34,8 +34,8 @@ class Shrine
34
34
  photo(photo_id(id)).set_meta(options)
35
35
  end
36
36
 
37
- def open(id)
38
- Down.open(url(id, size: "Original"))
37
+ def open(id, **options)
38
+ Down::Http.open(url(id, size: "Original"), **options)
39
39
  end
40
40
 
41
41
  def exists?(id)
@@ -1,11 +1,11 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "shrine-flickr"
3
- gem.version = "1.3.0"
3
+ gem.version = "1.4.0"
4
4
 
5
5
  gem.required_ruby_version = ">= 2.1"
6
6
 
7
7
  gem.summary = "Provides Flickr storage for Shrine."
8
- gem.homepage = "https://github.com/janko-m/shrine-flickr"
8
+ gem.homepage = "https://github.com/shrinerb/shrine-flickr"
9
9
  gem.authors = ["Janko Marohnić"]
10
10
  gem.email = ["janko.marohnic@gmail.com"]
11
11
  gem.license = "MIT"
@@ -15,7 +15,8 @@ Gem::Specification.new do |gem|
15
15
 
16
16
  gem.add_dependency "shrine", "~> 2.2"
17
17
  gem.add_dependency "flickr-objects", ">= 0.6.3"
18
- gem.add_dependency "down", ">= 2.3.3"
18
+ gem.add_dependency "down", "~> 4.4"
19
+ gem.add_dependency "http", "~> 3.2"
19
20
 
20
21
  gem.add_development_dependency "rake"
21
22
  gem.add_development_dependency "minitest"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shrine-flickr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janko Marohnić
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-21 00:00:00.000000000 Z
11
+ date: 2018-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shrine
@@ -42,16 +42,30 @@ dependencies:
42
42
  name: down
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.3.3
47
+ version: '4.4'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '4.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: http
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.2'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: 2.3.3
68
+ version: '3.2'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rake
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -105,7 +119,7 @@ files:
105
119
  - README.md
106
120
  - lib/shrine/storage/flickr.rb
107
121
  - shrine-flickr.gemspec
108
- homepage: https://github.com/janko-m/shrine-flickr
122
+ homepage: https://github.com/shrinerb/shrine-flickr
109
123
  licenses:
110
124
  - MIT
111
125
  metadata: {}
@@ -125,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
139
  version: '0'
126
140
  requirements: []
127
141
  rubyforge_project:
128
- rubygems_version: 2.6.11
142
+ rubygems_version: 2.7.6
129
143
  signing_key:
130
144
  specification_version: 4
131
145
  summary: Provides Flickr storage for Shrine.