shrine-flickr 1.2.0 → 1.2.1

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
2
  SHA1:
3
- metadata.gz: 5033c4e43af4a59e75d0daecec024a3d4cc326ef
4
- data.tar.gz: 56f5e6f21361b16718530bc06264322b1dc95b17
3
+ metadata.gz: 9bdbfa90dd7ac797cff59a2d80b76c96d5aabfba
4
+ data.tar.gz: fc162a80b7d01352db6b145bcfc2980ec4286492
5
5
  SHA512:
6
- metadata.gz: 6ddc342ea1686e004e30935a9bef11863d66ecb43fef7009450275fcc6acbd829ed62660943b55e8862b02d5839ab51ed80c5886302f01feb2369b92394a8db8
7
- data.tar.gz: 07bcb095e9bc6b3a426775a3a1c2aaa342b3ab5cdb4af32c15ef0c5f4a1f3e8dbee779918f443c05923d3775a93303868307d2632bb30fd2075c238cbacab3ee
6
+ metadata.gz: 7b5e8953a387b6ce8d02ea4d645b8d5602328a3b6f90e88ade705511223814b454f65bbd0d6402b2c3cd87d94118dac8f8c74e4a161ce4b6a77a6d6338f85ea1
7
+ data.tar.gz: f7689b1b69dc68912c16c6e830aee31a80407098ba088eadd112d688d1d4c273ae377128db5277d9af761012c2f1161daae18432b41d2aed5a12d3976235355d
data/README.md CHANGED
@@ -140,7 +140,7 @@ If you want to delete all photos from this storage, you can call `#clear!`:
140
140
  ```rb
141
141
  flickr = Shrine::Storage::Flickr.new(**flickr_options)
142
142
  # ...
143
- flickr.clear!(:confirm)
143
+ flickr.clear!
144
144
  ```
145
145
 
146
146
  ### Linking back
@@ -41,7 +41,7 @@ class Shrine
41
41
  end
42
42
 
43
43
  def open(id)
44
- download(id)
44
+ Down.open(url(id, size: "Original"))
45
45
  end
46
46
 
47
47
  def read(id)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "shrine-flickr"
3
- gem.version = "1.2.0"
3
+ gem.version = "1.2.1"
4
4
 
5
5
  gem.required_ruby_version = ">= 2.1"
6
6
 
@@ -10,12 +10,12 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ["janko.marohnic@gmail.com"]
11
11
  gem.license = "MIT"
12
12
 
13
- gem.files = Dir["README.md", "LICENSE.txt", "lib/**/*.rb", "shrine-flickr.gemspec"]
13
+ gem.files = Dir["README.md", "LICENSE.txt", "lib/**/*.rb", "*.gemspec"]
14
14
  gem.require_path = "lib"
15
15
 
16
16
  gem.add_dependency "shrine", "~> 2.0"
17
- gem.add_dependency "flickr-objects", ">= 0.6.1"
18
- gem.add_dependency "down", ">= 1.0.5"
17
+ gem.add_dependency "flickr-objects", ">= 0.6.3"
18
+ gem.add_dependency "down", ">= 2.3.3"
19
19
 
20
20
  gem.add_development_dependency "rake"
21
21
  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.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janko Marohnić
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-25 00:00:00.000000000 Z
11
+ date: 2016-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shrine
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.6.1
33
+ version: 0.6.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.6.1
40
+ version: 0.6.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: down
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 1.0.5
47
+ version: 2.3.3
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 1.0.5
54
+ version: 2.3.3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement