baabedo 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f11773799ab0886168b56358ca013a400270a175
4
- data.tar.gz: 32b3cc9101d213a8f3bda52f4c1464ffd62c2d99
3
+ metadata.gz: c8741a200a4992e5ab19714bb0785ccda8e41786
4
+ data.tar.gz: c29571ed46afc66fc889c6b3ad711895cc897a7c
5
5
  SHA512:
6
- metadata.gz: 14ab52f0b22a44324d8144fa742de3cbad43f9767a037a75a65dd6ebac8e929ca2273ecd65847f8100cbe8b1bfe2df3c171fdde4e226457e33b87966949a1538
7
- data.tar.gz: 3b198ec29e45f155ab35bb586f33b098af17f8649ce834763a2d027b391f678b964fbd6afb279e78b0d7507eb757aeff14f769901102c16aa863bba27b886d26
6
+ metadata.gz: 7a09535fdb0333c1a4395360f8cd399e5ef68ebe2a64b825bf08a16b11291b846c90e69333a80436b53ad51883b8691a053d64027178ea4522d073a022a8ac32
7
+ data.tar.gz: c4bf9b3180bddd8b78b652e0e16ca051cb67f6cf93182bbb1fc54bc8b9cd88b2e452cc404f6af2b5d1a001bba9c319c5924d98244aa5df1f6efc8b1c1731ca88
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Next (?/?/?)
2
2
  ==================
3
3
 
4
+ 0.0.3 (12/07/2015)
5
+ ==================
6
+
7
+ #### Fixes
8
+
9
+ * Fixed namespace conficts. If a `Company` class existed, the client tried to construct that instead of a `Baabedo::Company`
10
+
4
11
  0.0.2 (12/07/2015)
5
12
  ==================
6
13
 
data/lib/baabedo/util.rb CHANGED
@@ -51,8 +51,8 @@ module Baabedo
51
51
  def self.class_for_type(type)
52
52
  if type =~ /^list\./
53
53
  ListObject
54
- elsif Kernel.const_defined?(camelize(type))
55
- Kernel.const_get(camelize(type))
54
+ elsif Kernel.const_defined?("::Baabedo::#{camelize(type)}")
55
+ Kernel.const_get("::Baabedo::#{camelize(type)}")
56
56
  else
57
57
  APIObject
58
58
  end
@@ -1,3 +1,3 @@
1
1
  module Baabedo
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baabedo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maximilian Goisser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-12 00:00:00.000000000 Z
11
+ date: 2015-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client