fog-core 1.37.0 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTORS.md +5 -1
- data/LICENSE.md +1 -1
- data/changelog.md +7 -0
- data/fog-core.gemspec +1 -1
- data/lib/fog/core/services_mixin.rb +1 -1
- data/lib/fog/core/version.rb +1 -1
- data/lib/fog/storage.rb +1 -1
- data/spec/storage_spec.rb +11 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dbd117860a8dbc0d05e193a540cdc5255b0e427
|
4
|
+
data.tar.gz: b2f2683dc474e899a48facb4c2d8515e34cd1131
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5030fed5c8ee6bbb14916258676dd8e5da29d414bfb96575abc96080b00fca907eb9451096f8c76dac32b7c57e66feae424ba13937a672d7ef08900e046aa7e2
|
7
|
+
data.tar.gz: bb1b6fa13fb87f844406323d9d37749d1d46babf214fd4229acc9042f2214c9f7f94ef7c5a9c787359e3428561e68ce3ae67bcd55d17efd204807bd867d0b788
|
data/CONTRIBUTORS.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
* Aaron Patterson <aaron.patterson@gmail.com>
|
2
2
|
* Akira Matsuda <ronnie@dio.jp>
|
3
|
+
* Alexandru Calinoiu <calinoiu.alexandru@agilefreaks.com>
|
3
4
|
* Anatol <anatol.pomozov@gmail.com>
|
4
5
|
* Artem <temikus@google.com>
|
5
6
|
* Artem Yakimenko <temikus@google.com>
|
@@ -10,6 +11,8 @@
|
|
10
11
|
* Dominic Cleal <dcleal@redhat.com>
|
11
12
|
* Evan Light <evan@tripledogdare.net>
|
12
13
|
* Frederick Cheung <frederick.cheung@gmail.com>
|
14
|
+
* Gilles Dubreuil <gilles@redhat.com>
|
15
|
+
* Griffin Smith <wildgriffin45@gmail.com>
|
13
16
|
* Isaac Hollander McCreery <ihmccreery@google.com>
|
14
17
|
* Jake Bell <jake@theunraveler.com>
|
15
18
|
* Josh Kalderimis <josh.kalderimis@gmail.com>
|
@@ -37,4 +40,5 @@
|
|
37
40
|
* mountkin <moutkin@gmail.com>
|
38
41
|
* ozroc <ozrocpablo@gmail.com>
|
39
42
|
* schneems <richard.schneeman@gmail.com>
|
40
|
-
* starbelly <starbelly@pobox.com>
|
43
|
+
* starbelly <starbelly@pobox.com>
|
44
|
+
* zhitongLBN <z.liu@linkbynet.com>
|
data/LICENSE.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2014 [CONTRIBUTORS.md](https://github.com/fog/fog/blob/master/CONTRIBUTORS.md)
|
3
|
+
Copyright (c) 2014-2016 [CONTRIBUTORS.md](https://github.com/fog/fog/blob/master/CONTRIBUTORS.md)
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
6
|
this software and associated documentation files (the "Software"), to deal in
|
data/changelog.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
1.38.0 04/20/2016
|
2
|
+
==========================================================
|
3
|
+
|
4
|
+
more specific service not found error
|
5
|
+
fix string freeze issue for ruby 2.3
|
6
|
+
bump excon dep
|
7
|
+
|
1
8
|
1.37.0 03/31/2016
|
2
9
|
==========================================================
|
3
10
|
|
data/fog-core.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency("builder")
|
22
|
-
spec.add_dependency("excon", "~> 0.
|
22
|
+
spec.add_dependency("excon", "~> 0.49")
|
23
23
|
spec.add_dependency("formatador", "~> 0.2")
|
24
24
|
|
25
25
|
spec.add_development_dependency("coveralls")
|
@@ -15,7 +15,7 @@ module Fog
|
|
15
15
|
spc = service_provider_constant(service_name, provider_name)
|
16
16
|
spc.new(attributes)
|
17
17
|
rescue LoadError, NameError # Only rescue errors in finding the libraries, allow connection errors through to the caller
|
18
|
-
raise
|
18
|
+
raise Fog::Service::NotFound, "#{provider} has no #{service_name.downcase} service"
|
19
19
|
end
|
20
20
|
|
21
21
|
def providers
|
data/lib/fog/core/version.rb
CHANGED
data/lib/fog/storage.rb
CHANGED
data/spec/storage_spec.rb
CHANGED
@@ -67,6 +67,7 @@ describe "Fog::Storage" do
|
|
67
67
|
module Storage
|
68
68
|
class BothWays
|
69
69
|
attr_reader :args
|
70
|
+
|
70
71
|
def initialize(args)
|
71
72
|
@args = args
|
72
73
|
end
|
@@ -105,5 +106,14 @@ describe "Fog::Storage" do
|
|
105
106
|
skip
|
106
107
|
end
|
107
108
|
end
|
109
|
+
|
110
|
+
it "respects frozen strings" do
|
111
|
+
if RUBY_VERSION >= "2.3.0"
|
112
|
+
body = "foo".freeze
|
113
|
+
Fog::Storage.get_body_size(body)
|
114
|
+
else
|
115
|
+
skip
|
116
|
+
end
|
117
|
+
end
|
108
118
|
end
|
109
|
-
end
|
119
|
+
end
|
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.
|
4
|
+
version: 1.38.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-
|
12
|
+
date: 2016-04-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: builder
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '0.
|
34
|
+
version: '0.49'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '0.
|
41
|
+
version: '0.49'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: formatador
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|