elasticsearch-paramedic-rack 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -18,15 +18,17 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- use Elasticsearch::Paramedic::Rack
21
+ use Elasticsearch::Paramedic::Rack::Middleware
22
22
 
23
23
  ## Todos
24
24
 
25
25
  * Authlogic
26
26
  * Tests
27
27
  * Rails integration
28
+ * Proxy to MongoDB to use on remote Server
28
29
  * Usage
29
30
  * Configuration
31
+ * debug options / logger
30
32
 
31
33
  ## Contributing
32
34
 
@@ -1,5 +1,5 @@
1
1
  require "elasticsearch-paramedic-rack/version"
2
- require "elasticsearch-paramedic-rack/middelware"
2
+ require "elasticsearch-paramedic-rack/middleware"
3
3
 
4
4
  module Elasticsearch
5
5
  module Paramedic
@@ -3,7 +3,7 @@ require "rack/static"
3
3
  module Elasticsearch
4
4
  module Paramedic
5
5
  module Rack
6
- class Middelware < ::Rack::Static
6
+ class Middleware < ::Rack::Static
7
7
  def initialize app
8
8
  super app, :root => Elasticsearch::Paramedic::Rack::ROOT, :urls => ["/elasticsearch-paramedic"]
9
9
  end
@@ -1,7 +1,7 @@
1
1
  module Elasticsearch
2
2
  module Paramedic
3
3
  module Rack
4
- VERSION = "0.1.1"
4
+ VERSION = "0.2.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,75 +1,71 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-paramedic-rack
3
- version: !ruby/object:Gem::Version
4
- hash: 25
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 1
10
- version: 0.1.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Timo Schilling
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-01-17 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
- none: false
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- hash: 3
27
- segments:
28
- - 0
29
- version: "0"
30
- prerelease: false
31
- type: :runtime
12
+ date: 2013-02-17 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
32
15
  name: rack
33
- requirement: *id001
34
- - !ruby/object:Gem::Dependency
35
- version_requirements: &id002 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
36
17
  none: false
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- hash: 3
41
- segments:
42
- - 0
43
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
44
23
  prerelease: false
45
- type: :development
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
46
31
  name: rake
47
- requirement: *id002
48
- - !ruby/object:Gem::Dependency
49
- version_requirements: &id003 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
50
33
  none: false
51
- requirements:
52
- - - ~>
53
- - !ruby/object:Gem::Version
54
- hash: 7
55
- segments:
56
- - 3
57
- - 0
58
- version: "3.0"
59
- prerelease: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
60
38
  type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
61
47
  name: minitest
62
- requirement: *id003
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '3.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
63
62
  description: A gemed version of elasticsearch-paramedic with Rack support.
64
- email:
63
+ email:
65
64
  - timo@schilling.io
66
65
  executables: []
67
-
68
66
  extensions: []
69
-
70
67
  extra_rdoc_files: []
71
-
72
- files:
68
+ files:
73
69
  - .gitignore
74
70
  - .travis.yml
75
71
  - CHANGELOG.md
@@ -79,7 +75,7 @@ files:
79
75
  - Rakefile
80
76
  - elasticsearch-paramedic-rack.gemspec
81
77
  - lib/elasticsearch-paramedic-rack.rb
82
- - lib/elasticsearch-paramedic-rack/middelware.rb
78
+ - lib/elasticsearch-paramedic-rack/middleware.rb
83
79
  - lib/elasticsearch-paramedic-rack/version.rb
84
80
  - public/elasticsearch-paramedic/audio/alert-green.mp3
85
81
  - public/elasticsearch-paramedic/audio/alert-red.mp3
@@ -106,37 +102,34 @@ files:
106
102
  - test/test_helper.rb
107
103
  homepage: https://github.com/timoschilling/elasticsearch-paramedic-rack
108
104
  licenses: []
109
-
110
105
  post_install_message:
111
106
  rdoc_options: []
112
-
113
- require_paths:
107
+ require_paths:
114
108
  - lib
115
- required_ruby_version: !ruby/object:Gem::Requirement
109
+ required_ruby_version: !ruby/object:Gem::Requirement
116
110
  none: false
117
- requirements:
118
- - - ">="
119
- - !ruby/object:Gem::Version
120
- hash: 3
121
- segments:
111
+ requirements:
112
+ - - ! '>='
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
115
+ segments:
122
116
  - 0
123
- version: "0"
124
- required_rubygems_version: !ruby/object:Gem::Requirement
117
+ hash: 217892655081849790
118
+ required_rubygems_version: !ruby/object:Gem::Requirement
125
119
  none: false
126
- requirements:
127
- - - ">="
128
- - !ruby/object:Gem::Version
129
- hash: 3
130
- segments:
120
+ requirements:
121
+ - - ! '>='
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ segments:
131
125
  - 0
132
- version: "0"
126
+ hash: 217892655081849790
133
127
  requirements: []
134
-
135
128
  rubyforge_project:
136
129
  rubygems_version: 1.8.24
137
130
  signing_key:
138
131
  specification_version: 3
139
132
  summary: A gemed version of elasticsearch-paramedic with Rack support.
140
- test_files:
133
+ test_files:
141
134
  - test/middelware_test.rb
142
135
  - test/test_helper.rb