newrelic-lotus 0.4.0.pre.alpha → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 80de110ec71cfab2e299de12fd9c49bfc71dd61c
4
- data.tar.gz: fe4bd2ab42920d215859e476b2c7354ee2ca62a5
3
+ metadata.gz: fa71072f91dd75c5ce2b5db0f7e698ed608319fd
4
+ data.tar.gz: 7135967a97a2148e2ac7e412673adab4f37cbc26
5
5
  SHA512:
6
- metadata.gz: a0a67b45c5741df413d70429c18b3c28762f4d53b3c7c09b259cc24c5e28f77bfa2002c368ebb5b4ba451555fd8041148396ff7b3a6535ee9b5b761023840257
7
- data.tar.gz: 087b57eff42b063e4a4907761ee13704ebc791d5ad6c8f5d642211d2934389195706463981d823f8cdd8b37278c34761dd0854d0e78fe6da70542ceb7d62bc75
6
+ metadata.gz: 9ef08a7cd79a9aaa286747cf1a508a60c3e0c2e883250044b7111755895317e837aed0840f5966e5c4a583bc0d613acf121a45d6b68d810d76e229a3a3e70c32
7
+ data.tar.gz: 4cec6534742a076ac6c7dbc689c7a1dc890c3b7b7b7545c63d84748002b68f66bf488dcb2b3f703ceb8c7fb6e773c47392ae381c891dcac41b9291ae9e76504f
data/README.md CHANGED
@@ -6,7 +6,35 @@
6
6
 
7
7
  ---
8
8
 
9
- TODO: add readme
9
+ This gem ingrates in lotus-controller and can be used in full-featured lotus framework and with controller only.
10
+
11
+ ```ruby
12
+ gem 'newrelic-lotus'
13
+ ```
14
+
15
+ Add it to your `config.ru`:
16
+
17
+ ```ruby
18
+ require 'newrelic_rpm'
19
+ require 'newrelic-lotus'
20
+
21
+ NewRelic::Agent.manual_start
22
+ ```
23
+
24
+ It should looks like:
25
+
26
+ ```ruby
27
+ require './config/environment'
28
+ require 'newrelic_rpm'
29
+ require 'newrelic-lotus'
30
+
31
+ NewRelic::Agent.manual_start
32
+
33
+ run Lotus::Container.new
34
+
35
+ ```
36
+
37
+ Then add `newrelic.yml` to `config` folder.
10
38
 
11
39
  ---
12
40
 
@@ -1,6 +1,7 @@
1
1
  require 'new_relic/agent/instrumentation'
2
2
  require 'new_relic/agent/instrumentation/controller_instrumentation'
3
3
  require 'lotus/controller'
4
+ require 'rack'
4
5
 
5
6
  module NewRelic
6
7
  module Agent
@@ -1,5 +1,5 @@
1
1
  module NewRelic
2
2
  module Lotus
3
- VERSION = '0.4.0-alpha'
3
+ VERSION = '0.4.0'
4
4
  end
5
5
  end
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.require_paths = ['lib']
17
17
 
18
18
  spec.add_runtime_dependency 'newrelic_rpm'
19
- spec.add_runtime_dependency 'lotus-controller', '~> 0.4.0'
19
+ spec.add_runtime_dependency 'lotus-controller', '> 0.4.0', '< 0.6.0'
20
20
 
21
21
  spec.add_development_dependency 'rake', '~> 10.0'
22
22
  spec.add_development_dependency 'rspec'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-lotus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.pre.alpha
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuri Artemev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-21 00:00:00.000000000 Z
11
+ date: 2016-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: newrelic_rpm
@@ -28,16 +28,22 @@ dependencies:
28
28
  name: lotus-controller
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.4.0
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: 0.6.0
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">"
39
42
  - !ruby/object:Gem::Version
40
43
  version: 0.4.0
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: 0.6.0
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: rake
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -99,14 +105,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
105
  version: '0'
100
106
  required_rubygems_version: !ruby/object:Gem::Requirement
101
107
  requirements:
102
- - - ">"
108
+ - - ">="
103
109
  - !ruby/object:Gem::Version
104
- version: 1.3.1
110
+ version: '0'
105
111
  requirements: []
106
112
  rubyforge_project:
107
- rubygems_version: 2.4.5
113
+ rubygems_version: 2.5.1
108
114
  signing_key:
109
115
  specification_version: 4
110
116
  summary: Gem for connecting NewRelic and Lotus
111
117
  test_files: []
112
- has_rdoc: