app_fog 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. metadata +4 -5
  2. data/lib/app_fog.rb +0 -30
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_fog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,19 +12,18 @@ cert_chain: []
12
12
  date: 2013-06-07 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Wrapping the app fog CLI into a gem to help you deploy more easily using
15
- your rake script.
15
+ your rake script. Fixed issues with first version.
16
16
  email: gemma.cameron@gmail.com
17
17
  executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
- files:
21
- - lib/app_fog.rb
20
+ files: []
22
21
  homepage: http://rubygems.org/gems/app_fog
23
22
  licenses: []
24
23
  post_install_message:
25
24
  rdoc_options: []
26
25
  require_paths:
27
- - lib
26
+ - liblib/app_fog
28
27
  required_ruby_version: !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
data/lib/app_fog.rb DELETED
@@ -1,30 +0,0 @@
1
-
2
- class AppFog
3
- def initialize(credentials, shell_command = ShellCommandWrapper.new())
4
- @shell_command = shell_command
5
- @username = credentials.username
6
- @password = credentials.password
7
- login
8
- end
9
-
10
- def login
11
- @shell_command.perform "af login --email #{@username} --passwd #{@password}"
12
- end
13
-
14
- def update(app_name)
15
- @shell_command.perform "af update #{app_name}"
16
- end
17
-
18
- def start(app_name)
19
- @shell_command.perform "af start #{app_name}"
20
- end
21
- end
22
-
23
- class Credentials
24
- attr_reader :username, :password
25
-
26
- def initialize(username, password)
27
- @username = username
28
- @password = password
29
- end
30
- end