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 +4 -4
- data/aptible-resource.gemspec +1 -1
- data/lib/aptible/resource/adapter.rb +3 -1
- data/lib/aptible/resource/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e0a4813794c67cf121e6e99aacdeb6d4658de77
|
4
|
+
data.tar.gz: 8a30600a2fe9e4b9aa5bcf1ef616af537d30f833
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c72824d53f2a8dc4933a824c733ac82858364d349ee223f1d5c46e491b759a2550c50cce746a5e49e8e5f512ae1eda1c8733ebfb82c7a0d5f655f7511b0624ec
|
7
|
+
data.tar.gz: b1570c06b61d5222484c0c2198ffb5f14be4bd599e95a3f534094de0fdce252e4a7bef172fc5f6e3b0f8fde9427e2ce2deab4146bd7443372c5dc6a27ec7f181
|
data/aptible-resource.gemspec
CHANGED
@@ -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.
|
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
|
-
|
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
|
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.
|
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.
|
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.
|
96
|
+
version: '1.3'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: aptible-tasks
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|