citysdk 1.0.8 → 1.1.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
  SHA1:
3
- metadata.gz: f04e48fc30914341866e7bdb4f4de4a452438c28
4
- data.tar.gz: 0c2a9bcf9cae2153ea73604f7e9967ca2039935a
3
+ metadata.gz: f43e583a3607bc8acd924dbcc95a333733431f5e
4
+ data.tar.gz: 14ea5fcb4e29440eb380785ec99d882e14cb99b0
5
5
  SHA512:
6
- metadata.gz: af1821e45d0635e1a58d16d0e9d835053180095880a0e50e9989d5ad537769e327a3d2351f82341a5741aaed4d2727fe691e5883accba5b06fc15b795ffce6b2
7
- data.tar.gz: 1474d93a11185b21a4f5226b912feff325895364d7441032f4104e8c81587e1d03d2af90ddbe9dcab1732f88a824a55dc3c01c868dda7364a2a7bb53fb0ceaf6
6
+ metadata.gz: a7aabc2ca15af2c29822f3b0f82d5052f58e9a30fea939acc88cd9cd9b8a800091854b1c254e32ee9c3e2919c86b094336b632f461cc42daae3ac46faf87e62b
7
+ data.tar.gz: b73bcd3c7ace0c28ed8d905a1441ef0169e907a70a740a0c8601632cd35553143befd4eb688f3e58ceacb696614dc48501133346c4a63d26b8dc70b54190f6ab
@@ -4,5 +4,5 @@ require_relative './citysdk/file_reader.rb'
4
4
  require_relative './citysdk/importer.rb'
5
5
 
6
6
  module CitySDK
7
- VERSION = '1.0.8'
7
+ VERSION = '1.1.0'
8
8
  end
@@ -12,7 +12,7 @@ module CitySDK
12
12
  raise Exception.new("Missing :file_path in Importer parameters.") if @params[:file_path].nil?
13
13
 
14
14
  @api = CitySDK::API.new(@params[:host])
15
- if @params[:login]
15
+ if @params[:name]
16
16
  raise Exception.new("Missing :password in Importer parameters.") if @params[:password].nil?
17
17
  raise Exception.new("Failure to authenticate '#{@params[:name]}' with api.") if not @api.authenticate(@params[:name],@params[:password])
18
18
  @api.release
@@ -43,7 +43,7 @@ module CitySDK
43
43
  sign_out if @signed_in
44
44
  @api.set_host(@params[:host])
45
45
  @api.set_layer(@params[:layer])
46
- @api.authenticate(@params[:login],@params[:password])
46
+ @api.authenticate(@params[:name],@params[:password])
47
47
  @signed_in = true
48
48
  rescue => e
49
49
  @api.release
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: citysdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Demeyer