app_fog 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ .DS_Store
data/LICENSE.md ADDED
@@ -0,0 +1,7 @@
1
+ Copyright (C) 2013 by Allegro Networks Ltd.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,13 +1,30 @@
1
- Usage:
1
+ ## app_fog_gem
2
+ is a wrapper around the app fog command line interface. It's a slightly nicer way of deploying to app fog in your scripts.
2
3
 
3
4
  Ensure you have installed the af gem - https://docs.appfog.com/getting-started/af-cli
4
5
 
5
- task :default do
6
- your_username = 'your_email'
7
- your_password = 'your_super_secret_password'
8
- app_name = 'name_of_your_app_fog_app'
6
+ Currently logs you in when you create the appfog object, you can then update and start the app. Currently on updates from the location where you're running the script from.
9
7
 
10
- appfog = AppFog.new(username: your_username, password: your_password)
11
- appfog.update(app_name)
12
- appfog.start(app_name)
13
- end
8
+ Please tweet @ruby_gem with any problems or requests, contributions welcome.
9
+
10
+ ## Installation
11
+ `gem install af` the app fog cli needs to be installed first - https://docs.appfog.com/getting-started/af-cli
12
+
13
+ `gem install app_fog` or put `require 'app_fog'` in your Gemfile.
14
+
15
+ ## Usage
16
+
17
+
18
+ ``` ruby
19
+ require 'app_fog'
20
+
21
+ task :default do
22
+ your_username = 'your_email'
23
+ your_password = 'your_super_secret_password'
24
+ app_name = 'name_of_your_app_fog_app'
25
+
26
+ appfog = AppFog.new(username: your_username, password: your_password)
27
+ appfog.update(app_name)
28
+ appfog.start(app_name)
29
+ end
30
+ ```
data/app_fog.gemspec CHANGED
@@ -1,9 +1,11 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'app_fog'
3
- s.version = '1.0.3'
3
+ s.version = '1.0.4'
4
4
  s.date = '2013-06-12'
5
5
  s.summary = "A wrapper for the app fog command line interface."
6
- s.description = "Wrapping the app fog CLI into a gem to help you deploy more easily. Don't forget to install the af CLI using 'gem install af'. You can only update and start at the moment. Tweet @ruby_gem if you want more, or fork the code."
6
+ s.description = "Wrapping the app fog CLI into a gem to help you deploy more easily.
7
+ Don't forget to install the af CLI using 'gem install af'. You can only update and start at the moment.
8
+ Tweet @ruby_gem if you want more, or fork the code."
7
9
  s.authors = ["@ruby_gem"]
8
10
  s.email = 'gemma.cameron@gmail.com'
9
11
  s.files = `git ls-files`.split("\n")
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.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,23 +11,22 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2013-06-12 00:00:00.000000000 Z
13
13
  dependencies: []
14
- description: Wrapping the app fog CLI into a gem to help you deploy more easily. Don't
15
- forget to install the af CLI using 'gem install af'. You can only update and start
16
- at the moment. Tweet @ruby_gem if you want more, or fork the code.
14
+ description: ! "Wrapping the app fog CLI into a gem to help you deploy more easily.
15
+ \n Don't forget to install the af CLI using 'gem install af'.
16
+ You can only update and start at the moment. \n Tweet @ruby_gem
17
+ if you want more, or fork the code."
17
18
  email: gemma.cameron@gmail.com
18
19
  executables: []
19
20
  extensions: []
20
21
  extra_rdoc_files: []
21
22
  files:
22
- - .DS_Store
23
+ - .gitignore
24
+ - LICENSE.md
23
25
  - README.md
24
26
  - app_fog.gemspec
25
- - lib/.DS_Store
26
27
  - lib/app_fog.rb
27
- - lib/app_fog/.DS_Store
28
28
  - lib/app_fog/shell_command_wrapper.rb
29
29
  - rakefile.rb
30
- - test/.DS_Store
31
30
  - test/test_app_fog.rb
32
31
  - test/test_shell_command_wrapper.rb
33
32
  homepage: http://rubygems.org/gems/app_fog
data/.DS_Store DELETED
Binary file
data/lib/.DS_Store DELETED
Binary file
Binary file
data/test/.DS_Store DELETED
Binary file