kinu 2.0.0 → 2.0.2

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: e0fce4648907fb4e5de298ba5ff211aa646e67e1
4
- data.tar.gz: d5f7a2437d1cab890085145df71df659453523e2
2
+ SHA256:
3
+ metadata.gz: a7bacf90841071bcf713ecda94296fffb6189b1b29d98828590d459aca7abfc6
4
+ data.tar.gz: d935f8c4c57c0fc73e8525140d0debcfbcf6cd214bc455d91696a4ac0250e498
5
5
  SHA512:
6
- metadata.gz: 26dc85d282aed691fdea52476ae18aab38baa73bcafd649b2150ba0f6956708cfda978f21b2e89b97f463bb589e1cf22f492424f659a3a0e3867bc40da605769
7
- data.tar.gz: e3fadecff35a3aad2d48145b79b0ec5ca5b6475ca624fcbd6efda660568477e95f4b85d8e44462476eb9afe2c4dc5244ed69fd853f6e970628e86a93fbd9b139
6
+ metadata.gz: 124400c8b4e7be2fcdc2daf1be97f529e269047b8b5b5df5a92f38294f4ea5097413708d53157d652485bc2d9fbbaa946d252fe35264b3876c7eb4807a0f805f
7
+ data.tar.gz: 740122dc7b0eee7b03ac949eb7fad4828d3dcfa18d76e7fc635754ccf2720231100ad40c9ab33f14cadfecf03748ef5b4ee14108dba7798943a5fa1ac7e55a30
@@ -0,0 +1,14 @@
1
+ changelog:
2
+ categories:
3
+ - title: Added
4
+ labels:
5
+ - add
6
+ - title: Changed
7
+ labels:
8
+ - change
9
+ - title: Removed
10
+ labels:
11
+ - remove
12
+ - title: Others
13
+ labels:
14
+ - "*"
data/kinu.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{image server kinu ruby client}
13
13
  spec.description = %q{image server kinu ruby client}
14
- spec.homepage = "https://github.com/TakatoshiMaeda/kinu-ruby"
14
+ spec.homepage = "https://github.com/tokubai/kinu-ruby"
15
15
 
16
16
  if spec.respond_to?(:metadata)
17
17
  spec.metadata['allowed_push_host'] = "https://rubygems.org/"
@@ -25,8 +25,9 @@ Gem::Specification.new do |spec|
25
25
  spec.require_paths = ["lib"]
26
26
 
27
27
  spec.add_dependency "faraday"
28
+ spec.add_dependency "faraday-multipart"
28
29
 
29
- spec.add_development_dependency "bundler", "~> 1.11"
30
+ spec.add_development_dependency "bundler"
30
31
  spec.add_development_dependency "rake", "~> 10.0"
31
32
  spec.add_development_dependency "pry"
32
33
  spec.add_development_dependency "rspec", "~> 3.4"
data/lib/kinu/geometry.rb CHANGED
@@ -5,14 +5,14 @@ module Kinu
5
5
  height: :h,
6
6
  quality: :q,
7
7
  crop: :c,
8
- original: :o,
9
- middle: :m,
10
8
  manual_crop: :mc,
11
9
  width_offset: :wo,
12
10
  height_offset: :ho,
13
11
  crop_width: :cw,
14
12
  crop_height: :ch,
15
13
  assumption_width: :aw,
14
+ original: :o,
15
+ middle: :m,
16
16
  }.freeze
17
17
 
18
18
  def initialize(options)
@@ -1,4 +1,5 @@
1
1
  require 'faraday'
2
+ require 'faraday/multipart'
2
3
  require 'kinu/errors'
3
4
 
4
5
  module Kinu
@@ -70,8 +71,8 @@ module Kinu
70
71
  File.basename(@file.path)
71
72
  end
72
73
 
73
- def respond_to?(name)
74
- io.respond_to?(name)
74
+ def respond_to?(name, include_all = false)
75
+ io.respond_to?(name, include_all)
75
76
  end
76
77
 
77
78
  def method_missing(*args)
data/lib/kinu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kinu
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kinu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takatoshi Maeda
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-02 00:00:00.000000000 Z
11
+ date: 2023-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -24,20 +24,34 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday-multipart
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - "~>"
45
+ - - ">="
32
46
  - !ruby/object:Gem::Version
33
- version: '1.11'
47
+ version: '0'
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
- - - "~>"
52
+ - - ">="
39
53
  - !ruby/object:Gem::Version
40
- version: '1.11'
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -101,6 +115,7 @@ executables: []
101
115
  extensions: []
102
116
  extra_rdoc_files: []
103
117
  files:
118
+ - ".github/release.yml"
104
119
  - ".gitignore"
105
120
  - ".rspec"
106
121
  - ".travis.yml"
@@ -119,11 +134,11 @@ files:
119
134
  - lib/kinu/resource_base.rb
120
135
  - lib/kinu/sandbox.rb
121
136
  - lib/kinu/version.rb
122
- homepage: https://github.com/TakatoshiMaeda/kinu-ruby
137
+ homepage: https://github.com/tokubai/kinu-ruby
123
138
  licenses: []
124
139
  metadata:
125
140
  allowed_push_host: https://rubygems.org/
126
- post_install_message:
141
+ post_install_message:
127
142
  rdoc_options: []
128
143
  require_paths:
129
144
  - lib
@@ -138,9 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
153
  - !ruby/object:Gem::Version
139
154
  version: '0'
140
155
  requirements: []
141
- rubyforge_project:
142
- rubygems_version: 2.6.11
143
- signing_key:
156
+ rubygems_version: 3.2.33
157
+ signing_key:
144
158
  specification_version: 4
145
159
  summary: image server kinu ruby client
146
160
  test_files: []