alephant-logger 1.2.0 → 1.2.1

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: 873a33394a698a442953bdb5dac5abee5fd093a9
4
- data.tar.gz: 856034bc10751cc791ab1fafa7febeeb9a50bece
3
+ metadata.gz: 00d69303676014e2562900f0bbcd636f833cd0cb
4
+ data.tar.gz: a64fd16e02eda2a9d01b3bef1e7e20d0c8aab0d2
5
5
  SHA512:
6
- metadata.gz: 99dbe235497a8284bb6841bd2be7f90ed998d4ca5ca869471765670ed763acdbb60a420558fe9b28df442bcbf8ca331b5feb54fb3eab218895044f3dfcce414a
7
- data.tar.gz: e6fd1faf61ac2710b4d30b180abdb54a9370dfbfdeb35aa7aa03688605e575747c6d7c8b7931a2c278f85904584f196bd0acf4ede6db7c10fb4a473aa3b030ea
6
+ metadata.gz: 2cb2fb196198b687d14c1d96934ed07f554e470398c26b80973fcfe98cfe3cea7ee3f41b55a22fc3a65e6f6f2b2e1b7f339677efdb8b5afc41ebe97a15347478
7
+ data.tar.gz: b8fdb07fd3b5b0a01c020913212a4601a1ccc77b8dc58789f1be0f61e1f4244f2d00e301b8848880fa61db01e6f530f25c1eae3c336149d82c70bed7a248e994
@@ -1 +1 @@
1
- jruby-1.7
1
+ jruby-1.7.17
data/README.md CHANGED
@@ -25,6 +25,10 @@ Or install it yourself as:
25
25
  $ gem install alephant-logger
26
26
  ```
27
27
 
28
+ In addition to this, you may want to install one of the supported Alephant logger drivers:
29
+ * [alephant-logger-statsd](https://github.com/BBC-News/alephant-logger-statsd)
30
+ * [alephant-logger-cloudwatch](https://github.com/BBC-News/alephant-logger-cloudwatch)
31
+
28
32
  ## Usage
29
33
 
30
34
  ```rb
