rumx 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.md +4 -0
- data/lib/rumx/beans/timer_and_error.rb +0 -7
- metadata +145 -154
- data/lib/rumx/server/views/content_attributes.haml.error_attempt +0 -51
data/History.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
Rumx Changelog
|
2
2
|
=====================
|
3
3
|
|
4
|
+
0.1.2
|
5
|
+
|
6
|
+
- Changed Beans::TimerAndError so it doesn't reset error count. Works better to map this as a trend upward attribute.
|
7
|
+
|
4
8
|
0.1.1
|
5
9
|
|
6
10
|
- Changed Bean::Timer attribute total_count to count and added non-resettable total_count as attribute.
|
metadata
CHANGED
@@ -1,176 +1,167 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rumx
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
4
5
|
prerelease:
|
5
|
-
version: 0.1.1
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
|
7
|
+
authors:
|
8
|
+
- Brad Pardee
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
version_requirements: *id003
|
12
|
+
date: 2012-01-03 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: sinatra
|
16
|
+
requirement: &70203677462500 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70203677462500
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: haml
|
27
|
+
requirement: &70203677462060 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70203677462060
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rack
|
38
|
+
requirement: &70203677461640 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70203677461640
|
48
47
|
description: A Ruby version of JMX
|
49
|
-
email:
|
50
|
-
|
48
|
+
email:
|
49
|
+
- bradpardee@gmail.com
|
51
50
|
executables: []
|
52
|
-
|
53
51
|
extensions: []
|
54
|
-
|
55
52
|
extra_rdoc_files: []
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
- History.md
|
147
|
-
- README.md
|
53
|
+
files:
|
54
|
+
- examples/bean_hash/config.ru
|
55
|
+
- examples/bean_hash/my_bean.rb
|
56
|
+
- examples/bean_hash/README
|
57
|
+
- examples/bean_list/config.ru
|
58
|
+
- examples/bean_list/my_bean.rb
|
59
|
+
- examples/bean_list/README
|
60
|
+
- examples/embedded/config.ru
|
61
|
+
- examples/embedded/my_bean.rb
|
62
|
+
- examples/embedded/my_embedded_bean.rb
|
63
|
+
- examples/embedded/README
|
64
|
+
- examples/hash/config.ru
|
65
|
+
- examples/hash/my_bean.rb
|
66
|
+
- examples/hash/README
|
67
|
+
- examples/list/config.ru
|
68
|
+
- examples/list/my_bean.rb
|
69
|
+
- examples/list/README
|
70
|
+
- examples/monitor_script/README
|
71
|
+
- examples/monitor_script/rumx_attributes
|
72
|
+
- examples/simple/config.ru
|
73
|
+
- examples/simple/my_bean.rb
|
74
|
+
- examples/simple/my_other_bean.rb
|
75
|
+
- examples/simple/README
|
76
|
+
- examples/timer/config.ru
|
77
|
+
- examples/timer/my_bean.rb
|
78
|
+
- examples/timer/README
|
79
|
+
- examples/timer_hash/config.ru
|
80
|
+
- examples/timer_hash/my_bean.rb
|
81
|
+
- examples/timer_hash/README
|
82
|
+
- lib/rumx/argument.rb
|
83
|
+
- lib/rumx/attribute.rb
|
84
|
+
- lib/rumx/attribute_info.rb
|
85
|
+
- lib/rumx/bean.rb
|
86
|
+
- lib/rumx/beans/error.rb
|
87
|
+
- lib/rumx/beans/folder.rb
|
88
|
+
- lib/rumx/beans/hash.rb
|
89
|
+
- lib/rumx/beans/message.rb
|
90
|
+
- lib/rumx/beans/timer.rb
|
91
|
+
- lib/rumx/beans/timer_and_error.rb
|
92
|
+
- lib/rumx/beans/timer_hash.rb
|
93
|
+
- lib/rumx/beans.rb
|
94
|
+
- lib/rumx/hash_attribute.rb
|
95
|
+
- lib/rumx/hash_bean.rb
|
96
|
+
- lib/rumx/list_attribute.rb
|
97
|
+
- lib/rumx/list_bean.rb
|
98
|
+
- lib/rumx/operation.rb
|
99
|
+
- lib/rumx/server/public/_lib/jquery.cookie.js
|
100
|
+
- lib/rumx/server/public/_lib/jquery.hotkeys.js
|
101
|
+
- lib/rumx/server/public/_lib/jquery.js
|
102
|
+
- lib/rumx/server/public/attribute_test.html
|
103
|
+
- lib/rumx/server/public/jquery-ui-1.8.16.custom.min.js
|
104
|
+
- lib/rumx/server/public/jquery.jstree.js
|
105
|
+
- lib/rumx/server/public/jquery.layout.min-1.2.0.js
|
106
|
+
- lib/rumx/server/public/themes/apple/bg.jpg
|
107
|
+
- lib/rumx/server/public/themes/apple/d.png
|
108
|
+
- lib/rumx/server/public/themes/apple/dot_for_ie.gif
|
109
|
+
- lib/rumx/server/public/themes/apple/style.css
|
110
|
+
- lib/rumx/server/public/themes/apple/throbber.gif
|
111
|
+
- lib/rumx/server/public/themes/classic/d.gif
|
112
|
+
- lib/rumx/server/public/themes/classic/d.png
|
113
|
+
- lib/rumx/server/public/themes/classic/dot_for_ie.gif
|
114
|
+
- lib/rumx/server/public/themes/classic/style.css
|
115
|
+
- lib/rumx/server/public/themes/classic/throbber.gif
|
116
|
+
- lib/rumx/server/public/themes/default/d.gif
|
117
|
+
- lib/rumx/server/public/themes/default/d.png
|
118
|
+
- lib/rumx/server/public/themes/default/style.css
|
119
|
+
- lib/rumx/server/public/themes/default/throbber.gif
|
120
|
+
- lib/rumx/server/public/themes/default-rtl/d.gif
|
121
|
+
- lib/rumx/server/public/themes/default-rtl/d.png
|
122
|
+
- lib/rumx/server/public/themes/default-rtl/dots.gif
|
123
|
+
- lib/rumx/server/public/themes/default-rtl/style.css
|
124
|
+
- lib/rumx/server/public/themes/default-rtl/throbber.gif
|
125
|
+
- lib/rumx/server/views/attribute_value_tag.haml
|
126
|
+
- lib/rumx/server/views/content_attributes.haml
|
127
|
+
- lib/rumx/server/views/content_operation.haml
|
128
|
+
- lib/rumx/server/views/content_operations.haml
|
129
|
+
- lib/rumx/server/views/index.haml
|
130
|
+
- lib/rumx/server/views/layout.haml
|
131
|
+
- lib/rumx/server/views/link_to_content.haml
|
132
|
+
- lib/rumx/server/views/tree.haml
|
133
|
+
- lib/rumx/server/views/tree_bean.haml
|
134
|
+
- lib/rumx/server/views/tree_bean_attributes.haml
|
135
|
+
- lib/rumx/server/views/tree_bean_operations.haml
|
136
|
+
- lib/rumx/server.rb
|
137
|
+
- lib/rumx/type.rb
|
138
|
+
- lib/rumx.rb
|
139
|
+
- LICENSE.txt
|
140
|
+
- Rakefile
|
141
|
+
- History.md
|
142
|
+
- README.md
|
148
143
|
homepage: http://github.com/ClarityServices/rumx
|
149
144
|
licenses: []
|
150
|
-
|
151
145
|
post_install_message:
|
152
146
|
rdoc_options: []
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
147
|
+
require_paths:
|
148
|
+
- lib
|
149
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
157
150
|
none: false
|
158
|
-
requirements:
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ! '>='
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
156
|
none: false
|
164
|
-
requirements:
|
165
|
-
|
166
|
-
|
167
|
-
|
157
|
+
requirements:
|
158
|
+
- - ! '>='
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
168
161
|
requirements: []
|
169
|
-
|
170
162
|
rubyforge_project:
|
171
|
-
rubygems_version: 1.8.
|
163
|
+
rubygems_version: 1.8.10
|
172
164
|
signing_key:
|
173
165
|
specification_version: 3
|
174
166
|
summary: Ruby Management Extensions
|
175
167
|
test_files: []
|
176
|
-
|
@@ -1,51 +0,0 @@
|
|
1
|
-
%h3= path
|
2
|
-
%h4 Attributes
|
3
|
-
%form#form{ :method =>'POST' }
|
4
|
-
%table{:width => '100%'}
|
5
|
-
%thead
|
6
|
-
%tr
|
7
|
-
%td Name
|
8
|
-
%td Description
|
9
|
-
%td Allow Read
|
10
|
-
%td Allow Write
|
11
|
-
%td Type
|
12
|
-
%td Value
|
13
|
-
%tbody
|
14
|
-
- bean.send(get_set_method, params) do |attribute, value, rel_path, param_name|
|
15
|
-
%tr
|
16
|
-
- #puts "path=#{path} type=#{path.class.name} rel_path=#{rel_path} class=#{rel_path.class.name}"
|
17
|
-
%td= link_to_attribute(path, rel_path)
|
18
|
-
%td= attribute.description
|
19
|
-
%td= attribute.allow_read
|
20
|
-
%td= attribute.allow_write
|
21
|
-
%td= attribute.type.to_s
|
22
|
-
%td= attribute_value_tag(attribute, param_name, value)
|
23
|
-
%input{ :type => 'submit', :value => 'Update' }
|
24
|
-
|
25
|
-
:javascript
|
26
|
-
$("#form").submit(function() {
|
27
|
-
$.post("#{attributes_path(path)}", $("#form").serialize(), function(result) {
|
28
|
-
$("#content").html(result);
|
29
|
-
})
|
30
|
-
.error(function(xhr, ajaxOptions, thrownError) { alert("error"); });
|
31
|
-
return false;
|
32
|
-
});
|
33
|
-
-#$().ready(function(){
|
34
|
-
-#$.ajaxSetup({
|
35
|
-
-# error:function(x,e){
|
36
|
-
-# if(x.status==0){
|
37
|
-
-# alert('You are offline!!\n Please Check Your Network.');
|
38
|
-
-# }else if(x.status==404){
|
39
|
-
-# alert('Requested URL not found.');
|
40
|
-
-# }else if(x.status==500){
|
41
|
-
-# alert('Internel Server Error.');
|
42
|
-
-# }else if(e=='parsererror'){
|
43
|
-
-# alert('Error.\nParsing JSON Request failed.');
|
44
|
-
-# }else if(e=='timeout'){
|
45
|
-
-# alert('Request Time out.');
|
46
|
-
-# }else {
|
47
|
-
-# alert('Unknow Error.\n'+x.responseText);
|
48
|
-
-# }
|
49
|
-
-# }
|
50
|
-
-#});
|
51
|
-
-#});
|