forked from erinata/auto_click
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauto_click.gemspec
25 lines (22 loc) · 1.3 KB
/
auto_click.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "auto_click/version"
Gem::Specification.new do |s|
s.name = "auto_click"
s.version = AutoClick::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["erinata"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/erinata/auto_click"
s.summary = %q{Smulating mouse click, cursor movement and keystrokes}
s.description = %q{Provide several Ruby methods for simulating mouse click, cursor movement and keystrokes in Windows.
This gem use DL library and SendInput method so there is no dependency on FFI, AutoIt or Win32-api.
Methods include mouse_move(x,y), left_click, right_click, type(string), mouse_scroll(steps), key_up, key_down...etc.
See https://github.com/erinata/auto_click for more details about instalation and usage.
(More control over mouse movement such as speed or locus will be implemented in future releases)}
s.required_ruby_version = '>= 1.9.0'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end