cp_oraclecloud 0.1.0 → 0.1.1

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: 654f08b3ec1c4f686a9a3e34b3bcdf3fc77ab7d9
4
- data.tar.gz: 4893254a4c9c97501b94146944e981da54004167
3
+ metadata.gz: 4197fac53f0abf22ab0e8304998e2b97acd05983
4
+ data.tar.gz: 4c167e946da04179e2cc783d05c91bc60304795a
5
5
  SHA512:
6
- metadata.gz: ac9cb0fac3c34c7ea3f3128270c3ad0d1986db6db405e886b669999543ccdb6b3b480bba2651a2fb044654a725902f11edc5b487ed2111366109d87cc02e31bc
7
- data.tar.gz: 85475083b80c07fd16fbb86dd38d41a994f85be166796ce3d30e4ef52698e30631ad2df7857b5217ca31c941653f2cb72908c9cdfa0c0720cd41bbb598fa8a93
6
+ metadata.gz: 56f0ae81ad6c7fa2e0d18c30b89bb8297dca17fcce79464de50ed19136ac6b2d8793bcda9b901fc0606d6a7706a5707808d2be055d7862c77335be39e16413e3
7
+ data.tar.gz: 2a88c7202edfb8d829c81f891f64b0d8d835df5a2385673bf7a834396be0ca0ffc8d7e717b958b90f2e2067e9eef5625a91ed0b8a7da7b00f8a73a100099dd42
@@ -34,6 +34,10 @@ module CpOraclecloud
34
34
  "OracleCloud"
35
35
  end
36
36
 
37
+ def provider
38
+ "OracleCloud"
39
+ end
40
+
37
41
  def fog_type
38
42
  "Database"
39
43
  end
@@ -1,7 +1,7 @@
1
1
  module CpOraclecloud
2
2
  class DatabaseInstance < CloudInstance
3
3
 
4
- def provision_instance
4
+ def provision
5
5
  connection.instances.create(init_config)
6
6
  end
7
7
 
@@ -13,15 +13,6 @@ module CpOraclecloud
13
13
  "Database"
14
14
  end
15
15
 
16
- def status
17
- begin
18
- @instance ||= connection.instances.get(name)
19
- @instance.status
20
- rescue Fog::OracleCloud::Database::NotFound
21
- "Error"
22
- end
23
- end
24
-
25
16
  def fog
26
17
  @instance ||= connection.instances.get(name)
27
18
  @instance
@@ -1,3 +1,3 @@
1
1
  module CpOraclecloud
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cp_oraclecloud
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
  - Joel Nation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-15 00:00:00.000000000 Z
11
+ date: 2016-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails