torquebox-backstage 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ * 1.0.3 - 2012-04-19
2
+ * add builtin webconsole
3
+
1
4
  * 1.0.2 - 2012-04-18
2
5
  * relax bundler requirement
3
6
 
data/Gemfile CHANGED
@@ -8,6 +8,7 @@ gem 'json', '1.5.1'
8
8
  gem 'torquebox', '~> 2.0.0'
9
9
  gem 'tobias-sinatra-url-for', '0.2.1'
10
10
  gem 'rack-accept', '~>0.4.0'
11
+ gem 'torquebox-webconsole', '0.1.0'
11
12
 
12
13
  # These are commented out to keep them out of Gemfile.lock
13
14
  #group :development do
data/VERSION CHANGED
@@ -1,3 +1,3 @@
1
- 1.0.2
1
+ 1.0.3
2
2
 
3
3
 
data/backstage.rb CHANGED
@@ -16,6 +16,7 @@
16
16
 
17
17
  require 'sinatra/base'
18
18
  require 'rack/accept'
19
+ require 'torquebox/webconsole'
19
20
  require 'haml'
20
21
  require 'sass'
21
22
  require 'jmx'
@@ -48,7 +49,8 @@ module Backstage
48
49
  enable :sessions
49
50
  use Rack::Accept
50
51
  use Rack::CommonLogger, Backstage.logger
51
-
52
+ use Rack::Webconsole
53
+
52
54
  include Backstage::Authentication
53
55
 
54
56
  set :views, Proc.new { File.join( File.dirname( __FILE__ ), "views" ) }
data/views/css/style.sass CHANGED
@@ -65,6 +65,10 @@ body
65
65
  margin: 30px 0
66
66
  text-align: center
67
67
 
68
+ #tip
69
+ font-style: italic
70
+ margin-bottom: 20px
71
+
68
72
  .data-table
69
73
  .data-row
70
74
  td.label, td.value
data/views/layout.haml CHANGED
@@ -23,9 +23,14 @@
23
23
  #content
24
24
  = yield
25
25
  #footer
26
- %a{:href => 'https://github.com/torquebox/backstage'}<
27
- Backstage
28
- v#{Backstage::BACKSTAGE_VERSION} for
29
- %a{:href => 'http://torquebox.org/'}<
30
- TorqueBox
31
- v#{Backstage::TORQUEBOX_VERSION}
26
+ #tip
27
+ Tip: press the backquote (`) key to bring up a ruby
28
+ %a{:href => 'https://github.com/torquebox/torquebox-webconsole'}<
29
+ console
30
+ #version
31
+ %a{:href => 'https://github.com/torquebox/backstage'}<
32
+ Backstage
33
+ v#{Backstage::BACKSTAGE_VERSION} for
34
+ %a{:href => 'http://torquebox.org/'}<
35
+ TorqueBox
36
+ v#{Backstage::TORQUEBOX_VERSION}
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: torquebox-backstage
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.2
5
+ version: 1.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Tobias Crawley
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2012-04-18 00:00:00 Z
15
+ date: 2012-04-19 00:00:00 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: sinatra
@@ -125,38 +125,49 @@ dependencies:
125
125
  type: :runtime
126
126
  version_requirements: *id010
127
127
  - !ruby/object:Gem::Dependency
128
- name: watchr
128
+ name: torquebox-webconsole
129
129
  prerelease: false
130
130
  requirement: &id011 !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - "="
134
+ - !ruby/object:Gem::Version
135
+ version: 0.1.0
136
+ type: :runtime
137
+ version_requirements: *id011
138
+ - !ruby/object:Gem::Dependency
139
+ name: watchr
140
+ prerelease: false
141
+ requirement: &id012 !ruby/object:Gem::Requirement
131
142
  none: false
132
143
  requirements:
133
144
  - - ~>
134
145
  - !ruby/object:Gem::Version
135
146
  version: "0.7"
136
147
  type: :development
137
- version_requirements: *id011
148
+ version_requirements: *id012
138
149
  - !ruby/object:Gem::Dependency
139
150
  name: rspec
140
151
  prerelease: false
141
- requirement: &id012 !ruby/object:Gem::Requirement
152
+ requirement: &id013 !ruby/object:Gem::Requirement
142
153
  none: false
143
154
  requirements:
144
155
  - - ~>
145
156
  - !ruby/object:Gem::Version
146
157
  version: 2.6.0
147
158
  type: :development
148
- version_requirements: *id012
159
+ version_requirements: *id013
149
160
  - !ruby/object:Gem::Dependency
150
161
  name: rack-test
151
162
  prerelease: false
152
- requirement: &id013 !ruby/object:Gem::Requirement
163
+ requirement: &id014 !ruby/object:Gem::Requirement
153
164
  none: false
154
165
  requirements:
155
166
  - - ~>
156
167
  - !ruby/object:Gem::Version
157
168
  version: 0.6.0
158
169
  type: :development
159
- version_requirements: *id013
170
+ version_requirements: *id014
160
171
  description: BackStage allows you to look behind the TorqueBox curtain, and view information about all of the components you have running. It includes support for remote code execution and log tailing to aid in debugging.
161
172
  email: tcrawley@redhat.com
162
173
  executables: