waz-cmd 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -6,7 +6,7 @@ Installation
6
6
 
7
7
  To install, just `gem install waz-cmd`
8
8
 
9
- Basic usage
9
+ Example usage
10
10
  -----------
11
11
 
12
12
  c:\>waz generate certificates
@@ -22,7 +22,45 @@ Basic usage
22
22
  Waiting for operation to complete...
23
23
  Operation succeeded (200)
24
24
 
25
+ c:\>waz show deployment blobedit staging
26
+ STAGING
27
+ Label: ExtraSmall.cspkg2011-07-0120:54:04
28
+ Name: 27efeebeb18e4eb582a2e8fa0883957e
29
+ Status: Running
30
+ Url: http://78a9fdb38bc442238739b1154ea78cda.cloudapp.net/
31
+ SDK version: #1.4.20407.2049
32
+ ROLES
33
+ WebRole (WA-GUEST-OS-2.5_201104-01)
34
+ 2 Ready (use --expand to see details)
35
+ ENDPOINTS
36
+ 157.55.181.17:80 on WebRole
37
+
38
+ c:\>waz swap blobedit
39
+ Waiting for operation to complete...
40
+ Operation succeeded (200)
41
+
42
+ c:\>waz show deployment blobedit production
43
+ PRODUCTION
44
+ Label: ExtraSmall.cspkg2011-07-0120:54:04
45
+ Name: 27efeebeb18e4eb582a2e8fa0883957e
46
+ Status: Running
47
+ Url: http://blobedit.cloudapp.net/
48
+ SDK version: #1.4.20407.2049
49
+ ROLES
50
+ WebRole (WA-GUEST-OS-2.5_201104-01)
51
+ 2 Ready (use --expand to see details)
52
+ ENDPOINTS
53
+ 157.55.181.17:80 on WebRole
54
+
55
+ c:\>waz show configuration blobedit production
56
+ WebRole
57
+ Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString: UseDevelopmentStorage=true
58
+ GitUrl: git://github.com/smarx/blobedit
59
+ DataConnectionString: DefaultEndpointsProtocol=http;AccountName=YOURACCOUNT;AccountKey=YOURKEY
60
+ ContainerName:
61
+ NumProcesses: 4
62
+
25
63
  Documentation
26
64
  -------------
27
65
 
28
- Just run `waz help` for full documentation.
66
+ Run `waz help` for full documentation.
@@ -1,5 +1,5 @@
1
1
  module Waz
2
2
  module Cmd
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
data/lib/waz-cmd.rb CHANGED
@@ -1,6 +1,10 @@
1
1
  module Waz
2
2
  module Cmd
3
- require 'faster_require'
3
+ begin
4
+ require 'faster_require' if RUBY_PLATFORM =~ /win32|mingw32/
5
+ rescue
6
+ puts 'WARNING: Waz will run faster on Windows if you install the "faster_require" gem.'
7
+ end
4
8
  require 'rexml/document'
5
9
  require 'rexml/xpath'
6
10
  require 'iconv'
@@ -10,7 +14,7 @@ module Waz
10
14
  puts 'WARNING: Output will look weird on Windows unless you install the "win32console" gem.'
11
15
  end
12
16
  require 'openssl'
13
- require 'RestClient'
17
+ require 'rest_client'
14
18
  require 'tilt'
15
19
  require 'base64'
16
20
  require 'yaml'
data/waz-cmd.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Steve Marx"]
10
10
  s.email = ["Steve.Marx@microsoft.com"]
11
- s.homepage = "http://blog.smarx.com"
11
+ s.homepage = "http://github.com/smarx/waz-cmd"
12
12
  s.summary = %q{Command-line tool to manage Windows Azure applications and storage accounts.}
13
13
  s.description = %q{This gem allows you to perform most of the available operations in the Windows Azure Service Management API from a friendly commandline tool.}
14
14
 
@@ -18,7 +18,6 @@ Gem::Specification.new do |s|
18
18
  s.require_paths = ["lib"]
19
19
 
20
20
  s.add_dependency('commander')
21
- s.add_dependency('faster_require')
22
21
  s.add_dependency('tilt')
23
22
  s.add_dependency('crack')
24
23
  s.add_dependency('nokogiri')
metadata CHANGED
@@ -1,102 +1,117 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: waz-cmd
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Steve Marx
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-07-01 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2011-07-01 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
15
22
  name: commander
16
- requirement: &25037928 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
23
  prerelease: false
24
- version_requirements: *25037928
25
- - !ruby/object:Gem::Dependency
26
- name: faster_require
27
- requirement: &25037316 !ruby/object:Gem::Requirement
24
+ requirement: &id001 !ruby/object:Gem::Requirement
28
25
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
33
  type: :runtime
