rack-server-status 0.0.1 → 0.0.2

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWRiNjc0OWUyZDA0YjczMjJlZWUzZmM5OTFjMGExOWYwMGIzODc5Nw==
4
+ ZjA3YTBiOTg5ZGI3YzMyNGNiMGFlODViZDc5YWQ1MTRiN2JkZDBjZg==
5
5
  data.tar.gz: !binary |-
6
- ZDMyZGFlYjU0MWZmNzQxZmEwMDMzZDNhNzcwMmE3YmMzNjJhYzZlNA==
6
+ ZjgzMDgwZTBjMGEzZWQyMzRjYWNlNTdlZWIwM2QwNzVmYTRhNDk1Mw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OTJmNTE5NjkyMjE2ZjExYzMyYTk5NDQ3YjVhZWNjNjMzMmQxZWExNzRmYTQ5
10
- ZTU5NzM3MTg1OGVkNmVjN2U3YjRhZjk1ODBjYWM2ZTVmODZiNjk5ZTg3NjMw
11
- Y2NhYjIwMTA2NGM4YTQ1MTU5MGM0YzYwNTQ2ZWY4ZTNjZGFhNDQ=
9
+ YmRmMzFjNDE4ZTg0ZDUyZDgyN2YwMDZjYWFjNzdkYjk0ZTM1NmE1MWI2NDJh
10
+ ZWIzOTdmMWIzZWIyYTZkNzEwMzlmYTQ0NDA3NjhhZGI0NTQ0NmVkODg1MTY0
11
+ MjgyMzk1Y2Q5NjViYWY2MWQ1NjVhOWM2NzNkMjAwOWZiMGMwZjA=
12
12
  data.tar.gz: !binary |-
13
- OGNkODJkYWU3ZTVkN2E4MGE2Mzg1ZmVkNTcwOTMzYTYxOTc4ODhkMzc3NDU4
14
- NzEyYjk4OWJiZjUzNTdkM2MxOWZhMmM5MjJlODdlM2Y1NjM5YzUwN2NjOGQy
15
- YTIzZWM0M2I1NjA5ZDY4NTkyYTA4NjIxMzY3MTY0NGM5NTczNjI=
13
+ NzI1Njg3NzE1M2RhMjFkODk2ZGYwM2I0NmMwZjU2M2RlNWViMjYxNmRmMGFj
14
+ M2I5ZGE2MjI0Y2EzY2Y0MWY2MmRjYWY4MzhlY2M0NTgwYzNmN2Q4ZTc3MjYw
15
+ NzZkY2I0ZTk4NWYzMjgxMDZlODI3NTc3YTQwODliODYzYmU2NzM=
@@ -0,0 +1,10 @@
1
+ require File.join(File.expand_path(File.dirname(__FILE__)), 'rack/server_status')
2
+
3
+ if defined? Rails
4
+ case Rails::VERSION::MAJOR
5
+ when 3
6
+ class Rack::ServerStatus::Railtie < Rails::Railtie
7
+ initializer('rack-server-status.prepend') { |app| app.config.middleware.insert(0, Rack::ServerStatus) }
8
+ end
9
+ end
10
+ end
@@ -1,3 +1,3 @@
1
1
  module RackServerStatus
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-server-status
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cédric Darné, Lionel Oto
@@ -59,17 +59,12 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
63
- - Gemfile
64
- - LICENSE.txt
65
62
  - README.md
66
- - Rakefile
67
63
  - lib/rack/server_status.rb
68
64
  - lib/rack/version.rb
69
- - lib/rack_server_status.rb
70
- - rack_server_status.gemspec
65
+ - lib/rack-server-status.rb
71
66
  - spec/rack_server_status_spec.rb
72
- homepage: ''
67
+ homepage: https://github.com/c4mprod/rack-server-status
73
68
  licenses:
74
69
  - MIT
75
70
  metadata: {}
data/.gitignore DELETED
@@ -1,18 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- *.idea
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in rack_server_status.gemspec
4
- gemspec
@@ -1,22 +0,0 @@
1
- Copyright (c) 2014 Lionel Oto
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "bundler/gem_tasks"
@@ -1,10 +0,0 @@
1
- require 'rack/server_status'
2
-
3
- if defined? Rails
4
- case Rails::VERSION::MAJOR
5
- when 3
6
- class Rack::ServerStatus::Railtie < Rails::Railtie
7
- initializer('rack-server_status.insert-rack-server_status') { |app| app.config.middleware.insert(0, Rack::ServerStatus) }
8
- end
9
- end
10
- end
@@ -1,24 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'rack/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'rack-server-status'
8
- spec.version = RackServerStatus::VERSION
9
- spec.authors = ['Cédric Darné, Lionel Oto']
10
- spec.email = ['cedric.darne@c4mprod.com, lionel.oto@c4mprod.com']
11
- spec.description = %q{Basic Rack middleware for checking Rack/Rails server availability}
12
- spec.summary = %q{Basic Rack middleware for checking Rack/Rails server availability}
13
- spec.homepage = ''
14
- spec.license = 'MIT'
15
-
16
- spec.files = `git ls-files`.split($/)
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ['lib']
20
-
21
- spec.add_development_dependency 'bundler', '~> 1.3'
22
- spec.add_development_dependency 'rake', '>= 1.0'
23
- spec.add_development_dependency 'rack-test', '~> 0.6.2'
24
- end