rubyhexagon 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pool.rb +2 -2
- data/lib/rubyhexagon.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 654db7bd24d4639d4c30313dad9ca8f738c28b89
|
4
|
+
data.tar.gz: 739d496a2aa17fadaa7cdd4cb800c4a59e99a48d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6994e9584fe703c823f7058e0192e06d58b13fa50a8718ff7661ceef787598aba06211e30e7fda8f807fcf89f7a53c9d6c67da2ad7a6ffc2bb78a331dff9ad4d
|
7
|
+
data.tar.gz: 74e452ca8c56c46801d152dbe7dba5d1bf88ce6a4642686e1087240b74efdb80ee081a6679a7694e860021983a246ef543f5dba45d22585be372cd429a160b42
|
data/lib/pool.rb
CHANGED
@@ -22,11 +22,11 @@ require "digest/md5"
|
|
22
22
|
module E621
|
23
23
|
class Pool < Container
|
24
24
|
def initialize(post)
|
25
|
-
@api = API.new
|
25
|
+
@api = API.new
|
26
26
|
if post.is_a?(Hash) then
|
27
27
|
set_variables(post)
|
28
28
|
elsif post.is_a?(Fixnum) then
|
29
|
-
set_variables(@api.
|
29
|
+
set_variables(@api.pool_show({"id"=>post}))
|
30
30
|
else
|
31
31
|
raise ArgumentError, "Parameter must be Hash or Number."
|
32
32
|
end
|
data/lib/rubyhexagon.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyhexagon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maxine Red
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|