scales-monitor 0.0.1.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/.gitignore +17 -0
  2. data/Gemfile +6 -0
  3. data/LICENSE +22 -0
  4. data/Rakefile +8 -0
  5. data/bin/scales-monitor +8 -0
  6. data/lib/scales-monitor.rb +11 -0
  7. data/lib/scales-monitor/app/Gemfile +3 -0
  8. data/lib/scales-monitor/app/Rakefile +0 -0
  9. data/lib/scales-monitor/app/app/assets/images/.gitignore +0 -0
  10. data/lib/scales-monitor/app/app/assets/images/glyphicons-halflings-white.png +0 -0
  11. data/lib/scales-monitor/app/app/assets/images/glyphicons-halflings.png +0 -0
  12. data/lib/scales-monitor/app/app/assets/javascripts/app/config/config.js.coffee +8 -0
  13. data/lib/scales-monitor/app/app/assets/javascripts/app/config/routes.js.coffee +15 -0
  14. data/lib/scales-monitor/app/app/assets/javascripts/app/controllers/.gitignore +0 -0
  15. data/lib/scales-monitor/app/app/assets/javascripts/app/controllers/log.jst.coffee +58 -0
  16. data/lib/scales-monitor/app/app/assets/javascripts/app/controllers/machines.js.coffee +60 -0
  17. data/lib/scales-monitor/app/app/assets/javascripts/app/controllers/queues.js.coffee +55 -0
  18. data/lib/scales-monitor/app/app/assets/javascripts/app/controllers/resources.js.coffee +128 -0
  19. data/lib/scales-monitor/app/app/assets/javascripts/app/index.js.coffee +8 -0
  20. data/lib/scales-monitor/app/app/assets/javascripts/app/models/.gitignore +0 -0
  21. data/lib/scales-monitor/app/app/assets/javascripts/app/models/socket.js.coffee +9 -0
  22. data/lib/scales-monitor/app/app/assets/javascripts/app/views/.gitignore +0 -0
  23. data/lib/scales-monitor/app/app/assets/javascripts/app/views/_format_bar.jst.eco +10 -0
  24. data/lib/scales-monitor/app/app/assets/javascripts/app/views/_machine.jst.eco +11 -0
  25. data/lib/scales-monitor/app/app/assets/javascripts/app/views/_queue_item.jst.eco +10 -0
  26. data/lib/scales-monitor/app/app/assets/javascripts/app/views/_resource.jst.eco +5 -0
  27. data/lib/scales-monitor/app/app/assets/javascripts/app/views/_top.jst.eco +1 -0
  28. data/lib/scales-monitor/app/app/assets/javascripts/app/views/log.jst.eco +11 -0
  29. data/lib/scales-monitor/app/app/assets/javascripts/app/views/machines.jst.eco +33 -0
  30. data/lib/scales-monitor/app/app/assets/javascripts/app/views/queues.jst.eco +33 -0
  31. data/lib/scales-monitor/app/app/assets/javascripts/app/views/resources.jst.eco +31 -0
  32. data/lib/scales-monitor/app/app/assets/javascripts/application.js.coffee +16 -0
  33. data/lib/scales-monitor/app/app/assets/javascripts/lib/bootstrap.js +1825 -0
  34. data/lib/scales-monitor/app/app/assets/javascripts/lib/jquery.js +4 -0
  35. data/lib/scales-monitor/app/app/assets/javascripts/lib/jquery.timeago.js +152 -0
  36. data/lib/scales-monitor/app/app/assets/javascripts/lib/json2.js +485 -0
  37. data/lib/scales-monitor/app/app/assets/javascripts/lib/spine/ajax.coffee +208 -0
  38. data/lib/scales-monitor/app/app/assets/javascripts/lib/spine/list.coffee +43 -0
  39. data/lib/scales-monitor/app/app/assets/javascripts/lib/spine/local.coffee +16 -0
  40. data/lib/scales-monitor/app/app/assets/javascripts/lib/spine/manager.coffee +83 -0
  41. data/lib/scales-monitor/app/app/assets/javascripts/lib/spine/relation.coffee +144 -0
  42. data/lib/scales-monitor/app/app/assets/javascripts/lib/spine/route.coffee +145 -0
  43. data/lib/scales-monitor/app/app/assets/javascripts/lib/spine/spine.coffee +537 -0
  44. data/lib/scales-monitor/app/app/assets/stylesheets/application.css.scss +58 -0
  45. data/lib/scales-monitor/app/app/assets/stylesheets/bootstrap-docs.css +845 -0
  46. data/lib/scales-monitor/app/app/assets/stylesheets/bootstrap-responsive.css +815 -0
  47. data/lib/scales-monitor/app/app/assets/stylesheets/bootstrap.css +4983 -0
  48. data/lib/scales-monitor/app/app/views/index.html.erb +45 -0
  49. data/lib/scales-monitor/app/config.ru +3 -0
  50. data/lib/scales-monitor/app/config/config.rb +17 -0
  51. data/lib/scales-monitor/app/config/routes.rb +13 -0
  52. data/lib/scales-monitor/app/public/assets/.gitignore +0 -0
  53. data/lib/scales-monitor/app/public/assets/application.css +6709 -0
  54. data/lib/scales-monitor/app/public/assets/application.js +5563 -0
  55. data/lib/scales-monitor/app/public/assets/glyphicons-halflings-white.png +0 -0
  56. data/lib/scales-monitor/app/public/assets/glyphicons-halflings.png +0 -0
  57. data/lib/scales-monitor/app/public/index.html +45 -0
  58. data/lib/scales-monitor/base.rb +17 -0
  59. data/lib/scales-monitor/boot/autoload.rb +5 -0
  60. data/lib/scales-monitor/boot/initializers/goliath.rb +3 -0
  61. data/lib/scales-monitor/monitor.rb +33 -0
  62. data/lib/scales-monitor/version.rb +5 -0
  63. data/lib/scales-monitor/web_socket.rb +180 -0
  64. data/scales-monitor.gemspec +24 -0
  65. data/spec/gem_spec.rb +7 -0
  66. data/spec/helper.rb +50 -0
  67. data/spec/monitor_spec.rb +50 -0
  68. data/spec/web_socket_spec.rb +103 -0
  69. metadata +174 -0
