superbot 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 1d99d87e748e4f70a3a9ccd7eaa049f7ad78de501c83343e24b21b52d1a32f11
4
- data.tar.gz: 2cb9d36d9e1f36e8a85e11665b4cf54c459d57387739337c77e0eacf33e23242
3
+ metadata.gz: 1daf8db5c8573f4ea88fc5b58d7eb2362e84a716baedfbc971bb9ef52cf904e3
4
+ data.tar.gz: 6ee9f09184abc8015a4c5293f07beb8e18be57dc263d85a84776a0ad2380565c
5
5
  SHA512:
6
- metadata.gz: a040b5c8d44141bd5c6fca9ddb4d477793207b42981ed40c326346a02ef61691a5b7b8c0ea23edb708863b34d9a59b26cb7dddd419da7bcd287e50b79da7d68b
7
- data.tar.gz: 3fa1e7e58ff704e764907729c5b5586a0c3743dc512616f19d4688065a8c39a9c8a356628d7463c55c86e47944485870b19833b47cd501c19a40b74c54b457db
6
+ metadata.gz: fcffe77a0b61e4abb99783a35387fd7ef10f66890309bc7991b99f8285edd02cf7a4228a281b4a8048731196f014f30f405da71708d1f5ba32d39cc7bd0dd4cd
7
+ data.tar.gz: 45859ff06232597c4e9c8322878b0bcddfcacf6d5f0ac8c16f98d0d04b52f4b74acadea45406dafbda8e4a95f079ff04f1cbf05e934ca49ae4207e4ba5301ac2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot (0.1.2)
4
+ superbot (0.1.3)
5
5
  clamp (= 1.2.1)
6
6
  launchy (= 2.4.3)
7
7
  sinatra (= 2.0.3)
@@ -161,7 +161,7 @@ DEPENDENCIES
161
161
  rubocop (~> 0.53)
162
162
  simplecov (~> 0.16)
163
163
  superbot!
164
- superbot-capybara
164
+ superbot-capybara (~> 360.0, >= 360.0.0)
165
165
 
166
166
  BUNDLED WITH
167
167
  1.16.4
@@ -30,7 +30,8 @@ module Superbot
30
30
  end
31
31
 
32
32
  def converted_json
33
- json.map { |action| convert_action(action) }.join('; ')
33
+ return json.map { |action| convert_action(action) }.join('; ') if json.is_a?(Array)
34
+ return convert_action(json) if json.is_a?(Hash)
34
35
  end
35
36
  end
36
37
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Superbot
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
data/superbot.gemspec CHANGED
@@ -51,5 +51,4 @@ Gem::Specification.new do |spec|
51
51
  spec.add_development_dependency "guard", "~> 2.14"
52
52
  spec.add_development_dependency "guard-rspec", "~> 4.7"
53
53
  spec.add_development_dependency "guard-rubocop", "~> 1.3"
54
-
55
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superbot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Superbots
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-15 00:00:00.000000000 Z
11
+ date: 2018-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp