fog-core 1.36.0 → 1.37.0

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: 34750fc3461fa6c3704e318851bcbe5c93e53c7a
4
- data.tar.gz: a05fface595a7e15344687cdb11e06ad3f15ce25
3
+ metadata.gz: 2aa457405514478df62d788bc64c20f3b89cf800
4
+ data.tar.gz: 05471a54ebee07324db236b13162f27d787997d1
5
5
  SHA512:
6
- metadata.gz: 226a6df0fdd36a58af8978a966f8c5a5e52c6c2bd8524e5194d55c0be60ac48c7a6d49659d9da5abe751293e90023c0d54788b3a755ebeb6de44cd7d6d92f51e
7
- data.tar.gz: 0b7cbac094a51c52eee764b1142215d4e6ccfbc529cac763c0d22376f80251d45495e911a91cc9f4299719b1b1204bfe5263165f653852ec96600c727b381a00
6
+ metadata.gz: 67c54f032675dfecaa0ea10afa4467937cbca2d8d29fa545c995cc7dfb331a93c33884c62dda21e2124a05895ae92a4c9da7b11e9051f082d5dbc4e5c4b15eb3
7
+ data.tar.gz: 66c59a0c962032e3a6c2a108e3b1a298d93a55a52d96ad66c7297ef08594e6c5eb8b65a88c672b2a2a6fc773c1872ad2942733b784e132b6cbe4af75c504c1c8
data/changelog.md CHANGED
@@ -1,7 +1,23 @@
1
- 1.34.0 11/24/2015
1
+ 1.37.0 03/31/2016
2
+ ==========================================================
3
+
4
+ remove hp from providers
5
+ re-raise mime-type error, rather than exiting
6
+ fix tests
7
+ add introspection module
8
+
9
+ 1.36.0 02/23/2016
10
+ ==========================================================
11
+
12
+ default digitalocean to v2
13
+ fix eager/auto-loading
14
+ add cloud-at-cost
15
+
16
+ 1.35.0 11/24/2015
2
17
  ==========================================================
3
18
 
4
19
  make mime/types require optional
20
+ fix warnings about net-ssh vs net-cp
5
21
 
6
22
  1.34.0 11/16/2015
7
23
  ==========================================================
data/lib/fog/compute.rb CHANGED
@@ -10,17 +10,6 @@ module Fog
10
10
  when :gogrid
11
11
  require "fog/go_grid/compute"
12
12
  Fog::Compute::GoGrid.new(attributes)
13
- when :hp
14
- version = attributes.delete(:version)
15
- version = version.to_s.downcase.to_sym unless version.nil?
16
- if version == :v2
17
- require "fog/hp/compute_v2"
18
- Fog::Compute::HPV2.new(attributes)
19
- else
20
- Fog::Logger.deprecation "HP Cloud Compute V1 service will be soon deprecated. Please use `:version => v2` attribute to use HP Cloud Compute V2 service."
21
- require "fog/hp/compute"
22
- Fog::Compute::HP.new(attributes)
23
- end
24
13
  when :new_servers
25
14
  require "fog/bare_metal_cloud/compute"
26
15
  Fog::Logger.deprecation "`new_servers` is deprecated. Please use `bare_metal_cloud` instead."
data/lib/fog/core.rb CHANGED
@@ -61,6 +61,7 @@ require File.expand_path('../compute', __FILE__)
61
61
  require File.expand_path('../dns', __FILE__)
62
62
  require File.expand_path('../identity', __FILE__)
63
63
  require File.expand_path('../image', __FILE__)
64
+ require File.expand_path('../introspection', __FILE__)
64
65
  require File.expand_path('../metering', __FILE__)
65
66
  require File.expand_path('../monitoring', __FILE__)
66
67
  require File.expand_path('../network', __FILE__)
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Core
3
- VERSION = "1.36.0"
3
+ VERSION = "1.37.0"
4
4
  end
5
5
  end
@@ -0,0 +1,5 @@
1
+ module Fog
2
+ module Introspection
3
+ extend Fog::ServicesMixin
4
+ end
5
+ end
data/lib/fog/storage.rb CHANGED
@@ -11,7 +11,7 @@ module Fog
11
11
  require 'mime/types'
12
12
  rescue LoadError
13
13
  Fog::Logger.warning("'mime-types' missing, please install and try again.")
14
- exit(1)
14
+ raise
15
15
  end
16
16
  end
17
17
 
@@ -19,10 +19,12 @@ describe Fog::CurrentMachine do
19
19
 
20
20
  describe "ip_address" do
21
21
  it "should be thread safe" do
22
- Excon.stub({ :method => :get, :path => "/" }, { :body => "" })
23
22
 
24
23
  (1..10).map do
25
- Thread.new { Fog::CurrentMachine.ip_address }
24
+ Thread.new do
25
+ Excon.stub({ :method => :get, :path => "/" }, { :body => "" })
26
+ Fog::CurrentMachine.ip_address
27
+ end
26
28
  end.each(&:join)
27
29
  end
28
30
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Light
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-02-23 00:00:00.000000000 Z
12
+ date: 2016-03-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -234,6 +234,7 @@ files:
234
234
  - lib/fog/formatador.rb
235
235
  - lib/fog/identity.rb
236
236
  - lib/fog/image.rb
237
+ - lib/fog/introspection.rb
237
238
  - lib/fog/metering.rb
238
239
  - lib/fog/monitoring.rb
239
240
  - lib/fog/network.rb
@@ -299,7 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
300
  version: '0'
300
301
  requirements: []
301
302
  rubyforge_project:
302
- rubygems_version: 2.4.5.1
303
+ rubygems_version: 2.5.1
303
304
  signing_key:
304
305
  specification_version: 4
305
306
  summary: Shared classes and tests for fog providers and services.