vmc 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.
data/LICENSE CHANGED
@@ -1,3 +1,19 @@
1
- Copyright (c) 2010 VMWare Inc
1
+ Copyright (c) 2010 VMware Inc, All Rights Reserved
2
2
 
3
- All Rights Reserved
3
+ “Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE."
data/README CHANGED
@@ -1,3 +0,0 @@
1
- == vmc
2
-
3
- A gem that provides command line access to the VMWare PaaS Cloud
data/Rakefile CHANGED
@@ -6,17 +6,27 @@ require 'spec/rake/spectask'
6
6
 
7
7
  spec = Gem::Specification.new do |s|
8
8
  s.name = "vmc"
9
- s.version = "0.0.4"
9
+ s.version = "0.0.5"
10
10
  s.author = "Ezra Zygmuntowicz"
11
11
  s.email = "ez@vmware.com"
12
12
  s.homepage = "http://vmware.com"
13
- s.description = s.summary = "A gem that provides command line access to the vmware cloud application platform"
13
+ s.description = s.summary = "A gem that provides command line access to the VMWare Cloud OS"
14
14
 
15
15
  s.platform = Gem::Platform::RUBY
16
16
  s.has_rdoc = true
17
17
  s.extra_rdoc_files = ["README", "LICENSE"]
18
+ s.executables = %w(vmc vmc.bat)
18
19
  # Uncomment this to add a dependency
19
- # s.add_dependency "foo"
20
+ s.add_dependency "main"
21
+ s.add_dependency "arrayfields"
22
+ s.add_dependency "fattr"
23
+ s.add_dependency "main"
24
+ s.add_dependency "json_pure"
25
+ s.add_dependency "mime-types"
26
+ s.add_dependency "rubyzip2"
27
+ s.add_dependency "highline"
28
+
29
+ s.bindir = "bin"
20
30
 
21
31
  s.require_path = 'lib'
22
32
  s.files = %w(LICENSE README Rakefile) + Dir.glob("{lib,spec,vendor}/**/*")
@@ -38,4 +48,26 @@ task :make_spec do
38
48
  File.open("#{GEM}.gemspec", "w") do |file|
39
49
  file.puts spec.to_ruby
40
50
  end
51
+ end
52
+
53
+ namespace "bundler" do
54
+ desc "Install gems"
55
+ task "install" do
56
+ sh("bundle install")
57
+ end
58
+
59
+ desc "Install gems for test"
60
+ task "install:test" do
61
+ sh("bundle install --without development production")
62
+ end
63
+
64
+ desc "Install gems for production"
65
+ task "install:production" do
66
+ sh("bundle install --without development test")
67
+ end
68
+
69
+ desc "Install gems for development"
70
+ task "install:development" do
71
+ sh("bundle install --without test production")
72
+ end
41
73
  end
data/bin/vmc ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')
4
+
5
+ require 'parse'
data/bin/vmc.bat ADDED
@@ -0,0 +1 @@
1
+ @ ruby "%~dp0vmc" %1 %2 %3 %4 %5 %6