mouse 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 012779d62f4cc3442b9aec5781d467c99ed8b6e0
4
+ data.tar.gz: 999ab87ab259166319bcc255f5bb1b005c8ecc1a
5
+ SHA512:
6
+ metadata.gz: ee8c565db73a9691a8cdbdf9173a020249388c38d297b2ba9bd27c7ca2460cc91987868ab484a30d3d21e1aed2006c34744b325cace426eb84cbcccbfb75c3f3
7
+ data.tar.gz: 70fe49ae68553f21f23a320e9f65ee286f894a5660fc82c3a71873798a240e1bdf3dcb3afab66216afcbdb4d87dba8244a96d23835de5988063475030bb7132d
data/History.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.0.1 - Sea Lion compatability
2
+
3
+ * Do not redefine constants Apple has exposed on Sea Lion (@tbartelmess)
4
+
1
5
  # 2.0.0 - Gestures
2
6
 
3
7
  * Add `Mouse.smart_magnify` to simulate two finger double taps
data/README.markdown CHANGED
@@ -1,6 +1,6 @@
1
1
  # mouse
2
2
 
3
- A port of mouse.rb from [AXElements](http://github.com/Marketcircle/AXElements),
3
+ A port of mouse.rb from [AXElements](http://github.com/AXElements/AXElements),
4
4
  but cleaned up and rewritten in C to be more portable across languages and
5
5
  runtimes.
6
6
 
@@ -9,11 +9,12 @@ with a gem for discovering the positions of things (like buttons) on
9
9
  the screen, this gem is very powerful and can be used for tasks such
10
10
  as automated functional
11
11
  testing; this is the purpose of the
12
- [AXElements](http://github.com/Marketcircle/AXElements) project.
12
+ [AXElements](http://github.com/AXElements/AXElements) project.
13
13
 
14
14
  [Documentation](http://rdoc.info/gems/mouse/frames)
15
15
 
16
- [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/AXElements/mouse)
16
+ [![Code Climate](https://codeclimate.com/github/AXElements/mouse.png)](https://codeclimate.com/github/AXElements/mouse)
17
+ [![Dependency Status](https://gemnasium.com/AXElements/mouse.png)](https://gemnasium.com/AXElements/mouse)
17
18
 
18
19
 
19
20
  ## Examples
@@ -22,7 +23,7 @@ testing; this is the purpose of the
22
23
 
23
24
  Mouse.current_position # => #<CGPoint x=873.2 y=345.0>
24
25
 
25
- # positions can be given as a an array with two points, or a CGPoint
26
+ # positions can be given as an array with two points, or a CGPoint
26
27
  Mouse.move_to [10, 10]
27
28
  Mouse.move_to CGPoint.new(10, 10)
28
29
 
@@ -85,14 +86,14 @@ change in the future if there are enough complaints.
85
86
 
86
87
  ## TODO
87
88
 
88
- * Support for mouse gestures
89
- * Make animation duration accurate (current naiveté has a bit of error)
90
- * Import test app and specialize so we can have better tests
89
+ - [ ] More mouse gesture support
90
+ - [ ] Make animation duration accurate (current naiveté has a bit of error)
91
+ - [ ] Import test app and specialize so we can have better tests
91
92
 
92
93
 
93
94
  ## Copyright
94
95
 
95
- Copyright (c) 2012, Mark Rada
96
+ Copyright (c) 2012-2013, Mark Rada
96
97
  All rights reserved.
97
98
 
98
99
  Redistribution and use in source and binary forms, with or without
@@ -108,7 +108,7 @@ enum {
108
108
  kCGGestureTypeGestureEnded = 62,
109
109
  };
110
110
 
111
-
111
+ #if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9
112
112
  /*!
113
113
  * @enum CGGesturePhase
114
114
  * @abstract Gesture phases
@@ -127,6 +127,7 @@ enum {
127
127
  kCGGesturePhaseEnded = kIOHIDEventPhaseEnded,
128
128
  kCGGesturePhaseCancelled = kIOHIDEventPhaseCancelled,
129
129
  };
130
+ #endif
130
131
 
131
132
 
132
133
  /*!
data/lib/mouse/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Mouse
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
5
- prerelease:
4
+ version: 2.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Mark Rada
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-11 00:00:00.000000000 Z
11
+ date: 2013-11-03 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: yard
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: 0.8.3
19
+ version: 0.8.4
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: 0.8.3
26
+ version: 0.8.4
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: kramdown
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,28 +41,22 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake-compiler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
53
- version: 0.8.1
47
+ version: 0.8.3
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
61
- version: 0.8.1
62
- description: ! 'mouse is a rich, high level wrapper around OS X CGEvent APIs that
63
- allow
64
-
54
+ version: 0.8.3
55
+ description: |
56
+ mouse is a rich, high level wrapper around OS X CGEvent APIs that allow
65
57
  programmatic manipulation of the mouse cursor.
66
58
 
67
-
68
59
  Originally extracted from the AXElements project.
69
-
70
- '
71
60
  email: markrada26@gmail.com
72
61
  executables: []
73
62
  extensions:
@@ -93,27 +82,26 @@ files:
93
82
  homepage: http://github.com/AXElements/mouse
94
83
  licenses:
95
84
  - BSD 3-clause
85
+ metadata: {}
96
86
  post_install_message:
97
87
  rdoc_options: []
98
88
  require_paths:
99
89
  - lib
100
90
  required_ruby_version: !ruby/object:Gem::Requirement
101
- none: false
102
91
  requirements:
103
- - - ! '>='
92
+ - - '>='
104
93
  - !ruby/object:Gem::Version
105
94
  version: '0'
106
95
  required_rubygems_version: !ruby/object:Gem::Requirement
107
- none: false
108
96
  requirements:
109
- - - ! '>='
97
+ - - '>='
110
98
  - !ruby/object:Gem::Version
111
99
  version: '0'
112
100
  requirements: []
113
101
  rubyforge_project:
114
- rubygems_version: 1.8.24
102
+ rubygems_version: 2.1.9
115
103
  signing_key:
116
- specification_version: 3
104
+ specification_version: 4
117
105
  summary: A library for automating the mouse
118
106
  test_files:
119
107
  - test/helper.rb