bugherd_client 0.0.3 → 0.0.4

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: b6437162c7b70967ec8d317fb437ed9208cfcf74
4
- data.tar.gz: 98a4222487963a6fda96d8c46d4b1a2324c91fe8
3
+ metadata.gz: 8bc66534748aeba97dd104812c820c8c386b3cdb
4
+ data.tar.gz: 8b21ec8ef3a8e372fa7d2f36a23c7958f7378251
5
5
  SHA512:
6
- metadata.gz: 4d69d47f02a5c1243f8a2d4fdf99ec7c9b2d3334a59d1277246c114c2976f886a586271cac107c5dac46da1ecc13455ffacced1a1ba29821d750e96e226a396d
7
- data.tar.gz: e0b4c620dd38842d3f4287c4fe5eb252477cbd7594bf06cf8acd069466f00ecc9d372ebc93c86b3ac78345e4b3afa7fec6e0b6cc327140749287df2228fac19c
6
+ metadata.gz: 9667fd201184c2cfedc7574570a5a3df73bf7fdd03cbd104fdbcb807d5ad48ee1b056db40e861c3a1da2d9ae9159ecc962874cb0d2367bbc5bd925fa87103ada
7
+ data.tar.gz: 17ce74ba5e174e91cd08354795eb37aa9393c75a87c40456438e818148a1075d9420c63465c37ec6f2d4687d4555f8c352c3fabfa65e63d7da5a5674b623011b
@@ -58,7 +58,7 @@ module BugherdClient
58
58
 
59
59
  def resource(name, opts={})
60
60
  version = self.options[:api_version]
61
- klass = Object.const_get("BugherdClient::Resources::V#{version}::#{name.to_s.classify}")
61
+ klass = "BugherdClient::Resources::V#{version}::#{name.to_s.classify}".constantize
62
62
  klass.new(self.connection, self.options)
63
63
  end
64
64
 
@@ -2,7 +2,7 @@ module BugherdClient
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 3
5
+ PATCH = 4
6
6
 
7
7
  STRING = [MAJOR,MINOR,PATCH].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugherd_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Faucett