pmux-logview 0.3.4 → 0.3.10

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/pmux-logview.gemspec CHANGED
@@ -13,12 +13,11 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://github.com/iij/pmux-logview"
14
14
  spec.license = "MIT"
15
15
 
16
- spec.files = `find . -maxdepth 1 -name '.gitignore' -prune -o -type f -print; find {bin,lib,conf,rpm} -name '.svn' -prune -o -type f -print`.split().map { |f| f.strip().sub("./", "") }
16
+ spec.files = `find . -maxdepth 1 -name '.gitignore' -prune -o -type f -print; find {bin,lib,config,rpm} -name '.svn' -prune -o -type f -print`.split().map { |f| f.strip().sub("./", "") }
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency('gflocator', '>= 0.0.1')
22
21
  spec.add_dependency('pmux', '>= 0.1.1')
23
22
  spec.add_dependency('json', '>= 1.6.1')
24
23
  spec.add_dependency('sinatra', '>= 0.3.4')
@@ -0,0 +1,111 @@
1
+ #!/bin/bash
2
+ #
3
+ # pmux-logview Pmux log view
4
+ #
5
+ # chkconfig: - 85 15
6
+ # description: Pmux log view.
7
+ # processname: pmux-logview
8
+ # config: /etc/sysconfig/pmux-logview
9
+ # pidfile: /var/run/pmux-logview.pid
10
+ #
11
+ ### BEGIN INIT INFO
12
+ # Provides: pmux-logview
13
+ # Required-Start: $local_fs $remote_fs $network
14
+ # Required-Stop: $local_fs $remote_fs $network
15
+ # Short-Description: start and stop the pmux-logview daemon
16
+ # Description: The pmux-logview daemon allows access to Subversion
17
+ # repositories using the svn network protocol.
18
+ ### END INIT INFO
19
+
20
+ # Source function library.
21
+ . /etc/rc.d/init.d/functions
22
+
23
+ if [ -f /etc/sysconfig/pmux-logview ]; then
24
+ . /etc/sysconfig/pmux-logview
25
+ fi
26
+
27
+ prog=pmux-logview
28
+ exec=${PMUX_LOGVIEW-/usr/local/bin/pmux-logview}
29
+ config=${CONFIG-/etc/pmux-logview/pmux-logview.conf}
30
+ user=${PMUX_LOGVIEW_USER-root}
31
+ pidfile=${PIDFILE-/var/run/pmux-logview.pid}
32
+ lockfile=${LOCKFILE-/var/lock/subsys/pmux-logview}
33
+ [ -e /etc/sysconfig/${prog} ] && . /etc/sysconfig/${prog}
34
+
35
+ lockfile=/var/lock/subsys/${prog}
36
+
37
+ start() {
38
+ [ -x ${exec} ] || exit 5
39
+ [ -f ${config} ] || exit 6
40
+ echo -n $"Starting ${prog}: "
41
+ daemon --pidfile=${pidfile} --user=${user} $exec -c ${config}
42
+ retval=$?
43
+ echo
44
+ if [ ${retval} -eq 0 ]; then
45
+ touch ${lockfile} || retval=4
46
+ fi
47
+ return ${retval}
48
+ }
49
+
50
+ stop() {
51
+ echo -n $"Stopping ${prog}: "
52
+ killproc -p ${pidfile} ${prog}
53
+ retval=$?
54
+ echo
55
+ [ ${retval} -eq 0 ] && rm -f ${lockfile}
56
+ return ${retval}
57
+ }
58
+
59
+ restart() {
60
+ stop
61
+ start
62
+ }
63
+
64
+ reload() {
65
+ restart
66
+ }
67
+
68
+ force_reload() {
69
+ restart
70
+ }
71
+
72
+ rh_status() {
73
+ # run checks to determine if the service is running or use generic status
74
+ status -p ${pidfile} ${prog}
75
+ }
76
+
77
+ rh_status_q() {
78
+ rh_status >/dev/null 2>&1
79
+ }
80
+
81
+ case "$1" in
82
+ start)
83
+ rh_status_q && exit 0
84
+ $1
85
+ ;;
86
+ stop)
87
+ rh_status_q || exit 0
88
+ $1
89
+ ;;
90
+ restart)
91
+ $1
92
+ ;;
93
+ reload)
94
+ rh_status_q || exit 7
95
+ $1
96
+ ;;
97
+ force-reload)
98
+ force_reload
99
+ ;;
100
+ status)
101
+ rh_status
102
+ ;;
103
+ condrestart|try-restart)
104
+ rh_status_q || exit 0
105
+ restart
106
+ ;;
107
+ *)
108
+ echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
109
+ exit 2
110
+ esac
111
+ exit $?
Binary file
@@ -5,7 +5,7 @@
5
5
  %define ruby_verid %{_ruby_verid}
