eye-http 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NDdhY2MwOWZjMTlhZWVjMzBjOTE0NTY1NThhMzk3OTI4Mjk3YzYwNg==
5
- data.tar.gz: !binary |-
6
- MzMyYzZmYjI4N2JmYWEyMDA2Yjg4OWY2NjM2NDViMTJhNDRiN2MxYw==
2
+ SHA1:
3
+ metadata.gz: 6f5352a5fa724f1d4a0ce52863533dfe9ed25026
4
+ data.tar.gz: f13ec0c4328532c00bbf1df848d8203f6fc02c77
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ODVlYzE4NDdmOTE3NjdiOWU1ODliNzI5NmE2NDA0NjEzZjM0MzM2MzgzYmRh
10
- ZWNkMmVhYjYwOWQwZDhiNTYwMGJjMzNjYzgyZjI2NDA2NWM1MTM3OGRkZDk5
11
- YmNjMmU1OWFiZDgyMzcwOTMyNWY0MWY4ODljMDkyMjdmMDRiNGI=
12
- data.tar.gz: !binary |-
13
- OWI1YWMyMmVhODU5MWU5MzhjMGI5ZTRiODY2YzVhNTdiOThlYWIxNjk2MjM4
14
- ZDdjNWU0MTlhNGU0OWJlYjBkN2M5MGE4OGNkMmVkZTgzY2Q0Y2I5NDE0NjVi
15
- OTQ0NDkwYmMyMjg1MDFiYjEyNjEzODZiNTRmNTZkOWUwZTRjMDI=
6
+ metadata.gz: 3a78ae9d9fadd35d816502b4e0ac919fbaa50e6b78529ae3df6891b7c9210dc4389ccdc2687de5d7a0e43a7d7ab002edf9bf5dd6cded70f6e97a27ceb3bf8a10
7
+ data.tar.gz: 39f13e71e5bfbd9004529fc3d1c207bd65eee5951075ee0218ac389607a47e429f37f43c3bd7b7240c38c005c415932181a5583f69b85e42eea9383349028fe5
@@ -11,8 +11,10 @@ Eye::Http::Router = Cuba.new do
11
11
  res.write Eye::ABOUT
12
12
  end
13
13
 
14
- on "api/info", param("filter") do |filter|
15
- json Eye::Control.command(:info_data, filter)
14
+ [:info_data, :short_data, :debug_data, :history_data].each do |act|
15
+ on "api/#{act.to_s.gsub(/_data$/, '')}", param("filter") do |filter|
16
+ json Eye::Control.command(act, filter)
17
+ end
16
18
  end
17
19
 
18
20
  [:start, :stop, :restart, :delete, :unmonitor, :monitor].each do |act|
@@ -1,5 +1,5 @@
1
1
  module Eye
2
2
  class Http
3
- VERSION = "0.6.2"
3
+ VERSION = "0.6.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,135 +1,135 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eye-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
- - ! '''Konstantin Makarchev'''
7
+ - "'Konstantin Makarchev'"
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-23 00:00:00.000000000 Z
11
+ date: 2015-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eye
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.6.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.6.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: reel
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.5.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.5.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: reel-rack
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: cuba
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.6'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.6'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ! '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - <
101
+ - - "<"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '2.14'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - <
108
+ - - "<"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '2.14'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rr
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ! '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ! '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  description: Http interface for the Eye gem.
126
126
  email:
127
- - ! '''kostya27@gmail.com'''
127
+ - "'kostya27@gmail.com'"
128
128
  executables: []
129
129
  extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
- - .gitignore
132
+ - ".gitignore"
133
133
  - Gemfile
134
134
  - LICENSE.txt
135
135
  - README.md
@@ -158,12 +158,12 @@ require_paths:
158
158
  - lib
159
159
  required_ruby_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
- - - ! '>='
161
+ - - ">="
162
162
  - !ruby/object:Gem::Version
163
163
  version: '0'
164
164
  required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  requirements:
166
- - - ! '>='
166
+ - - ">="
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
169
  requirements: []