metadata ADDED
@@ -0,0 +1,174 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: scales-monitor
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.beta.1
5
+ prerelease: 6
6
+ platform: ruby
7
+ authors:
8
+ - Thomas Fankhauser
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-08-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake
16
+ requirement: &70132488822200 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 0.9.2.2
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70132488822200
25
+ - !ruby/object:Gem::Dependency
26
+ name: rspec
27
+ requirement: &70132488821520 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '2.11'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70132488821520
36
+ - !ruby/object:Gem::Dependency
37
+ name: scales-core
38
+ requirement: &70132488840540 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - =
42
+ - !ruby/object:Gem::Version
43
+ version: 0.0.1.beta.1
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *70132488840540
47
+ - !ruby/object:Gem::Dependency
48
+ name: scales-server
49
+ requirement: &70132488838760 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - =
53
+ - !ruby/object:Gem::Version
54
+ version: 0.0.1.beta.1
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *70132488838760
58
+ - !ruby/object:Gem::Dependency
59
+ name: goliath
60
+ requirement: &70132488837320 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: 1.0.0.beta.1
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *70132488837320
69
+ description: Super Scale Caching Framework - Monitor Server
70
+ email:
71
+ - tommylefunk@googlemail.com
72
+ executables:
73
+ - scales-monitor
74
+ extensions: []
75
+ extra_rdoc_files: []
76
+ files:
77
+ - .gitignore
78
+ - Gemfile
79
+ - LICENSE
80
+ - Rakefile
81
+ - bin/scales-monitor
82
+ - lib/scales-monitor.rb
83
+ - lib/scales-monitor/app/Gemfile
84
+ - lib/scales-monitor/app/Rakefile
85
+ - lib/scales-monitor/app/app/assets/images/.gitignore
86
+ - lib/scales-monitor/app/app/assets/images/glyphicons-halflings-white.png
87
+ - lib/scales-monitor/app/app/assets/images/glyphicons-halflings.png
88
+ - lib/scales-monitor/app/app/assets/javascripts/app/config/config.js.coffee
89
+ - lib/scales-monitor/app/app/assets/javascripts/app/config/routes.js.coffee
90
+ - lib/scales-monitor/app/app/assets/javascripts/app/controllers/.gitignore
91
+ - lib/scales-monitor/app/app/assets/javascripts/app/controllers/log.jst.coffee
92
+ - lib/scales-monitor/app/app/assets/javascripts/app/controllers/machines.js.coffee
93
+ - lib/scales-monitor/app/app/assets/javascripts/app/controllers/queues.js.coffee
94
+ - lib/scales-monitor/app/app/assets/javascripts/app/controllers/resources.js.coffee
95
+ - lib/scales-monitor/app/app/assets/javascripts/app/index.js.coffee
96
+ - lib/scales-monitor/app/app/assets/javascripts/app/models/.gitignore
97
+ - lib/scales-monitor/app/app/assets/javascripts/app/models/socket.js.coffee
98
+ - lib/scales-monitor/app/app/assets/javascripts/app/views/.gitignore
99
+ - lib/scales-monitor/app/app/assets/javascripts/app/views/_format_bar.jst.eco
100
+ - lib/scales-monitor/app/app/assets/javascripts/app/views/_machine.jst.eco
101
+ - lib/scales-monitor/app/app/assets/javascripts/app/views/_queue_item.jst.eco
102
+ - lib/scales-monitor/app/app/assets/javascripts/app/views/_resource.jst.eco
103
+ - lib/scales-monitor/app/app/assets/javascripts/app/views/_top.jst.eco
104
+ - lib/scales-monitor/app/app/assets/javascripts/app/views/log.jst.eco
105
+ - lib/scales-monitor/app/app/assets/javascripts/app/views/machines.jst.eco
106
+ - lib/scales-monitor/app/app/assets/javascripts/app/views/queues.jst.eco
107
+ - lib/scales-monitor/app/app/assets/javascripts/app/views/resources.jst.eco
108
+ - lib/scales-monitor/app/app/assets/javascripts/application.js.coffee
109
+ - lib/scales-monitor/app/app/assets/javascripts/lib/bootstrap.js
110
+ - lib/scales-monitor/app/app/assets/javascripts/lib/jquery.js
111
+ - lib/scales-monitor/app/app/assets/javascripts/lib/jquery.timeago.js
112
+ - lib/scales-monitor/app/app/assets/javascripts/lib/json2.js
113
+ - lib/scales-monitor/app/app/assets/javascripts/lib/spine/ajax.coffee
114
+ - lib/scales-monitor/app/app/assets/javascripts/lib/spine/list.coffee
115
+ - lib/scales-monitor/app/app/assets/javascripts/lib/spine/local.coffee
116
+ - lib/scales-monitor/app/app/assets/javascripts/lib/spine/manager.coffee
117
+ - lib/scales-monitor/app/app/assets/javascripts/lib/spine/relation.coffee
118
+ - lib/scales-monitor/app/app/assets/javascripts/lib/spine/route.coffee
119
+ - lib/scales-monitor/app/app/assets/javascripts/lib/spine/spine.coffee
120
+ - lib/scales-monitor/app/app/assets/stylesheets/application.css.scss
121
+ - lib/scales-monitor/app/app/assets/stylesheets/bootstrap-docs.css
122
+ - lib/scales-monitor/app/app/assets/stylesheets/bootstrap-responsive.css
123
+ - lib/scales-monitor/app/app/assets/stylesheets/bootstrap.css
124
+ - lib/scales-monitor/app/app/views/index.html.erb
125
+ - lib/scales-monitor/app/config.ru
126
+ - lib/scales-monitor/app/config/config.rb
127
+ - lib/scales-monitor/app/config/routes.rb
128
+ - lib/scales-monitor/app/public/assets/.gitignore
129
+ - lib/scales-monitor/app/public/assets/application.css
130
+ - lib/scales-monitor/app/public/assets/application.js
131
+ - lib/scales-monitor/app/public/assets/glyphicons-halflings-white.png
132
+ - lib/scales-monitor/app/public/assets/glyphicons-halflings.png
133
+ - lib/scales-monitor/app/public/index.html
134
+ - lib/scales-monitor/base.rb
135
+ - lib/scales-monitor/boot/autoload.rb
136
+ - lib/scales-monitor/boot/initializers/goliath.rb
137
+ - lib/scales-monitor/monitor.rb
138
+ - lib/scales-monitor/version.rb
139
+ - lib/scales-monitor/web_socket.rb
140
+ - scales-monitor.gemspec
141
+ - spec/gem_spec.rb
142
+ - spec/helper.rb
143
+ - spec/monitor_spec.rb
144
+ - spec/web_socket_spec.rb
145
+ homepage: http://itscales.org
146
+ licenses: []
147
+ post_install_message:
148
+ rdoc_options: []
149
+ require_paths:
150
+ - lib
151
+ required_ruby_version: !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ! '>='
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ required_rubygems_version: !ruby/object:Gem::Requirement
158
+ none: false
159
+ requirements:
160
+ - - ! '>'
161
+ - !ruby/object:Gem::Version
162
+ version: 1.3.1
163
+ requirements: []
164
+ rubyforge_project:
165
+ rubygems_version: 1.8.11
166
+ signing_key:
167
+ specification_version: 3
168
+ summary: Monitoring in the form of a website that updates in real-time using a websocket
169
+ connected to the main system.
170
+ test_files:
171
+ - spec/gem_spec.rb
172
+ - spec/helper.rb
173
+ - spec/monitor_spec.rb
174
+ - spec/web_socket_spec.rb