rubyhexagon 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pool.rb +2 -2
  3. data/lib/rubyhexagon.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34c8430199af7c9d7c8e2efb98cf8da90cbcdf09
4
- data.tar.gz: 5675d205567c98595d52b5651eefe4fdd99f5dc6
3
+ metadata.gz: 654db7bd24d4639d4c30313dad9ca8f738c28b89
4
+ data.tar.gz: 739d496a2aa17fadaa7cdd4cb800c4a59e99a48d
5
5
  SHA512:
6
- metadata.gz: 4907ea016fa1d66489323f71cf10ed2ff9bd07a251f7462c6d7c09d8820115477ae9f5378431b583724ce81d9866fe6626db07cbc2947c94a1e05a94168e7738
7
- data.tar.gz: 6aa265a2deb00c532ec2fcc0d7ac60a79fea98cd5b237f5c628ea1846dc91ccab034cb045dc121e3db9bb5543bd878eb4c08d7aad0e0b69f3efed6237c37237a
6
+ metadata.gz: 6994e9584fe703c823f7058e0192e06d58b13fa50a8718ff7661ceef787598aba06211e30e7fda8f807fcf89f7a53c9d6c67da2ad7a6ffc2bb78a331dff9ad4d
7
+ data.tar.gz: 74e452ca8c56c46801d152dbe7dba5d1bf88ce6a4642686e1087240b74efdb80ee081a6679a7694e860021983a246ef543f5dba45d22585be372cd429a160b42
@@ -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("pool")
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.get("show",{"id"=>post}))
29
+ set_variables(@api.pool_show({"id"=>post}))
30
30
  else
31
31
  raise ArgumentError, "Parameter must be Hash or Number."
32
32
  end
@@ -29,5 +29,5 @@ require "pool"
29
29
 
30
30
  module E621
31
31
  Name = "rubyhexagon"
32
- Version = "0.4.1"
32
+ Version = "0.4.2"
33
33
  end
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.1
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-09 00:00:00.000000000 Z
11
+ date: 2016-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json