6
6
  %endif
7
7
  %define rbname pmux-logview
8
- %define version 0.3.4
8
+ %define version 0.3.10
9
9
  %define release 1
10
10
 
11
11
  Summary: Pmux log viewer
@@ -21,7 +21,6 @@ Source1: %{rbname}
21
21
  BuildRoot: %{_tmppath}/%{name}-%{version}-root
22
22
  Requires: ruby
23
23
  Requires: rubygem%(echo -n %{ruby_verid})-pmux
24
- Requires: rubygem%(echo -n %{ruby_verid})-gflocator
25
24
  Requires: rubygem%(echo -n %{ruby_verid})-json >= 1.6.1
26
25
  Requires: rubygem%(echo -n %{ruby_verid})-sinatra >= 0.3.4
27
26
  BuildRequires: ruby
metadata CHANGED
@@ -1,224 +1,198 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pmux-logview
3
- version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 3
9
- - 4
10
- version: 0.3.4
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.10
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - hiroyuki kakine
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-06-13 00:00:00 +09:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: gflocator
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
12
+ date: 2013-12-25 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: pmux
16
+ requirement: !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 29
30
- segments:
31
- - 0
32
- - 0
33
- - 1
34
- version: 0.0.1
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 0.1.1
35
22
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: pmux
39
23
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
41
25
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 25
46
- segments:
47
- - 0
48
- - 1
49
- - 1
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
50
29
  version: 0.1.1
51
- type: :runtime
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
30
+ - !ruby/object:Gem::Dependency
54
31
  name: json
55
- prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
57
33
  none: false
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 13
62
- segments:
63
- - 1
64
- - 6
65
- - 1
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
66
37
  version: 1.6.1
67
38
  type: :runtime
68
- version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
70
- name: sinatra
71
39
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 1.6.1
46
+ - !ruby/object:Gem::Dependency
47
+ name: sinatra
48
+ requirement: !ruby/object:Gem::Requirement
73
49
  none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- hash: 27
78
- segments:
79
- - 0
80
- - 3
81
- - 4
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
82
53
  version: 0.3.4
83
54
  type: :runtime
84
- version_requirements: *id004
85
- - !ruby/object:Gem::Dependency
86
- name: bundler
87
55
  prerelease: false
88
- requirement: &id005 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
89
57
  none: false
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- hash: 29
94
- segments:
95
- - 1
96
- - 2
97
- - 1
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 0.3.4
62
+ - !ruby/object:Gem::Dependency
63
+ name: bundler
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
98
69
  version: 1.2.1
99
70
  type: :development
100
- version_requirements: *id005
101
- - !ruby/object:Gem::Dependency
102
- name: rake
103
71
  prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
105
73
  none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- hash: 3
110
- segments:
111
- - 0
112
- version: "0"
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 1.2.1
78
+ - !ruby/object:Gem::Dependency
79
+ name: rake
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
113
86
  type: :development
114
- version_requirements: *id006
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
115
94
  description: Pmux log viewer
116
- email:
95
+ email:
117
96
  - kakine@iij.ad.jp
118
- executables:
97
+ executables:
119
98
  - pmux-logview
120
99
  extensions: []
121
-
122
100
  extra_rdoc_files: []
123
-
124
- files:
101
+ files:
102
+ - README.md
103
+ - Makefile
125
104
  - pmux-logview.gemspec
126
105
  - Gemfile
127
- - Makefile
128
- - LICENSE.txt
129
- - README.md
130
106
  - Rakefile
107
+ - LICENSE.txt
131
108
  - bin/pmux-logview
109
+ - lib/pmux-logview.rb
110
+ - lib/pmux-logview/version.rb
132
111
  - lib/pmux-logview/views/index.erb
133
112
  - lib/pmux-logview/views/detail.erb
134
113
  - lib/pmux-logview/application.rb
135
114
  - lib/pmux-logview/model.rb