34
- prerelease: false
35
- version_requirements: *25037316
36
- - !ruby/object:Gem::Dependency
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
37
36
  name: tilt
38
- requirement: &25036848 !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
39
  none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
44
47
  type: :runtime
45
- prerelease: false
46
- version_requirements: *25036848
47
- - !ruby/object:Gem::Dependency
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
48
50
  name: crack
49
- requirement: &25036296 !ruby/object:Gem::Requirement
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
50
53
  none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
55
61
  type: :runtime
56
- prerelease: false
57
- version_requirements: *25036296
58
- - !ruby/object:Gem::Dependency
62
+ version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
59
64
  name: nokogiri
60
- requirement: &25035756 !ruby/object:Gem::Requirement
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
61
67
  none: false
62
- requirements:
63
- - - ! '>='
64
- - !ruby/object:Gem::Version
65
- version: '0'
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ hash: 3
72
+ segments:
73
+ - 0
74
+ version: "0"
66
75
  type: :runtime
67
- prerelease: false
68
- version_requirements: *25035756
69
- - !ruby/object:Gem::Dependency
76
+ version_requirements: *id004
77
+ - !ruby/object:Gem::Dependency
70
78
  name: waz-storage
71
- requirement: &25035240 !ruby/object:Gem::Requirement
79
+ prerelease: false
80
+ requirement: &id005 !ruby/object:Gem::Requirement
72
81
  none: false
73
- requirements:
74
- - - ! '>='
75
- - !ruby/object:Gem::Version
76
- version: '0'
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ hash: 3
86
+ segments:
87
+ - 0
88
+ version: "0"
77
89
  type: :runtime
78
- prerelease: false
79
- version_requirements: *25035240
80
- - !ruby/object:Gem::Dependency
90
+ version_requirements: *id005
91
+ - !ruby/object:Gem::Dependency
81
92
  name: uuidtools
82
- requirement: &21821088 !ruby/object:Gem::Requirement
93
+ prerelease: false
94
+ requirement: &id006 !ruby/object:Gem::Requirement
83
95
  none: false
84
- requirements:
85
- - - ! '>='
86
- - !ruby/object:Gem::Version
87
- version: '0'
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ hash: 3
100
+ segments:
101
+ - 0
102
+ version: "0"
88
103
  type: :runtime
89
- prerelease: false
90
- version_requirements: *21821088
91
- description: This gem allows you to perform most of the available operations in the
92
- Windows Azure Service Management API from a friendly commandline tool.
93
- email:
104
+ version_requirements: *id006
105
+ description: This gem allows you to perform most of the available operations in the Windows Azure Service Management API from a friendly commandline tool.
106
+ email:
94
107
  - Steve.Marx@microsoft.com
95
- executables:
108
+ executables:
96
109
  - waz
97
110
  extensions: []
111
+
98
112
  extra_rdoc_files: []
99
- files:
113
+
114
+ files:
100
115
  - .gitignore
101
116
  - Gemfile
102
117
  - LICENSE
@@ -116,28 +131,39 @@ files:
116
131
  - lib/waz-cmd/templates/show_storage.erb
117
132
  - lib/waz-cmd/version.rb
118
133
  - waz-cmd.gemspec
119
- homepage: http://blog.smarx.com
134
+ has_rdoc: true
135
+ homepage: http://github.com/smarx/waz-cmd
120
136
  licenses: []
137
+
121
138
  post_install_message:
122
139
  rdoc_options: []
123
- require_paths:
140
+
141
+ require_paths:
124
142
  - lib
125
- required_ruby_version: !ruby/object:Gem::Requirement
143
+ required_ruby_version: !ruby/object:Gem::Requirement
126
144
  none: false
127
- requirements:
128
- - - ! '>='
129
- - !ruby/object:Gem::Version
130
- version: '0'
131
- required_rubygems_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ hash: 3
149
+ segments:
150
+ - 0
151
+ version: "0"
152
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
153
  none: false
133
- requirements:
134
- - - ! '>='
135
- - !ruby/object:Gem::Version
136
- version: '0'
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ hash: 3
158
+ segments:
159
+ - 0
160
+ version: "0"
137
161
  requirements: []
162
+
138
163
  rubyforge_project:
139
- rubygems_version: 1.8.5
164
+ rubygems_version: 1.3.7
140
165
  signing_key:
141
166
  specification_version: 3
142
167
  summary: Command-line tool to manage Windows Azure applications and storage accounts.
143
168
  test_files: []
169
+