crawlab_ruby_sdk 0.1.8 → 0.2.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
  SHA256:
3
- metadata.gz: c5c857dd2f243d47318786c542faec1a9fc7a6a52bba0edf7523313379b4f2d4
4
- data.tar.gz: fbbacb701ad2bd5d090d85ba3322cd82a5c02f5d7d0d3ab729ee2b2b0d0882c1
3
+ metadata.gz: c492e557b59d2c0a7da8836a3b2cfa580d09cb56369f97202828556065a1441b
4
+ data.tar.gz: 9c25a5d047d94e3037be980a6673340cfd320ed20830a797a275d4a71736e026
5
5
  SHA512:
6
- metadata.gz: 0f9752ef0ad2e59d72fa870a6493a8d831716c0422bb4d6d08a0afc3cadc08ee9b4b80eb97af5192ab1094ad7884533b3c7c75cc76d1a47fe7c0b90f991538d0
7
- data.tar.gz: 47e6a0373338ad0d32b8286d2b422da55a67d5728655fca51a028a17928ee301b981d17cb396e06d23f8911ac37663b471360f8ecce97e55b7f8595e4e8096c1
6
+ metadata.gz: 593dc00587bb678bd2b7b1b486a1f479d4f4478f2a47cc78307bd0ec8b1a717111b6728dc2422110d9485e12b0d50b720d2647585312e6bd1571e63ce8f4b4b4
7
+ data.tar.gz: c0ef2fdd41df0436eab3c143e5fb2f599323a7b65eb1ea9e77d8ede103e0fc74b638cdbaa4f7417b62e20af210736d65247d082f38238ac8645d47565b33da51
@@ -1,3 +1,3 @@
1
1
  module CrawlabRubySdk
2
- VERSION = "0.1.8"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -18,6 +18,8 @@ traverse_dir(dir+'/entity/stream_message_pb.rb')
18
18
  traverse_dir(dir+'/client')
19
19
  traverse_dir(dir+'/models/base.rb')
20
20
  traverse_dir(dir+'/models')
21
+ traverse_dir(dir+'/models/thinktank_expert.rb')
22
+ traverse_dir(dir+'/models/thinktank_information.rb')
21
23
  traverse_dir(dir+'/verify')
22
24
 
23
25
  module CrawlabRubySdk
data/lib/verify/verify.rb CHANGED
@@ -4,6 +4,7 @@ class Verify
4
4
  if table_name == "" && items.size > 0
5
5
  table_name = switch_table(items[0])
6
6
  elsif table_name != "" && items.size > 0
7
+ puts "验证:#{table_name}"
7
8
  if !match_fields?(items[0],table_name)
8
9
  return
9
10
  end
@@ -11,8 +12,6 @@ class Verify
11
12
 
12
13
  if table_name == ""
13
14
  puts "未匹配,不验证"
14
- else
15
- puts "验证:#{table_name}"
16
15
  end
17
16
 
18
17
  if table_name != ""
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crawlab_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - min