emmy-http 0.2.1 → 0.2.2

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: 34a0760da3a6bf5677980835998bb33600cce630
4
- data.tar.gz: 6a3b7ba9519a821a1f6c1714cebdc80db38eb7f8
3
+ metadata.gz: 7ee8d4b0efcf09449ffd92416ad81026d0c15d29
4
+ data.tar.gz: b16f6a69f371a4c9e45467f2f480cbb56c64b15f
5
5
  SHA512:
6
- metadata.gz: 06a816f81d4ca28438fae24b7b80c1597ed35cfc3b5e9c575d2672e9923e6dcd969e2a294242dcb84e68434d1e233e868c246badee4d39327ed9bd54a6f8a8f2
7
- data.tar.gz: 75403fc6ffac49d65200b6c316ac2dd3b603b9933b51b6b1e59d18f0f97f1c69a7f4b47c25c14597db99587e212243079531fa3e5ae57d09f163483408b5f714
6
+ metadata.gz: 06516cddff88e4d243868465127e3b9acd0078740c9af5aeaf0a03b4cc34c115376123a744d84e1c733c39fa4d051bec693b83985d6b949196f410c6557ef98e
7
+ data.tar.gz: d9d2d96316bbaee93c70eed41a3e46115118db9685fa44bcb4490cce2c48fa3f4f47094df2b2016211116f99889b58ca96a9cbabea9ab8f6e888a0301ec04517
@@ -62,11 +62,11 @@ module EmmyHttp
62
62
  instance.api[as] = {path: path}
63
63
  if as
64
64
  cdef as.to_s do |a=nil|
65
- instance.var(as.to_s, request(path: path)).tap { |r| r.update_attributes(a) if a }
65
+ request(path: path).tap { |r| r.update_attributes(a) if a }
66
66
  end
67
67
 
68
68
  cdef "#{as}!" do |*a, &b|
69
- send(as, *a, &b)
69
+ send(as, *a, &b).operation
70
70
  end
71
71
  end
72
72
  end
@@ -1,3 +1,3 @@
1
1
  module EmmyHttp
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emmy-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - inre