delirium 0.2.0 → 0.2.1

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: f82cc3de8c5cd756ef19491f041b3263fc864107866225b22cd21ef77eda1f15
4
- data.tar.gz: f9bcd42b71058c20269f5e386be9a0a56eaea680fa8e63ff342be8c6ecdbbfb9
3
+ metadata.gz: 9677a292bd62f495a05517ffe806a641162898c569593958b384eca88e324cc6
4
+ data.tar.gz: bf2880b33915470196346af62909bac5ca7b55e4ae51bd3d0ea4cbc3814c23e9
5
5
  SHA512:
6
- metadata.gz: 04ba47c91ad4ba254db5b6ae3b904010471b2f81b3d633057e58f67c0313a14efae16d052ec6193b824c1d4cc583daa61cd6cb3268f82924c427fe6c457582b4
7
- data.tar.gz: 79850bcd4098b48b38df6d76e5e73306a4773d8db54a094ff544682ac2c9344f5e05afdaf0155b968e263ec635e6911224dabc64f2bf11e0074178743504af2e
6
+ metadata.gz: b1c10cc1ec01d11e636dc05f66ece6dc0c1701947c3c12f696fd262fb3b134252c7745777a0c4198200523bfb52ba1190946156b98d2a00f0a4a8ab20a63cce2
7
+ data.tar.gz: bbf905256ddff51353b759dc9529dd3caa6c609126eb46988c4830886111cae419e94d94934333a6842b8741cc4d609ae050fd1982c67c2e85986701102ec51b
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.1
1
+ 2.5.3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- delirium (0.2.0)
4
+ delirium (0.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -2,6 +2,12 @@ module Delirium
2
2
  module Platform
3
3
  class Windows
4
4
  class Keyboard < Base::Keyboard
5
+ def write(string:)
6
+ string.split("").each do |c|
7
+ `nircmd.exe sendkey #{c} press`
8
+ end
9
+ end
10
+
5
11
  def key_press(key:)
6
12
  case key
7
13
  when Symbol
@@ -1,3 +1,3 @@
1
1
  module Delirium
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delirium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Superbot HQ