136
- - lib/pmux-logview/controller.rb
137
- - lib/pmux-logview/version.rb
115
+ - lib/pmux-logview/static/css/tchart.css
116
+ - lib/pmux-logview/static/css/jquery-ui-1.10.0.css
117
+ - lib/pmux-logview/static/css/jquery-ui-timepicker-addon.css
118
+ - lib/pmux-logview/static/css/normalize.css
119
+ - lib/pmux-logview/static/css/pmux-logview.css
138
120
  - lib/pmux-logview/static/css/jquery.dataTables.css
139
- - lib/pmux-logview/static/css/images/ui-icons_ffffff_256x240.png
140
- - lib/pmux-logview/static/css/images/ui-bg_highlight-hard_70_000000_1x100.png
141
- - lib/pmux-logview/static/css/images/ui-bg_glass_50_3baae3_1x400.png
142
- - lib/pmux-logview/static/css/images/ui-icons_3d80b3_256x240.png
143
- - lib/pmux-logview/static/css/images/ui-bg_highlight-soft_100_deedf7_1x100.png
144
- - lib/pmux-logview/static/css/images/ui-icons_2e83ff_256x240.png
145
- - lib/pmux-logview/static/css/images/ui-bg_highlight-soft_25_ffef8f_1x100.png
146
- - lib/pmux-logview/static/css/images/ui-bg_flat_15_cd0a0a_40x100.png
147
121
  - lib/pmux-logview/static/css/images/animated-overlay.gif
148
- - lib/pmux-logview/static/css/images/ui-icons_2694e8_256x240.png
149
- - lib/pmux-logview/static/css/images/ui-bg_glass_100_e4f1fb_1x400.png
150
122
  - lib/pmux-logview/static/css/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png
151
- - lib/pmux-logview/static/css/images/ui-bg_glass_80_d7ebf9_1x400.png
123
+ - lib/pmux-logview/static/css/images/ui-icons_3d80b3_256x240.png
124
+ - lib/pmux-logview/static/css/images/ui-bg_glass_100_e4f1fb_1x400.png
152
125
  - lib/pmux-logview/static/css/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png
126
+ - lib/pmux-logview/static/css/images/ui-icons_2694e8_256x240.png
127
+ - lib/pmux-logview/static/css/images/ui-bg_glass_50_3baae3_1x400.png
128
+ - lib/pmux-logview/static/css/images/ui-bg_highlight-soft_25_ffef8f_1x100.png
129
+ - lib/pmux-logview/static/css/images/ui-icons_2e83ff_256x240.png
130
+ - lib/pmux-logview/static/css/images/ui-bg_glass_80_d7ebf9_1x400.png
131
+ - lib/pmux-logview/static/css/images/ui-icons_ffffff_256x240.png
132
+ - lib/pmux-logview/static/css/images/ui-bg_highlight-hard_70_000000_1x100.png
133
+ - lib/pmux-logview/static/css/images/ui-bg_flat_15_cd0a0a_40x100.png
134
+ - lib/pmux-logview/static/css/images/ui-bg_highlight-soft_100_deedf7_1x100.png
153
135
  - lib/pmux-logview/static/css/images/ui-icons_72a7cf_256x240.png
154
- - lib/pmux-logview/static/css/pmux-logview.css
155
- - lib/pmux-logview/static/css/jquery-ui-1.10.0.css
156
- - lib/pmux-logview/static/css/normalize.css
157
- - lib/pmux-logview/static/css/tchart.css
158
- - lib/pmux-logview/static/js/tchart.js
136
+ - lib/pmux-logview/static/js/pmux-logview-index.js
159
137
  - lib/pmux-logview/static/js/jquery.dataTables.min.js
138
+ - lib/pmux-logview/static/js/pmux-logview-base.js
139
+ - lib/pmux-logview/static/js/d3.v3.min.js
140
+ - lib/pmux-logview/static/js/jquery-ui-timepicker-addon.js
160
141
  - lib/pmux-logview/static/js/pmux-logview-detail.js
142
+ - lib/pmux-logview/static/js/jquery.activity-indicator-1.0.0.min.js
161
143
  - lib/pmux-logview/static/js/jquery-1.9.1.js
162
- - lib/pmux-logview/static/js/pmux-logview-index.js
163
- - lib/pmux-logview/static/js/pmux-logview-base.js
144
+ - lib/pmux-logview/static/js/tchart.js
164
145
  - lib/pmux-logview/static/js/jquery-ui-1.10.0.js
