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 +4 -4
- data/lib/kinu/sandbox.rb +2 -0
- data/lib/kinu/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 919aec3f836b70fd95eea017203de4815d797a91
|
4
|
+
data.tar.gz: eb4ae2ac249d7cc2802c0d1b4f5a097e251d14f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
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.
|
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-
|
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.
|
142
|
+
rubygems_version: 2.5.2
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: image server kinu ruby client
|