mouse 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.0.1 - Rename
2
+
3
+ * Rename mouse.bundle to cmouse.bundle to avoid name conflict
4
+
1
5
  # 1.0.0 - Port Completed
2
6
 
3
7
  * Added optional `point` argument to all `Mouse` click methods
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ CLEAN.include '*.plist', '*.gch'
5
5
 
6
6
  desc 'Run the Clang static analyzer'
7
7
  task :analyze do
8
- sh "clang --analyze ext/mouse/mouser.c"
8
+ sh "clang --analyze ext/cmouse/mouse.c"
9
9
  end
10
10
 
11
11
  desc 'Startup an IRb console with Mouse loaded'
@@ -35,4 +35,4 @@ task :install => :gem do
35
35
  end
36
36
 
37
37
  require 'rake/extensiontask'
38
- Rake::ExtensionTask.new('mouse', mouse_spec)
38
+ Rake::ExtensionTask.new('cmouse', mouse_spec)
@@ -1,4 +1,4 @@
1
- #include "mouser.h"
1
+ #include "mouse.h"
2
2
  #include "ruby.h"
3
3
 
4
4
  static VALUE rb_mMouse;
@@ -443,7 +443,7 @@ rb_mouse_triple_click(int argc, VALUE *argv, VALUE self)
443
443
  }
444
444
 
445
445
  void
446
- Init_mouse()
446
+ Init_cmouse()
447
447
  {
448
448
  // on either supported Ruby, this should be defined by now
449
449
  rb_cCGPoint = rb_const_get(rb_cObject, rb_intern("CGPoint"));
@@ -20,4 +20,4 @@ else
20
20
  $CFLAGS << ' -DNOT_MACRUBY'
21
21
  end
22
22
 
23
- create_makefile 'mouse/mouse'
23
+ create_makefile 'cmouse/cmouse'
@@ -1,5 +1,5 @@
1
1
  //
2
- // Mouser.c
2
+ // Mouse.c
3
3
  // MRMouse
4
4
  //
5
5
  // Created by Mark Rada on 12-03-17.
@@ -7,7 +7,7 @@
7
7
  //
8
8
 
9
9
  #include <ApplicationServices/ApplicationServices.h>
10
- #include "mouser.h"
10
+ #include "mouse.h"
11
11
 
12
12
  static const uint_t FPS = 240;
13
13
  static const uint_t QUANTUM = 1000000 / 240; // should be FPS, but GCC sucks
@@ -1,5 +1,5 @@
1
1
  //
2
- // Mouser.h
2
+ // Mouse.h
3
3
  // MRMouse
4
4
  //
5
5
  // Created by Mark Rada on 12-03-17.
data/lib/mouse.rb CHANGED
@@ -64,4 +64,4 @@ class Array
64
64
  end
65
65
  end
66
66
 
67
- require 'mouse.bundle'
67
+ require 'cmouse'
data/lib/mouse/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Mouse
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -71,15 +71,15 @@ description: ! 'mouse is a rich, high level wrapper around OS X CGEvent APIs tha
71
71
  email: markrada26@gmail.com
72
72
  executables: []
73
73
  extensions:
74
- - ext/mouse/extconf.rb
74
+ - ext/cmouse/extconf.rb
75
75
  extra_rdoc_files: []
76
76
  files:
77
77
  - lib/mouse/version.rb
78
78
  - lib/mouse.rb
79
- - ext/mouse/mouse.c
80
- - ext/mouse/mouser.c
81
- - ext/mouse/mouser.h
82
- - ext/mouse/extconf.rb
79
+ - ext/cmouse/cmouse.c
80
+ - ext/cmouse/mouse.c
81
+ - ext/cmouse/mouse.h
82
+ - ext/cmouse/extconf.rb
83
83
  - Rakefile
84
84
  - README.markdown
85
85
  - History.markdown