cloudwatch-metrics 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: d8313df8b793174b06bf1e26370a2b46c15b69be5218177e40df42942068e415
4
- data.tar.gz: f351a3952ff54d0dcf31cb9042617fbac9ccaa21e6b739bc4e89355438b362ab
3
+ metadata.gz: 6c2de94d8e42d6fc4c02b3e7d1896f36c32bf4881c1c853907d96ae15a607bc6
4
+ data.tar.gz: 8fd20a4958a52981928042e02d7aa28ceab6d65436111bdfc3ad47c8bd2bca04
5
5
  SHA512:
6
- metadata.gz: eae484ba8ee474222745a670f3177ad806072dd724da0824e264f9563ddf9a855ba0af067eb5981a22621c1e7afe44a365ab550dbaac1430137ef89b7b5c77e6
7
- data.tar.gz: 9665366590a967b38b6a2af381439bb075e4c7185286c0eecef1f6fb343406b67990787139074fbb084858523e3b82acf1a01e99249aa3103c1507df85dd01cb
6
+ metadata.gz: '09f0d7e276d068beabac2dbe0f019ebff34f1e8ebc86745396dd3e62b08f4647d72497d5e11a44d7f32f21332f47bf63d95f8206ee94042bdb96f9e1a392e134'
7
+ data.tar.gz: 3db4f71f152bbc8a5c2a100472aa2501366976b574d3b27cbdcf7a2c20619bc97633aa3bbbfdb46c462acd0a5a5c7d9657ac79570e2f8c5302cbee555794846e
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudwatchMetrics
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
@@ -5,7 +5,17 @@ require_relative "cloudwatch_metrics/version"
5
5
  module CloudwatchMetrics
6
6
  class Error < StandardError; end
7
7
 
8
- def self.hi
9
- puts "Hello"
8
+ class << self
9
+ def configuration
10
+ @configuration ||= Configuration.new
11
+ end
12
+
13
+ def configure
14
+ yield(configuration)
15
+ end
16
+
17
+ def hi
18
+ puts "Hello, #{configuration.namespace}"
19
+ end
10
20
  end
11
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudwatch-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Puckett