aptible-resource 0.1.0 → 0.1.1

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: 953b5ea9c2b350a3b37e7bc3b1125fd1962e7628
4
- data.tar.gz: 01317c3f36bd2061be1a95e95b1995f1c0d096d9
3
+ metadata.gz: 0e0a4813794c67cf121e6e99aacdeb6d4658de77
4
+ data.tar.gz: 8a30600a2fe9e4b9aa5bcf1ef616af537d30f833
5
5
  SHA512:
6
- metadata.gz: 7015d0822a8d50f48248610da1f89a894e5228bbd8a5618b84a202ccb96170b9af8f866b343bd94c27ea22b9841b63f8ff07078d40343746794869ba9ba7ab68
7
- data.tar.gz: cf190060c67bb26f41340340de34ec0620c6887e793e14633e49386ae1a7cb7978249dbf2656f79b03076de1519510a6db58359ade13fa1ce929f7c7be0f2aef
6
+ metadata.gz: c72824d53f2a8dc4933a824c733ac82858364d349ee223f1d5c46e491b759a2550c50cce746a5e49e8e5f512ae1eda1c8733ebfb82c7a0d5f655f7511b0624ec
7
+ data.tar.gz: b1570c06b61d5222484c0c2198ffb5f14be4bd599e95a3f534094de0fdce252e4a7bef172fc5f6e3b0f8fde9427e2ce2deab4146bd7443372c5dc6a27ec7f181
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency 'fridge'
28
28
  spec.add_dependency 'activesupport'
29
29
 
30
- spec.add_development_dependency 'bundler', '~> 1.6'
30
+ spec.add_development_dependency 'bundler', '~> 1.3'
31
31
  spec.add_development_dependency 'aptible-tasks'
32
32
  spec.add_development_dependency 'rake'
33
33
  spec.add_development_dependency 'rspec', '~> 2.0'
@@ -5,7 +5,9 @@ module Aptible
5
5
  def get_data_type_from_object(object)
6
6
  return nil unless object
7
7
 
8
- if (type = object['_type'])
8
+ # TODO: Only reference _type
9
+ # See https://github.com/aptible/auth.aptible.com/issues/61
10
+ if (type = object['_type'] || object['type'])
9
11
  if type.respond_to?(:camelize)
10
12
  type.camelize
11
13
  else
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Resource
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aptible-resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: '1.6'
89
+ version: '1.3'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: '1.6'
96
+ version: '1.3'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: aptible-tasks
99
99
  requirement: !ruby/object:Gem::Requirement