@@ -41,17 +45,11 @@ config = {
41
45
  statsd_driver = Alephant::Logger::Statsd.new config
42
46
  cloudwatch_driver = Alephant::Logger::CloudWatch.new "my_namespace"
43
47
 
44
- logger = Alephant::Logger.create([statsd_driver, cloudwatch_driver])
48
+ logger = Alephant::Logger.setup([statsd_driver, cloudwatch_driver])
45
49
  logger.increment "foo.bar"
46
50
  logger.metric(:name => "FooBar", :unit => "Count", :value => 1)
47
51
  ```
48
52
 
49
- ## Drivers
50
-
51
- You can consume an array of other gems to allow Alephant Logger to send custom metrics:
52
-
53
- 1. [Statsd](https://github.com/BBC-News/alephant-logger-statsd#alephantloggerstatsd)
54
-
55
53
  ## Contributing
56
54
 
57
55
  1. [Fork it!](http://github.com/BBC-News/alephant-logger/fork)
@@ -6,8 +6,8 @@ require 'alephant/logger/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "alephant-logger"
8
8
  spec.version = Alephant::Logger::VERSION
9
- spec.authors = ["Robert Kenny"]
10
- spec.email = ["kenoir@gmail.com"]
9
+ spec.authors = ["BBC News"]
10
+ spec.email = ["FutureMediaNewsRubyGems@bbc.co.uk"]
11
11
  spec.summary = %q{Logger functionality for Alephant}
12
12
  spec.homepage = ""
13
13
  spec.license = "MIT"
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Logger
3
- VERSION = "1.2.0"
3
+ VERSION = "1.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,144 +1,144 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
- - Robert Kenny
7
+ - BBC News
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-17 00:00:00.000000000 Z
11
+ date: 2015-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rspec
15
- version_requirements: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
14
  requirement: !ruby/object:Gem::Requirement
21
15
  requirements:
22
16
  - - '>='
23
17
  - !ruby/object:Gem::Version
24
18
  version: '0'
19
+ name: rspec
25
20
  prerelease: false
26
21
  type: :development
27
- - !ruby/object:Gem::Dependency
28
- name: rspec-nc
29
22
  version_requirements: !ruby/object:Gem::Requirement
30
23
  requirements:
31
24
  - - '>='
32
25
  - !ruby/object:Gem::Version
33
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
34
28
  requirement: !ruby/object:Gem::Requirement
35
29
  requirements:
36
30
  - - '>='
37
31
  - !ruby/object:Gem::Version
38
32
  version: '0'
33
+ name: rspec-nc
39
34
  prerelease: false
40
35
  type: :development
41
- - !ruby/object:Gem::Dependency
42
- name: guard
43
36
  version_requirements: !ruby/object:Gem::Requirement
44
37
  requirements:
45
38
  - - '>='
46
39
  - !ruby/object:Gem::Version
47
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
48
42
  requirement: !ruby/object:Gem::Requirement
49
43
  requirements:
50
44
  - - '>='
51
45
  - !ruby/object:Gem::Version
52
46
  version: '0'
47
+ name: guard
53
48
  prerelease: false
54
49
  type: :development
55
- - !ruby/object:Gem::Dependency
56
- name: guard-rspec
57
50
  version_requirements: !ruby/object:Gem::Requirement
58
51
  requirements:
59
52
  - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
62
56
  requirement: !ruby/object:Gem::Requirement
63
57
  requirements:
64
58
  - - '>='
65
59
  - !ruby/object:Gem::Version
66
60
  version: '0'
61
+ name: guard-rspec
67
62
  prerelease: false
68
63
  type: :development
69
- - !ruby/object:Gem::Dependency
70
- name: pry
71
64
  version_requirements: !ruby/object:Gem::Requirement
72
65
  requirements:
73
66
  - - '>='
74
67
  - !ruby/object:Gem::Version
75
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
76
70
  requirement: !ruby/object:Gem::Requirement
77
71
  requirements:
78
72
  - - '>='
79
73
  - !ruby/object:Gem::Version
80
74
  version: '0'
75
+ name: pry
81
76
  prerelease: false
82
77
  type: :development
83
- - !ruby/object:Gem::Dependency
84
- name: pry-remote
85
78
  version_requirements: !ruby/object:Gem::Requirement
86
79
  requirements:
87
80
  - - '>='
88
81
  - !ruby/object:Gem::Version
89
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
90
84
  requirement: !ruby/object:Gem::Requirement
91
85
  requirements:
92
86
  - - '>='
93
87
  - !ruby/object:Gem::Version
94
88
  version: '0'
89
+ name: pry-remote
95
90
  prerelease: false
96
91
  type: :development
97
- - !ruby/object:Gem::Dependency
98
- name: pry-nav
99
92
  version_requirements: !ruby/object:Gem::Requirement
100
93
  requirements:
101
94
  - - '>='
102
95
  - !ruby/object:Gem::Version
103
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
104
98
  requirement: !ruby/object:Gem::Requirement
105
99
  requirements:
106
100
  - - '>='
107
101
  - !ruby/object:Gem::Version
108
102
  version: '0'
103
+ name: pry-nav
109
104
  prerelease: false
110
105
  type: :development
111
- - !ruby/object:Gem::Dependency
112
- name: bundler
113
106
  version_requirements: !ruby/object:Gem::Requirement
114
107
  requirements:
115
- - - ~>
108
+ - - '>='
116
109
  - !ruby/object:Gem::Version
117
- version: '1.5'
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
118
112
  requirement: !ruby/object:Gem::Requirement
119
113
  requirements:
120
114
  - - ~>
121
115
  - !ruby/object:Gem::Version
122
116
  version: '1.5'
117
+ name: bundler
123
118
  prerelease: false
124
119
  type: :development
125
- - !ruby/object:Gem::Dependency
126
- name: rake
127
120
  version_requirements: !ruby/object:Gem::Requirement
128
121
  requirements:
129
- - - '>='
122
+ - - ~>
130
123
  - !ruby/object:Gem::Version
131
- version: '0'
124
+ version: '1.5'
125
+ - !ruby/object:Gem::Dependency
132
126
  requirement: !ruby/object:Gem::Requirement
133
127
  requirements:
134
128
  - - '>='
135
129
  - !ruby/object:Gem::Version
136
130
  version: '0'
131
+ name: rake
137
132
  prerelease: false
138
133
  type: :development
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
139
  description:
140
140
  email:
141
- - kenoir@gmail.com
141
+ - FutureMediaNewsRubyGems@bbc.co.uk
142
142
  executables: []
143
143
  extensions: []
144
144
  extra_rdoc_files: []