cloudwatch_logs_insights_url_builder 0.0.6 → 0.0.7

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: 2952989f7eaff60bf2ef7b18c849edb47423e093b25916f3d1ee715bd223f5bb
4
- data.tar.gz: 0c86fb1d3437e3d6c69f6d7f043e98b598a93f9789d7a9db453b96c83a57929d
3
+ metadata.gz: 34d2f31f3aa8e5546cd5f16090a7614c290070dad11699a3fa0869a2302d2dc9
4
+ data.tar.gz: 5c00488c30674c89a5693bd8eeda4ee634ed9ee9197ead8504a30f268dc36a0f
5
5
  SHA512:
6
- metadata.gz: c36b6c47e31d354c930ba71a7e7e4e311dcdbf6a723c79d1be691b81d247f1746965d16118c07334430f78cc98df359742639129898aaf7c6e11cdb89ef0d9ca
7
- data.tar.gz: f571b2ff89607d6694aa7dfe1939d804c2587b03df7184cd3714a43a904d2aceac6a8f6a01373376f9b400983cfd5585465f2a66935ba19171ac4a699d4ceeff
6
+ metadata.gz: a1abedef52813b617fffb9689d40d919b1fc37447406fdbee838a55e535199e5962658b0b391dba505be66bbfe86358350fff73071bd0ed5a5fed2b23dc3fc80
7
+ data.tar.gz: 2570eebd4aa8aa5e3005aba36eb840cb0978b1d9a2c7a567a852b48e2aa0a8b31b9d0637cecc51f2284135b52f9e3f61ce8685e73456b8928a6b53625dd4330b
data/README.md CHANGED
@@ -18,7 +18,7 @@ require 'cloudwatch_logs_insights_url_builder'
18
18
 
19
19
  builder = CloudWatchLogsInsightsUrlBuilder.new
20
20
  builder.time_type = 'ABSOLUTE'
21
- builder.start_time = 24 * 3600
21
+ builder.start_time = - (24 * 3600)
22
22
  builder.end_time = 0
23
23
  builder.log_groups = ['/aws/cloudtrail']
24
24
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'cloudwatch_logs_insights_url_builder'
3
- spec.version = '0.0.6'
3
+ spec.version = '0.0.7'
4
4
  spec.authors = ['naomichi-y']
5
5
  spec.email = ['n.yamakita@gmail.com']
6
6
 
@@ -6,7 +6,7 @@ class CloudWatchLogsInsightsUrlBuilder
6
6
 
7
7
  STRING_TIME_FORMAT = '%Y-%m-%dT%T.000Z'.freeze
8
8
 
9
- def initialize(region)
9
+ def initialize(region = 'us-east-1')
10
10
  @region = region
11
11
  @time_type = 'RELATIVE'
12
12
  @timezone = 'Local'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudwatch_logs_insights_url_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - naomichi-y