kamiflex 0.14.0 → 0.15.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
  SHA256:
3
- metadata.gz: 6f3a0c28faa7246ac46c30d299399e4a052238fd65ffbcf3876f3d212b5f8c7a
4
- data.tar.gz: 23cff523a92f3eaa2519a295a4c29f31c2306a45016e3fa7e6cd9b5017637ffe
3
+ metadata.gz: 7e3ff1f39a3eaecc4f496d30432602c6ff1470bae0141cb1a3c991e0a842dae4
4
+ data.tar.gz: 70d4de11a4ca7e4f6e8e401cc7b9aff80b081af856a618ca50b349a563b0932a
5
5
  SHA512:
6
- metadata.gz: fb297062b3e7037e25079f35597a616021a51d13244d6d157a1f71d2d04d38ec6af4cff3e6ed9c8ae3dba608c6fc360bd9878b7f62e0162f3678f292724ccd5c
7
- data.tar.gz: 73de7d71fad0c304d603e8f1899f699abcf050e6f82ec9e0e72ab1d877bb0690eac743898c54c34a58fc79988fa88b1940ca47651da1f444f703d615fed80202
6
+ metadata.gz: a94b7419dba86af0b272ed4788aa11231af59042081b712b8440780d85ce5ec1ea68c7e77c0ba6d4e73044226c28a218758009124475a2c8fc8b81a45f4032fc
7
+ data.tar.gz: 8e73dc3845ce59f6deb32e27df5acc14135bde537be86c04787e4f5eb30efd97d7439999681f0f2d32e2d78f62bd657da73fdc60b904cf0e1b94eecab2d54131
data/lib/kamiflex.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require "json"
2
+ require_relative "./kamiflex/version"
2
3
  require_relative "./kamiflex/core"
3
4
  require_relative "./kamiflex/basic_elements"
4
5
  require_relative "./kamiflex/actions"
@@ -15,11 +15,12 @@ module Kamiflex
15
15
  uri: uri
16
16
  }
17
17
 
18
- if params[:desktop].present?
19
- action[:altUri] = {
20
- desktop: params[:desktop]
21
- }
22
- end
18
+ return action if params.nil?
19
+ return action if params[:desktop].nil?
20
+
21
+ action[:altUri] = {
22
+ desktop: params[:desktop]
23
+ }
23
24
 
24
25
  action
25
26
  end
@@ -1,3 +1,3 @@
1
1
  module Kamiflex
2
- VERSION = '0.14.0'
2
+ VERSION = '0.15.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kamiflex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - etrex kuo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-27 00:00:00.000000000 Z
11
+ date: 2021-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json