165
- - lib/pmux-logview/static/js/jquery.activity-indicator-1.0.0.min.js
166
- - lib/pmux-logview/static/js/d3.v3.min.js
167
- - lib/pmux-logview/static/images/sort_asc_disabled.png
146
+ - lib/pmux-logview/static/font/7TssRTXcaLr8beqDiv5lkQ.woff
168
147
  - lib/pmux-logview/static/images/forward_enabled_hover.png
169
148
  - lib/pmux-logview/static/images/back_disabled.png
170
- - lib/pmux-logview/static/images/back_enabled_hover.png
171
- - lib/pmux-logview/static/images/sort_asc.png
172
- - lib/pmux-logview/static/images/sort_desc_disabled.png
173
149
  - lib/pmux-logview/static/images/back_enabled.png
174
- - lib/pmux-logview/static/images/sort_both.png
150
+ - lib/pmux-logview/static/images/forward_disabled.png
151
+ - lib/pmux-logview/static/images/sort_desc_disabled.png
175
152
  - lib/pmux-logview/static/images/forward_enabled.png
153
+ - lib/pmux-logview/static/images/sort_asc_disabled.png
154
+ - lib/pmux-logview/static/images/sort_both.png
176
155
  - lib/pmux-logview/static/images/sort_desc.png
177
- - lib/pmux-logview/static/images/forward_disabled.png
178
- - lib/pmux-logview/static/font/7TssRTXcaLr8beqDiv5lkQ.woff
179
- - lib/pmux-logview/logger_wrapper.rb
180
- - lib/pmux-logview/auth_helper.rb
156
+ - lib/pmux-logview/static/images/sort_asc.png
157
+ - lib/pmux-logview/static/images/back_enabled_hover.png
181
158
  - lib/pmux-logview/log_parser.rb
182
- - lib/pmux-logview.rb
183
- - conf/pmux-logview.conf
184
- - conf/config.ru
185
- - conf/password
159
+ - lib/pmux-logview/controller.rb
160
+ - lib/pmux-logview/auth_helper.rb
161
+ - lib/pmux-logview/logger_wrapper.rb
162
+ - config/pmux-logview/config.ru
163
+ - config/pmux-logview/pmux-logview.conf
164
+ - config/pmux-logview/password
186
165
  - rpm/Makefile
166
+ - rpm/RPMS/noarch/rubygem200-pmux-logview-0.3.10-1.noarch.rpm
167
+ - rpm/SRPMS/rubygem200-pmux-logview-0.3.10-1.src.rpm
187
168
  - rpm/pmux-logview.spec
188
169
  - rpm/pmux-logview
189
- has_rdoc: true
170
+ - rpm/SOURCES/pmux-logview-0.3.10.gem
171
+ - rpm/SOURCES/pmux-logview
190
172
  homepage: https://github.com/iij/pmux-logview
191
- licenses:
173
+ licenses:
192
174
  - MIT
193
175
  post_install_message:
194
176
  rdoc_options: []
195
-
196
- require_paths:
177
+ require_paths:
197
178
  - lib
198
- required_ruby_version: !ruby/object:Gem::Requirement
179
+ required_ruby_version: !ruby/object:Gem::Requirement
199
180
  none: false
200
- requirements:
201
- - - ">="
202
- - !ruby/object:Gem::Version
203
- hash: 3
204
- segments:
205
- - 0
206
- version: "0"
207
- required_rubygems_version: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ! '>='
183
+ - !ruby/object:Gem::Version
184
+ version: '0'
185
+ required_rubygems_version: !ruby/object:Gem::Requirement
208
186
  none: false
209
- requirements:
210
- - - ">="
211
- - !ruby/object:Gem::Version
212
- hash: 3
213
- segments:
214
- - 0
215
- version: "0"
187
+ requirements:
188
+ - - ! '>='
189
+ - !ruby/object:Gem::Version
190
+ version: '0'
216
191
  requirements: []
217
-
218
192
  rubyforge_project:
219
- rubygems_version: 1.3.7
193
+ rubygems_version: 1.8.23
220
194
  signing_key:
221
195
  specification_version: 3
222
196
  summary: Pmux log viwwer
223
197
  test_files: []
224
-
198
+ has_rdoc: