crawlab_ruby_sdk 0.2.1 → 0.2.2

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: 6a89c8cf3209e7bd3b906bff8b0ef04d4a00a034abc896bf54d59d70c61a0195
4
- data.tar.gz: e5d03fa1a42f3ceca77a16197e7d2e5b8f1122ef9d9662e4ea6853de3c051555
3
+ metadata.gz: 432fe6ff2112c334aa5aa1fa651b4809d5eddd5838d325a435052161379b2545
4
+ data.tar.gz: 3137627be808cc16e7d25f3c8c6854bda2790c609c1bbdbfdf43d40af8c9cdea
5
5
  SHA512:
6
- metadata.gz: 9437ebb84dac3842235315a9fef16aae8cd8e3eea5f465ef20b1c7a797fdc806c466b4287926f9c1e67a82b7442c5d3f78994a638564c58cff5999be0e9799f2
7
- data.tar.gz: 46f102880f5a8914f2a018c3c34ad348c6e9d69366228f4ff1130fdeb7fb94adab23e84d19064d328425b837d40ea2b2a449fab81bebd2a84b7847610ac87119
6
+ metadata.gz: ebb8669435f7ce87a10fc6960807420bf88f1902e19fd22dab5f121394894abd3b850ddd2b7037b661f51cf429b0be793adc838ddb87dce8fb3849d844ae3c9b
7
+ data.tar.gz: 2cfa352434b12d1eec7d70ab84a9b9044097eab453e57c647e20991913bfbec769b4f226e291ef8e6b2ad53ef1d535a319ca03b06c1d6afabbbd0e8448d8fc11
@@ -1,3 +1,3 @@
1
1
  module CrawlabRubySdk
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -35,6 +35,9 @@ class ThinktankExpertReport < BaseModel
35
35
  attr_accessor :sub_title
36
36
  attr_accessor :timezone
37
37
  attr_accessor :timezone_location
38
+ attr_accessor :related_authors
39
+ attr_accessor :related_author_names
40
+ attr_accessor :from_author_url
38
41
 
39
42
  def self.table_name
40
43
  return "thinktank_expert_reports"
@@ -79,6 +82,9 @@ class ThinktankExpertReport < BaseModel
79
82
  @sub_title = options["sub_title"]
80
83
  @timezone = options["timezone"]
81
84
  @timezone_location = options["timezone_location"]
85
+ @related_authors = options["related_authors"]
86
+ @related_author_names = options["related_author_names"]
87
+ @from_author_url = options["from_author_url"]
82
88
  end
83
89
 
84
90
  def as_json
@@ -119,6 +125,9 @@ class ThinktankExpertReport < BaseModel
119
125
  sub_title: @sub_title,
120
126
  timezone: @timezone,
121
127
  timezone_location: @timezone_location,
128
+ related_authors: @related_authors,
129
+ related_author_names: @related_author_names,
130
+ from_author_url: @from_author_url,
122
131
  }
123
132
  end
124
133
 
@@ -154,6 +163,8 @@ class ThinktankExpertReport < BaseModel
154
163
  "authors"=> ["json", "fields:author_id,author_name,author_url", "string"],
155
164
  "timezone"=> ["empty", 'regex:[\+|-]\d{4}', "string"],
156
165
  "timezone_location"=> ["empty", "string"],
166
+ "from_author_url" => ["empty","string"],
167
+ "related_authors" => ["json","string"],
157
168
  }
158
169
  end
159
170
 
@@ -36,6 +36,8 @@ class ThinktankInformation < BaseModel
36
36
  attr_accessor :sub_title
37
37
  attr_accessor :timezone
38
38
  attr_accessor :timezone_location
39
+ attr_accessor :related_authors
40
+ attr_accessor :related_author_names
39
41
 
40
42
  def self.table_name
41
43
  return "thinktank_informations"
@@ -82,6 +84,8 @@ class ThinktankInformation < BaseModel
82
84
  @sub_title = options["sub_title"]
83
85
  @timezone = options["timezone"]
84
86
  @timezone_location = options["timezone_location"]
87
+ @related_authors = options["related_authors"]
88
+ @related_author_names = options["related_author_names"]
85
89
  end
86
90
 
87
91
  def as_json
@@ -122,7 +126,9 @@ class ThinktankInformation < BaseModel
122
126
  authors: @authors,
123
127
  sub_title: @sub_title,
124
128
  timezone: @timezone,
125
- timezone_location: @timezone_location
129
+ timezone_location: @timezone_location,
130
+ related_authors: @related_authors,
131
+ related_author_names: @related_author_names,
126
132
 
127
133
  }
128
134
  end
@@ -159,6 +165,7 @@ class ThinktankInformation < BaseModel
159
165
  "authors"=> ["json", "fields:author_id,author_name,author_url", "string"],
160
166
  "timezone"=> ["empty", 'regex:[\+|-]\d{4}', "string"],
161
167
  "timezone_location"=> ["empty", "string"],
168
+ "related_authors" => ["json","string"],
162
169
  }
163
170
  end
164
171
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crawlab_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - min
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-12 00:00:00.000000000 Z
11
+ date: 2023-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc