alephant-logger-cloudwatch 2.0.2 → 2.1.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: 9fdc15cafd3f370f43819233461718f1585ca81a
4
- data.tar.gz: 2c52c9d23fd4014aee36c3262fe06dd093d8052a
3
+ metadata.gz: 6fb7323f3900cfd4153f53f5a6736f73c7b7aed5
4
+ data.tar.gz: 76ad45f5f070996303b0f54364f1c85a08b77054
5
5
  SHA512:
6
- metadata.gz: fc2bdcf8cbc6f5e16c03dd5c6a4a430e23ab5d25be8cd4269b00fb7147bfd436b3ad2ebb2809aa97afd729633b9f6d17c4df52394d3e4f597f4d04c196ba8067
7
- data.tar.gz: f39dd8a8b5a5190849696aa29ade6d2a44727a85521481464b1565a4912d747503f60310c5c396bfc1f06c59341a39d10bb83bf4bd8730df35529e3f802f2fdf
6
+ metadata.gz: 1c47da8903b76201782d55d9c22410ff07bd423239b692bca8f5b53150a53bd337f3a7af30686cf7d20f2b801327bff0892d6de8188af60d88af82bcc5781bda
7
+ data.tar.gz: 710e0b0e60c038fcb2b00a7ec3f2a526f7401c1924b58e05bf342b8886120036e79aa8ea0888bb5d5129750a5c622374a33337469c64623aff732be7125488d0
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.name = "alephant-logger-cloudwatch"
9
9
  spec.version = Alephant::Logger::Cloudwatch::VERSION
10
10
  spec.authors = ["BBC News"]
11
- spec.email = ["FutureMediaNewsRubyGems@bbc.co.uk"]
11
+ spec.email = ["D&ENewsFrameworksTeam@bbc.co.uk"]
12
12
  spec.summary = %q{Cloudwatch driver for Alephant::Logger}
13
13
  spec.description = %q{Cloudwatch driver for Alephant::Logger}
14
14
  spec.homepage = ""
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "bundler", "~> 1.7"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "rspec", "~> 3"
25
- spec.add_development_dependency "aws-sdk", "~> 1"
25
+ spec.add_runtime_dependency "aws-sdk-cloudwatch"
26
26
  spec.add_development_dependency "pry"
27
27
  spec.add_development_dependency "rake-rspec"
28
28
  spec.add_development_dependency "rspec-nc"
@@ -1,10 +1,10 @@
1
- require "aws-sdk"
1
+ require "aws-sdk-cloudwatch"
2
2
 
3
3
  module Alephant
4
4
  module Logger
5
5
  class CloudWatch
6
6
  def initialize(opts)
7
- @cloudwatch = AWS::CloudWatch.new
7
+ @cloudwatch = Aws::CloudWatch::Client.new
8
8
  @defaults = process_defaults opts
9
9
  end
10
10
 
@@ -1,7 +1,7 @@
1
1
  module Alephant
2
2
  module Logger
3
3
  module Cloudwatch
4
- VERSION = "2.0.2"
4
+ VERSION = "2.1.0"
5
5
  end
6
6
  end
7
7
  end
@@ -32,7 +32,9 @@ describe Alephant::Logger::CloudWatch do
32
32
  end
33
33
 
34
34
  specify do
35
- expect_any_instance_of(AWS::CloudWatch)
35
+ ENV['AWS_REGION'] = 'eu-west-1'
36
+
37
+ expect_any_instance_of(Aws::CloudWatch::Client)
36
38
  .to receive(:put_metric_data)
37
39
  .with(
38
40
  :namespace => namespace,
metadata CHANGED
@@ -1,121 +1,121 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-logger-cloudwatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BBC News
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-22 00:00:00.000000000 Z
11
+ date: 2018-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: bundler
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
- - - ~>
17
+ - - "~>"
17
18
  - !ruby/object:Gem::Version
18
19
  version: '1.7'
19
- name: bundler
20
- prerelease: false
21
20
  type: :development
21
+ prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.7'
27
27
  - !ruby/object:Gem::Dependency
28
+ name: rake
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ~>
31
+ - - "~>"
31
32
  - !ruby/object:Gem::Version
32
33
  version: '10.0'
33
- name: rake
34
- prerelease: false
35
34
  type: :development
35
+ prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
+ name: rspec
42
43
  requirement: !ruby/object:Gem::Requirement
43
44
  requirements:
44
- - - ~>
45
+ - - "~>"
45
46
  - !ruby/object:Gem::Version
46
47
  version: '3'
47
- name: rspec
48
- prerelease: false
49
48
  type: :development
49
+ prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3'
55
55
  - !ruby/object:Gem::Dependency
56
+ name: aws-sdk-cloudwatch
56
57
  requirement: !ruby/object:Gem::Requirement
57
58
  requirements:
58
- - - ~>
59
+ - - ">="
59
60
  - !ruby/object:Gem::Version
60
- version: '1'
61
- name: aws-sdk
61
+ version: '0'
62
+ type: :runtime
62
63
  prerelease: false
63
- type: :development
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '1'
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
+ name: pry
70
71
  requirement: !ruby/object:Gem::Requirement
71
72
  requirements:
72
- - - '>='
73
+ - - ">="
73
74
  - !ruby/object:Gem::Version
74
75
  version: '0'
75
- name: pry
76
- prerelease: false
77
76
  type: :development
77
+ prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
+ name: rake-rspec
84
85
  requirement: !ruby/object:Gem::Requirement
85
86
  requirements:
86
- - - '>='
87
+ - - ">="
87
88
  - !ruby/object:Gem::Version
88
89
  version: '0'
89
- name: rake-rspec
90
- prerelease: false
91
90
  type: :development
91
+ prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
+ name: rspec-nc
98
99
  requirement: !ruby/object:Gem::Requirement
99
100
  requirements:
100
- - - '>='
101
+ - - ">="
101
102
  - !ruby/object:Gem::Version
102
103
  version: '0'
103
- name: rspec-nc
104
- prerelease: false
105
104
  type: :development
105
+ prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: Cloudwatch driver for Alephant::Logger
112
112
  email:
113
- - FutureMediaNewsRubyGems@bbc.co.uk
113
+ - D&ENewsFrameworksTeam@bbc.co.uk
114
114
  executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
- - .gitignore
118
+ - ".gitignore"
119
119
  - Gemfile
120
120
  - LICENSE.txt
121
121
  - README.md
@@ -128,24 +128,24 @@ homepage: ''
128
128
  licenses:
129
129
  - MIT
130
130
  metadata: {}
131
- post_install_message:
131
+ post_install_message:
132
132
  rdoc_options: []
133
133
  require_paths:
134
134
  - lib
135
135
  required_ruby_version: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - '>='
137
+ - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  requirements:
142
- - - '>='
142
+ - - ">="
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  requirements: []
146
- rubyforge_project:
147
- rubygems_version: 2.1.9
148
- signing_key:
146
+ rubyforge_project:
147
+ rubygems_version: 2.6.12
148
+ signing_key:
149
149
  specification_version: 4
150
150
  summary: Cloudwatch driver for Alephant::Logger
151
151
  test_files: