gh 0.12.3 → 0.12.4

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/gh.rb +4 -0
  3. data/lib/gh/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6111e2fa8dbc01a5d52b267e44617e5096a152c7
4
- data.tar.gz: fbd8a0a0658ba302b5901e35d37f07c20463b6fd
3
+ metadata.gz: 8a56c4c17ee71f68db237e4582b5811d66889f38
4
+ data.tar.gz: af184f84676c05fcac89acb9d5af8e66955fa551
5
5
  SHA512:
6
- metadata.gz: bcc5eb0e275f4e0c268459167d400edb9959f7a5163eeacbd937f381979b7d3ca3672d96ebb70fd5ea7fb9cb2b5ca3e73e4643bb07f86df8704e6824734ebde1
7
- data.tar.gz: 3d1088dfd9ce6c426f6821f50edfd847f8b21bb5d8a71f82e7d17a42744107950889c1436f75944e4bec460e90bc87df467adb38e453e6b769d3a403a1892429
6
+ metadata.gz: 3d9357c7ea456a9863bda2017013092666bb056a169df92003502d61dafb52d3a27d385f90a449148df1bc9e133fda70a86083d6818ee635bd163e32c43fbee2
7
+ data.tar.gz: 1d206e2deecfc1f971d7feaa6bef2531a67f3635b3c02a6270c586de0f7b63aad2187558bbcd18afef05ed7c29df10337fe09a249898ef63388a7199d325cfac
data/lib/gh.rb CHANGED
@@ -56,6 +56,10 @@ module GH
56
56
  extend SingleForwardable
57
57
  def_delegators :current, :api_host, :[], :reset, :load, :post, :delete, :patch, :put, :in_parallel, :in_parallel?, :options, :head
58
58
 
59
+ def self.method_missing(*args, &block)
60
+ current.public_send(*args, &block)
61
+ end
62
+
59
63
  DefaultStack = Stack.new do
60
64
  use Instrumentation
61
65
  use Parallel
@@ -1,4 +1,4 @@
1
1
  module GH
2
2
  # Public: Library version.
3
- VERSION = "0.12.3"
3
+ VERSION = "0.12.4"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.3
4
+ version: 0.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase