kraken-io 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kraken-io.rb +2 -2
- metadata +4 -4
data/lib/kraken-io.rb
CHANGED
@@ -22,7 +22,7 @@ module Kraken
|
|
22
22
|
}
|
23
23
|
})
|
24
24
|
|
25
|
-
self.class.post('https://api.
|
25
|
+
self.class.post('https://api.kraken.io/url', {:body => JSON.generate(params)})
|
26
26
|
end
|
27
27
|
|
28
28
|
def upload(params = {})
|
@@ -33,7 +33,7 @@ module Kraken
|
|
33
33
|
}
|
34
34
|
})
|
35
35
|
|
36
|
-
url = URI.parse("https://api.
|
36
|
+
url = URI.parse("https://api.kraken.io/upload")
|
37
37
|
|
38
38
|
File.open(params['file']) do |file|
|
39
39
|
params.delete('file')
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kraken-io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Przemek Matylla
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-01-
|
18
|
+
date: 2013-01-25 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: json
|