akamaized 0.0.4 → 0.0.5

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.
@@ -27,17 +27,17 @@ module Akamaized
27
27
  include AkamaizedException
28
28
 
29
29
  def initialize(config = {})
30
- Config.new(config)
30
+ @config = Config.new(config)
31
31
  create_connection
32
32
  end
33
33
 
34
34
 
35
35
  def create_connection
36
36
  begin
37
- @connection = Net::FTP.new(Config.host)
37
+ @connection = Net::FTP.new(@config.host)
38
38
  @connection.passive = true
39
- @connection.login(Config.username, Config.password)
40
- @connection.chdir(Config.base_dir) if Config.base_dir
39
+ @connection.login(@config.username, @config.password)
40
+ @connection.chdir(@config.base_dir) if @config.base_dir
41
41
  rescue Exception => e
42
42
  raise connection_error
43
43
  end
@@ -1,3 +1,3 @@
1
1
  module Akamaized
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: akamaized
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.4
5
+ version: 0.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brandon Hansen, Eric Casequin