kinu 1.0.0.alpha4 → 1.0.0.alpha5

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: c2ad68f531090a0fe56c5f96b8c42a4f066d9d52
4
- data.tar.gz: 79d519e0474064566943954c44f286d26fef0a4b
3
+ metadata.gz: 919aec3f836b70fd95eea017203de4815d797a91
4
+ data.tar.gz: eb4ae2ac249d7cc2802c0d1b4f5a097e251d14f2
5
5
  SHA512:
6
- metadata.gz: b23ea4a4c238445c2cc2757f66ec2cbe7aaa13eaf8514b70b2442398584d2bafe851cb65fee6c4167addbb19c260f40aeff129763160327979c48938c01797d9
7
- data.tar.gz: a74d2e28cd699180ef8eb528dae01941be449f51c1656db7296fbbb8c993ec3db836a222470fc4a8e73eca4fb82e73601bdc317094056ebec91364d0fc3b49a6
6
+ metadata.gz: 6a2dfeea6c709651e12974a22aeba27e1158a7d067b6275fea54e6ea75511ba742b4c6a8c25064fcad7ab47ccb593b161c0f15ce751f47a195b88a5a98296bfd
7
+ data.tar.gz: 58eb0e9be43142fb15bc38162ee2b965a481f164d6fa0e9b0cb048475f2deaa3119c67fd18ca12fe690a6172a61ad9dcacedfbd642f0fd22c20f234b47a53d86
data/lib/kinu/sandbox.rb CHANGED
@@ -5,6 +5,7 @@ module Kinu
5
5
  class Sandbox < ResourceBase
6
6
  def self.upload(file)
7
7
  response = Kinu::HttpClient.multipart_post(
8
+ Kinu.base_upload_uri,
8
9
  '/sandbox',
9
10
  {
10
11
  image: Kinu::HttpClient::UploadFile.new(file),
@@ -15,6 +16,7 @@ module Kinu
15
16
 
16
17
  def self.attach(name, id, sandbox_id)
17
18
  response = Kinu::HttpClient.post(
19
+ Kinu.base_upload_uri,
18
20
  '/sandbox/attach',
19
21
  {
20
22
  name: name,
data/lib/kinu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kinu
2
- VERSION = "1.0.0.alpha4"
2
+ VERSION = "1.0.0.alpha5"
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: 1.0.0.alpha4
4
+ version: 1.0.0.alpha5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takatoshi Maeda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-08 00:00:00.000000000 Z
11
+ date: 2017-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  version: 1.3.1
140
140
  requirements: []
141
141
  rubyforge_project:
142
- rubygems_version: 2.4.5
142
+ rubygems_version: 2.5.2
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: image server kinu ruby client