fog-akamai 0.5.0 → 0.5.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: f6c27c6eba6ca0f38e804c4eb82ebb102367e1eb
4
- data.tar.gz: b2f945bf7fdb1be2e4bb987c31fc1af89be4ef8d
3
+ metadata.gz: eb74cfbefdbb404a01a52f5f4af013aef41a2ff4
4
+ data.tar.gz: 5598514c138b5b29716b5afb3c2b31709856ed62
5
5
  SHA512:
6
- metadata.gz: b4f0605c05d091ce683511b8363ed4d07c9a737df8950373b91f8a38ebca998c9b7b741010a2e327579428ce6d44bcaaccb24887381960824380f5b20d77408c
7
- data.tar.gz: 163d6e859734fb81e94c6f9897adc7a125c436f1339b38a4b0edc18119adac2ed84cb3e22cc879ef8e8ed78738e29b6104ae990fc66ce396f1fd49a0f2444e97
6
+ metadata.gz: 61a0a0f2a7d6e9a3e69a2c24a3345c8bc1be5e7e131bb8da0c55e22789af4e8175865bcbb0fa6a7b8fc9f335398babb7967b0a8fb401b56afe6ad28c50b907f5
7
+ data.tar.gz: 5bd87cf5fc49e407726996c10fa11a0c6db4f12512c6f2868a28e8a322fdba6d30cd935330413c81b39f9dd5652380f305fc29d9d4bfe0e67abb1842bb3ed70c
data/README.md CHANGED
@@ -25,7 +25,7 @@ Or install it yourself as:
25
25
  Before you can use fog-akamai, you must require it in your application:
26
26
 
27
27
  ```ruby
28
- require 'fog/aws'
28
+ require 'fog/akamai'
29
29
  ```
30
30
 
31
31
  Since it's a bad practice to have your credentials in source code, you should load them from default fog configuration file: ```~/.fog```. This file could look like this:
@@ -21,6 +21,10 @@ module Fog
21
21
  directory
22
22
  end
23
23
 
24
+ def new(attributes)
25
+ super({ parent: parent }.merge!(attributes))
26
+ end
27
+
24
28
  private
25
29
 
26
30
  def load_files(directory, data)
@@ -23,6 +23,11 @@ module Fog
23
23
  rescue Excon::Errors::NotFound
24
24
  nil
25
25
  end
26
+
27
+ def new(attributes = {})
28
+ requires :directory
29
+ super({ directory: directory }.merge!(attributes))
30
+ end
26
31
  end
27
32
  end
28
33
  end
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Akamai
3
- VERSION = '0.5.0'
3
+ VERSION = '0.5.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-akamai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Calin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-29 00:00:00.000000000 Z
11
+ date: 2015-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler