embulk-input-zendesk 0.3.8-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/classpath/commons-codec-1.10.jar +0 -0
- data/classpath/commons-logging-1.2.jar +0 -0
- data/classpath/embulk-input-zendesk-0.3.8.jar +0 -0
- data/classpath/httpclient-4.5.6.jar +0 -0
- data/classpath/httpcore-4.4.10.jar +0 -0
- data/lib/embulk/guess/zendesk.rb +21 -0
- data/lib/embulk/input/zendesk.rb +3 -0
- metadata +50 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0f8d88ec017b9fbcecc999a1cd95dce8944060be5590d0eac782474f5c8d040e
|
4
|
+
data.tar.gz: 61d6a1dfe95001582a58d3fa013ef70427bfe957f7c32005612993fb5ea269cc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3422c8da3c3338255c835cb99244d1a58bde84cdf7a21ebe1ad8d46fb220bfef48e92916691bb7942f712dfdddde054f171e02d7a21e072277baae8116c4e91f
|
7
|
+
data.tar.gz: 2ae1fbd93cdcd5a274a73ff28ac930eddca96d554aa54b5a195ff74cd6a896f569d3135222f1d9b7e96f4c415c34183c0c54ec905b930caf57d2b9e53b2771eb
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'json'
|
2
|
+
|
3
|
+
module Embulk
|
4
|
+
module Guess
|
5
|
+
class ZendeskGuess < TextGuessPlugin
|
6
|
+
Plugin.register_guess("zendesk", self)
|
7
|
+
|
8
|
+
def guess_text(config, sample_text)
|
9
|
+
{:columns =>
|
10
|
+
SchemaGuess.from_hash_records(JSON.parse(sample_text)).map do |c|
|
11
|
+
{
|
12
|
+
name: c.name,
|
13
|
+
type: c.type,
|
14
|
+
**(c.format ? {format: c.format} : {})
|
15
|
+
}
|
16
|
+
end
|
17
|
+
}
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: embulk-input-zendesk
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.8
|
5
|
+
platform: java
|
6
|
+
authors:
|
7
|
+
- Hieu Duong
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-03-24 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Import records from Zendesk.
|
14
|
+
email:
|
15
|
+
- duongminhhieu89@gmail.com
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- classpath/commons-codec-1.10.jar
|
21
|
+
- classpath/commons-logging-1.2.jar
|
22
|
+
- classpath/embulk-input-zendesk-0.3.8.jar
|
23
|
+
- classpath/httpclient-4.5.6.jar
|
24
|
+
- classpath/httpcore-4.4.10.jar
|
25
|
+
- lib/embulk/guess/zendesk.rb
|
26
|
+
- lib/embulk/input/zendesk.rb
|
27
|
+
homepage: https://github.com/treasure-data/embulk-input-zendesk
|
28
|
+
licenses: []
|
29
|
+
metadata: {}
|
30
|
+
post_install_message:
|
31
|
+
rdoc_options: []
|
32
|
+
require_paths:
|
33
|
+
- lib
|
34
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
requirements: []
|
45
|
+
rubyforge_project:
|
46
|
+
rubygems_version: 2.7.9
|
47
|
+
signing_key:
|
48
|
+
specification_version: 4
|
49
|
+
summary: Embulk Input Zendesk input plugin for Embulk
|
50
|
+
test_files: []
|