webfleet_connect 0.1.1 → 0.1.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: 3bbee91ece2cfe95d2f2b846649c0c54fafd21cfe5148740a21ad999af5102ba
4
- data.tar.gz: f81b1ce8e66dea4ade1f658f701729dbc66f7e97114803ec4dbc3ae61278f590
3
+ metadata.gz: 14816ea8853247c03d3fa4919bc42f75323347d05131b831dacdd101636aceb0
4
+ data.tar.gz: b0bb671f69e98691ed3daed4cd468af690b13a8af24ba39297faba58029544b0
5
5
  SHA512:
6
- metadata.gz: '011081d1736500a31b39fa430fcd6c9cb64d305718bcea662a053cea98877cfb790b01a3d98c3fa7858c3f173e5951591f59d6b42702c6d650a0d6e25433018c'
7
- data.tar.gz: bd0d10a474ad221333ded8b5e5c8003b43d423af210ed10d3b30cae12d954b01b860defc1699cd8731532081477c972f77ec961ea0c4da6519e5013b4dd5fb15
6
+ metadata.gz: 4772d58d4e45a9c2695cbc072947a34311e49a74375d299e7316b589561e8d5c1588723e23005354b9fcdaa41d14ce6cde66ed6949d9de3c7b7e03a7c16cd5cc
7
+ data.tar.gz: 05314ddf361ddb56e41cd7e9a694cebdf7e136d2c6549e60aeb2c56dad150907c12b94a437d14a839f0173586aeb8503b7903e56e2c608184cd9e410e8135004
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- webfleet_connect (0.1.0)
4
+ webfleet_connect (0.1.2)
5
5
  csv (~> 3.2, >= 3.2.7)
6
6
  httparty (~> 0.21.0)
7
7
  json (= 2.6.3)
@@ -41,4 +41,4 @@ DEPENDENCIES
41
41
  webfleet_connect!
42
42
 
43
43
  BUNDLED WITH
44
- 2.2.33
44
+ 2.4.19
data/README.md CHANGED
@@ -10,6 +10,10 @@ Gem to consume WEBFLEET.connect API.
10
10
 
11
11
  The WEBFLEET.connect API connects software appli­ca­tions with the Webfleet fleet management solution. Via WEBFLEET.connect you can enhance the value of all types of business solutions, including routing and scheduling optimization, ERP, Transport Management System (TMS), supply chain planning, asset management, and much more.
12
12
 
13
+ Check also the version for:
14
+
15
+ - [javascript](https://github.com/movomx/webfleet_connect_js)
16
+
13
17
  ## Installation
14
18
 
15
19
  Add this line to your application's Gemfile:
@@ -3,8 +3,8 @@ require_relative '../helpers/case_helper'
3
3
  module WebfleetConnect::Actions
4
4
  include WebfleetConnect::Helpers::CaseHelper
5
5
 
6
- def add_action(action_name)
7
- action_string = snake_to_cammel(action_name.to_s)
6
+ def add_action(action_name, real_name = nil)
7
+ action_string = real_name || snake_to_cammel(action_name.to_s)
8
8
  class_eval %Q{
9
9
  def #{action_name}(args = {})
10
10
  exec WebfleetConnect::Actions::Action.new('#{action_string}', args)
@@ -15,7 +15,7 @@ module WebfleetConnect::Actions::Trips
15
15
  add_action :show_working_times
16
16
  add_action :show_stand_stills
17
17
  add_action :show_idle_exceptions
18
- add_action :get_object_kpis
19
- add_action :get_driver_kpis
18
+ add_action(:get_object_kpis, 'getObjectKPIs')
19
+ add_action(:get_driver_kpis, 'getDriverKPIs')
20
20
  add_action :get_remaining_driving_times_eu
21
21
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WebfleetConnect
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webfleet_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - alex
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-24 00:00:00.000000000 Z
11
+ date: 2023-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubygems_version: 3.2.33
158
+ rubygems_version: 3.4.19
159
159
  signing_key:
160
160
  specification_version: 4
161
161
  summary: Gem to consume Webfleet connect api.