rack-heartbeat 0.7 → 1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5c261a1f6516f728668ff8136fd85c9e91d7d6fb
4
+ data.tar.gz: e12b517089b96726fe3c43464144783d43a530af
5
+ SHA512:
6
+ metadata.gz: 469a5024bff29ae68aeeb94860dc0338f1b23978dffafbc5166b8c27aa5cc88e1833f1b1aca26eff3896e67debed4f73a47f9dec5c35958d1ebe136b3b3b6a25
7
+ data.tar.gz: a7c74d79116fdd3e0c5b9bd6cd0321640f35a0bf688893cabc7810c449532d88a2258bde02fbd80d17531bce5d159f7b3c0d9f16b3a787c6880a3a78d34e4877
@@ -12,6 +12,7 @@ module Rack
12
12
 
13
13
  def call(env)
14
14
  if env['PATH_INFO'] == "/#{heartbeat_path}"
15
+ NewRelic::Agent.ignore_transaction if defined? NewRelic
15
16
  [200, {"Content-Type" => "text/plain"}, ["OK"]]
16
17
  else
17
18
  @app.call(env)
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
14
  gem.name = "rack-heartbeat"
15
15
  gem.require_paths = ["lib"]
16
- gem.version = '0.7'
16
+ gem.version = '1.0'
17
17
 
18
18
  # deps
19
19
  gem.add_dependency('rack')
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-heartbeat
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
5
- prerelease:
4
+ version: '1.0'
6
5
  platform: ruby
7
6
  authors:
8
7
  - James Cox
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-06-10 00:00:00.000000000 Z
11
+ date: 2014-09-08 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rack
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  description: provides a simple endpoint for your rails app for a heartbeat client
@@ -35,7 +32,7 @@ executables: []
35
32
  extensions: []
36
33
  extra_rdoc_files: []
37
34
  files:
38
- - .gitignore
35
+ - ".gitignore"
39
36
  - Gemfile
40
37
  - LICENSE
41
38
  - README.md
@@ -46,27 +43,26 @@ files:
46
43
  - rack-heartbeat.gemspec
47
44
  homepage: https://github.com/imajes/rack-heartbeat
48
45
  licenses: []
46
+ metadata: {}
49
47
  post_install_message:
50
48
  rdoc_options: []
51
49
  require_paths:
52
50
  - lib
53
51
  required_ruby_version: !ruby/object:Gem::Requirement
54
- none: false
55
52
  requirements:
56
- - - ! '>='
53
+ - - ">="
57
54
  - !ruby/object:Gem::Version
58
55
  version: '0'
59
56
  required_rubygems_version: !ruby/object:Gem::Requirement
60
- none: false
61
57
  requirements:
62
- - - ! '>='
58
+ - - ">="
63
59
  - !ruby/object:Gem::Version
64
60
  version: '0'
65
61
  requirements: []
66
62
  rubyforge_project:
67
- rubygems_version: 1.8.25
63
+ rubygems_version: 2.2.2
68
64
  signing_key:
69
- specification_version: 3
65
+ specification_version: 4
70
66
  summary: provides a simple endpoint for your rails app for a heartbeat client to connect
71
67
  to
72
68
  test_files: []