auto_click 0.3.0 → 0.4.0

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
- SHA1:
3
- metadata.gz: bb1c3b5d61b5f4998b061b364a3ec9d0aa64f129
4
- data.tar.gz: d569868f75ee1de80a58679ab2bf434a47bae2ce
2
+ SHA256:
3
+ metadata.gz: 0be5f4d186b5d45728b0990a7137bf8e3eee422de81c2b0b4d9d26d9d22ebdf9
4
+ data.tar.gz: ac2002bdf768013f339c8a74d9315994659084f1c951016911908d76ba1d9d6f
5
5
  SHA512:
6
- metadata.gz: 36dadba35007541fdb5acf1a4c84ca721bd44e6616919de3fe6344c43fcfb962bbbf60d9587e3665e5dde6e3816a63885efaeee1967fd7a74a863d59556eec96
7
- data.tar.gz: 5472cf43025984ff588d58f1b63a576c40644cf3150aedcabed222b83356e0577e312557c068f55be4dca3b07faf6982a58abeb1769b380c111cdabc2630fe97
6
+ metadata.gz: 24cfdf7e6b60e86d41b270593bef4dd6a0c4bc08d3b8c407d07301c0c51518770915eecd453244e5a64461056888f12ed0cff36d1f8f83025c2370a81522faac
7
+ data.tar.gz: 12771b1b1e3acc1f69b5e19d136abee87c17236571c9237a9269c7eff2cfde494bd2cbcb102326fefe5d36efae853e4a8cc20c6fe3f62f9ffd7d84222396830b
data/.gitignore CHANGED
@@ -1,6 +1,6 @@
1
1
  pkg/*
2
2
  *.gem
3
3
  .bundle
4
- test_build.rb
5
- test_run.rb
4
+ test_build.rb
5
+ test_run.rb
6
6
  .project
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 0.4.0
2
+ Fix the 64bit bug and Fixnum! bug
3
+
4
+ 0.3.0
5
+ Update to use DL Library
6
+
1
7
  0.2.0
2
8
  bump verison
3
9
 
data/Gemfile CHANGED
@@ -3,4 +3,3 @@ source "http://rubygems.org"
3
3
  # Specify your gem's dependencies in auto_click.gemspec
4
4
  gemspec
5
5
 
6
-
@@ -6,7 +6,7 @@ Smulating mouse click, cursor movement and keystrokes
6
6
 
7
7
  To install auto_click:
8
8
 
9
- gem install auto_click
9
+ gem install auto_click
10
10
 
11
11
  == Basic Usage
12
12
 
@@ -34,7 +34,7 @@ To scroll down (backward) 5 wheel steps:
34
34
 
35
35
  To get the current cursor position
36
36
 
37
- cursor_position
37
+ cursor_position
38
38
 
39
39
  To drag the icon on (50,50) to (200,300):
40
40
 
@@ -199,6 +199,12 @@ There are some methods which are not discussed here. Please see the following Me
199
199
  == Change log
200
200
  (for full change log please refer to the CHANGELOG file in the repository)
201
201
 
202
+ - 0.4.0 Fix the 64bit bug and Fixnum! bug
203
+
204
+ - 0.3.0 Update to use DL Library
205
+
206
+ - 0.2.0 bump verison
207
+
202
208
  - 0.1.15 Add more general mouse control methods: mouse_down(button_name), mouse_up(button_name)
203
209
 
204
210
  - 0.1.14 Add middle_click and double_click
@@ -214,20 +220,12 @@ There are some methods which are not discussed here. Please see the following Me
214
220
  - 0.1.7 Primitive implementation of key_stroke. Need good api before putting it into method list
215
221
 
216
222
  - 0.1.4 Implement left_drag and right_drag
217
-
218
- == Tested with
219
-
220
- - Ruby 1.9.1-p430, Windows 7
221
-
222
- - Ruby 1.9.2-p0, Windows 7
223
-
224
- - Ruby 1.9.2-p136, Windows 7
225
223
 
226
224
  == License
227
225
 
228
226
  MIT license
229
227
 
230
- Copyright (C) 2010-2011 by Tom Lam
228
+ Copyright (C) 2010-2019 by Chungsang Tom Lam
231
229
 
232
230
  Permission is hereby granted, free of charge, to any person obtaining a copy
233
231
  of this software and associated documentation files (the "Software"), to deal
@@ -7,7 +7,7 @@ module InputStructure
7
7
  mi[2] = dy
8
8
  mi[3] = mouse_data
9
9
  mi[4] = dw_flags
10
- mi.pack('LLLLLLL')
10
+ mi.pack('QLLLLQQ')
11
11
  end
12
12
 
13
13
  def self.keyboard_input(wVk,dw_flags)
@@ -15,7 +15,7 @@ module InputStructure
15
15
  ki[0] = 1
16
16
  ki[1] = wVk
17
17
  ki[2] = dw_flags
18
- ki.pack('LLLLLLL')
18
+ ki.pack('QLLLLQQ')
19
19
  end
20
20
 
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module AutoClick
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  module VirtualKey
2
2
  def self.code_from_name(name)
3
3
 
4
- if name.kind_of? Fixnum!
4
+ if name.kind_of? Fixnum
5
5
  return name
6
6
  elsif name.kind_of? String
7
7
  name=name.delete('_').delete('-').delete(' ')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auto_click
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - erinata
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-03 00:00:00.000000000 Z
11
+ date: 2019-04-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: "Provide several Ruby methods for simulating mouse click, cursor movement
14
14
  and keystrokes in Windows. \n This gem use DL library and SendInput
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.6.8
57
+ rubygems_version: 2.7.7
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Smulating mouse click, cursor movement and keystrokes