aliyun-log 0.2.9 → 0.2.10

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: 0365cd8d407b5198a7e6ce3ea9e0aeac77f4af1954a7373a5817e3454a0d72ad
4
- data.tar.gz: '0842353fac8ae79d4972e351437b8435137169eb41929085796bc70c30973d88'
3
+ metadata.gz: b0d96cc9d1e5e1a2bee7cdcbca04043f3a80e8b733b1be820aac363b31f8ec34
4
+ data.tar.gz: 2769ddbdd8d54f257e02d12813d207fbb920c50659977a42527d6f714b45b818
5
5
  SHA512:
6
- metadata.gz: 91b72a67855c9850b9b21eb1930f4d1c1118cb8068e3172e9ffd6db15e214003592671f1b5705b2b60f32abe458b4843683946bc837de8118d075855a7ba2cbd
7
- data.tar.gz: 5926791f61bb63e367337c4bb7b8c284d3aa04d4c94f4ba9966aa54317db53ce75e5dbc4953d804088ec0cd96bfca25af88d18f7e828b3712b06316d457e9cd5
6
+ metadata.gz: 2a3c0526d83176a4b34e111744ebac7cd0543fc1396462f0299dcda7c43ce31b12fb7b8ebb08898a08edddaa684ea16e3288d1985add5f35eaf61cc8ca4222e8
7
+ data.tar.gz: d658a42dd7aff881cb7cc9b31374af83417533185cca1c3e4b8763ec4c52bd85bd22749f4b5130dede0b42fdca0ec84663db469c5a9893d126cd9b49972fb198
@@ -0,0 +1,13 @@
1
+ module Aliyun
2
+ module Log
3
+ class LogTail < Common::AttrStruct
4
+ attrs :name, :log_type, :log_path, :file_pattern, :localstore, :time_format,
5
+ :log_begin_regex, :regex, :key, :topic_format,
6
+ :filterKey, :filter_regex, :file_encoding
7
+ def initialize(opts, protocol)
8
+ super(opts)
9
+ @protocol = protocol
10
+ end
11
+ end
12
+ end
13
+ end
@@ -66,7 +66,7 @@ module Aliyun
66
66
 
67
67
  def dump(value)
68
68
  if value.respond_to?(:to_date)
69
- value.to_datetime.iso8601
69
+ value.to_date.to_s
70
70
  else
71
71
  value.to_s
72
72
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Aliyun
4
4
  module Log
5
- VERSION = '0.2.9'
5
+ VERSION = '0.2.10'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aliyun-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yingce Liu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-13 00:00:00.000000000 Z
11
+ date: 2020-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -128,6 +128,7 @@ files:
128
128
  - lib/aliyun/log/common/logging.rb
129
129
  - lib/aliyun/log/config.rb
130
130
  - lib/aliyun/log/logstore.rb
131
+ - lib/aliyun/log/logtail.rb
131
132
  - lib/aliyun/log/project.rb
132
133
  - lib/aliyun/log/protobuf.rb
133
134
  - lib/aliyun/log/protocol.rb