rack-active_record_status 0.1 → 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.
- data/README.rdoc +1 -1
- data/rack-active_record_status.gemspec +2 -16
- metadata +7 -9
data/README.rdoc
CHANGED
|
@@ -13,7 +13,7 @@ Lightweight Rack Middleware for testing active record connections
|
|
|
13
13
|
|
|
14
14
|
Or, if you are using Bundler, just add this to your Gemfile:
|
|
15
15
|
|
|
16
|
-
gem 'rack-active_record_status'
|
|
16
|
+
gem 'rack-active_record_status', :require => 'rack/active_record_status'
|
|
17
17
|
|
|
18
18
|
To use Rack::ActiveRecordStatus in your Rails application, add the following line to your application
|
|
19
19
|
config file (<tt>config/application.rb</tt> for Rails 3, <tt>config/environment.rb</tt> for Rails 2):
|
|
@@ -1,34 +1,20 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'rack-active_record_status'
|
|
3
|
-
s.version = '0.
|
|
3
|
+
s.version = '0.2'
|
|
4
4
|
|
|
5
5
|
s.summary = "Rack middelware to check ActiveRecord's connection"
|
|
6
6
|
s.description = "A server health check for active_record."
|
|
7
7
|
|
|
8
8
|
s.authors = ["Aaron Suggs"]
|
|
9
9
|
s.email = 'aaron@ktheory.com'
|
|
10
|
-
s.homepage = '
|
|
11
|
-
s.required_rubygems_version = ">= 1.3.5"
|
|
10
|
+
s.homepage = 'https://github.com/ktheory/rack-active_record_status'
|
|
12
11
|
|
|
13
|
-
## This sections is only necessary if you have C extensions.
|
|
14
|
-
# s.require_paths << 'ext'
|
|
15
|
-
# s.extensions = %w[ext/extconf.rb]
|
|
16
|
-
|
|
17
|
-
## If your gem includes any executables, list them here.
|
|
18
|
-
s.executables = []
|
|
19
|
-
|
|
20
|
-
## Specify any RDoc options here. You'll want to add your README and
|
|
21
|
-
## LICENSE files to the extra_rdoc_files list.
|
|
22
12
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
23
13
|
s.extra_rdoc_files = %w[README.rdoc]
|
|
24
14
|
|
|
25
|
-
## List your runtime dependencies here. Runtime dependencies are those
|
|
26
|
-
## that are needed for an end user to actually USE your code.
|
|
27
15
|
s.add_dependency 'rack'
|
|
28
16
|
s.add_dependency 'activerecord'
|
|
29
17
|
|
|
30
|
-
## List your development dependencies here. Development dependencies are
|
|
31
|
-
## those that are only needed during development
|
|
32
18
|
s.add_development_dependency 'rake'
|
|
33
19
|
s.add_development_dependency 'rake'
|
|
34
20
|
s.add_development_dependency 'shoulda'
|
metadata
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rack-active_record_status
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 15
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: "0.
|
|
8
|
+
- 2
|
|
9
|
+
version: "0.2"
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Aaron Suggs
|
|
@@ -118,7 +118,7 @@ files:
|
|
|
118
118
|
- rack-active_record_status.gemspec
|
|
119
119
|
- test/helper.rb
|
|
120
120
|
has_rdoc: true
|
|
121
|
-
homepage:
|
|
121
|
+
homepage: https://github.com/ktheory/rack-active_record_status
|
|
122
122
|
licenses: []
|
|
123
123
|
|
|
124
124
|
post_install_message:
|
|
@@ -140,12 +140,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
140
140
|
requirements:
|
|
141
141
|
- - ">="
|
|
142
142
|
- !ruby/object:Gem::Version
|
|
143
|
-
hash:
|
|
143
|
+
hash: 3
|
|
144
144
|
segments:
|
|
145
|
-
-
|
|
146
|
-
|
|
147
|
-
- 5
|
|
148
|
-
version: 1.3.5
|
|
145
|
+
- 0
|
|
146
|
+
version: "0"
|
|
149
147
|
requirements: []
|
|
150
148
|
|
|
151
149
|
rubyforge_project:
|