embulk-input-sparql 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6ff6a1c57cfd8cfaedd4ab3106a14f60a112e00
4
- data.tar.gz: 1142c395dd8f943c8918db379f8b57e2ccc2dd1f
3
+ metadata.gz: aee335f3120f8fa829caeba63f993c79530c416a
4
+ data.tar.gz: 2a1d8ac726c2da96d84e5f186ce547f61bf7ea38
5
5
  SHA512:
6
- metadata.gz: d3155ee26c0da9167d8524f99dde14d6bb42fe31dfc37aad5152d63a2e22cd00b73ce337c26fe6466dcdb6ae288ed554901af6238fe3747bb6fd8d4d3244947b
7
- data.tar.gz: 44260271a4535d40693a87543895c9c264839d3530c210434b706e3efd46c4d34fe5fef8f017504215909522d07e0e22639f38712d8ab8ac020dc41f064ae20a
6
+ metadata.gz: 0c059e6091163503d1be12dac463721f92861f6f7599d78a13814f737941fed028b7765316146881c5209446cb862741025446531b7b0b230ae43df95f8f2868
7
+ data.tar.gz: afaef124e9718861055a09a05e3e4858f0c1b6b2777c2cdfd176c4fe0c950fe63634124ef3ae336641b6c0df1159ea15a8c1a3e79b69cc6bcb692452644b4a8c
@@ -14,7 +14,7 @@ configurations {
14
14
  provided
15
15
  }
16
16
 
17
- version = "0.0.1"
17
+ version = "0.0.2"
18
18
 
19
19
  sourceCompatibility = 1.8
20
20
  targetCompatibility = 1.8
@@ -155,7 +155,7 @@ public class SparqlInputPlugin
155
155
  return literal.getInt();
156
156
  }
157
157
  else {
158
- return Long.parseLong(literal.toString());
158
+ return Long.parseLong(literal.getLexicalForm());
159
159
  }
160
160
  }
161
161
  return Long.parseLong(solution.get(column).toString());
@@ -169,7 +169,7 @@ public class SparqlInputPlugin
169
169
  return literal.getDouble();
170
170
  }
171
171
  else {
172
- return Double.parseDouble(literal.toString());
172
+ return Double.parseDouble(literal.getLexicalForm());
173
173
  }
174
174
  }
175
175
  return Double.parseDouble(solution.get(column).toString());
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-sparql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikami, Takeshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-15 00:00:00.000000000 Z
11
+ date: 2020-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ files:
58
58
  - classpath/commons-io-2.6.jar
59
59
  - classpath/commons-lang3-3.10.jar
60
60
  - classpath/commons-logging-1.2.jar
61
- - classpath/embulk-input-sparql-0.0.1.jar
61
+ - classpath/embulk-input-sparql-0.0.2.jar
62
62
  - classpath/httpclient-4.5.10.jar
63
63
  - classpath/httpclient-cache-4.5.10.jar
64
64
  - classpath/httpcore-4.4.12.jar