osgeo-termbase 0.0.2 → 0.0.3

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: d7bafd03d4736e25d8f71755f850a523e7c35657b5d32f7203ec950e8742188e
4
- data.tar.gz: 8f06b100a6a41b7c03ca874da3c12b3eadbbc99d6b35ce91de3246b5655852b5
3
+ metadata.gz: dba826b0cf92cb62bac424c0aab0cdd04af2c619ecce64b27c81c97fa2d7816d
4
+ data.tar.gz: dec8ba784a3ec848fe400d62ed2a1f2af9418e0d4e06471fa3755afc8e3ce16f
5
5
  SHA512:
6
- metadata.gz: 15473ce3109c5ccab7ced943de668cb98c965fcc77f48d3e396053e10242dd6e4012a31c1a93c75bbb2480447d03d88827a4255440115a1143bf50884410e9db
7
- data.tar.gz: c23189fbd71141a9b0fcb05f074f1f609a4df7bc38d85ef5c99f88e6f0d0b680a8655790f857b3c7d762ba5f6852d13e5d56c92d87e86598fe068f67dac08781
6
+ metadata.gz: 63a6d7d4580758675c496e3d9908b078ccc51108278d20ecd1596a9e7d09b04156bede246ea82ba8b91eb77b64d4a39ebbd618856fa024bab76182015b4b0bd9
7
+ data.tar.gz: 04ae7f36a9d7f22a63d7e954b82f041bfd6a0a1154a74397c661359c3dfa7244de12da17086872a766a636bf4db8a5aab47976ea032f2d282556f5b20fcf0b16
@@ -29,7 +29,7 @@ class Csv
29
29
  # Here we replace the DOS \r\n with Unix \n
30
30
  csv_content = csv_content.gsub(/\r\n/, "\n")
31
31
 
32
- puts csv_content
32
+ # puts csv_content
33
33
 
34
34
  CSV.new(
35
35
  csv_content,
@@ -44,12 +44,16 @@ class Csv
44
44
  domain: row[2],
45
45
  comments: row[3] && [row[3]],
46
46
  definition: row[4],
47
- authoritative_source: row[5],
47
+ authoritative_source: {
48
+ "link" => row[5],
49
+ # ref: '',
50
+ # clause: ''
51
+ },
48
52
  entry_status: row[6],
49
53
  language_code: "eng"
50
54
  )
51
55
 
52
- puts term.to_hash
56
+ # puts term.to_hash
53
57
  collection.add_term(term)
54
58
  end
55
59
 
@@ -1,5 +1,5 @@
1
1
  module Osgeo
2
2
  module Termbase
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osgeo-termbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose