macos 0.1.0 → 0.1.2
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 +4 -4
- data/Gemfile +15 -0
- data/README.md +31 -22
- data/bin/console +8 -0
- data/bin/demo +14 -0
- data/bin/setup +6 -0
- data/lib/macos/cg/event_tap_location.rb +12 -0
- data/lib/macos/cg/event_type.rb +22 -0
- data/lib/macos/cg/mouse_button.rb +12 -0
- data/lib/macos/cg/point.rb +12 -0
- data/lib/macos/cg/rect.rb +12 -0
- data/lib/macos/cg/size.rb +12 -0
- data/lib/macos/display.rb +39 -0
- data/lib/macos/keyboard.rb +13 -0
- data/lib/macos/library.rb +21 -0
- data/lib/macos/mouse.rb +99 -0
- data/lib/macos/version.rb +2 -2
- data/lib/macos.rb +36 -3
- metadata +64 -15
- data/.rspec +0 -3
- data/.rubocop.yml +0 -8
- data/LICENSE.txt +0 -21
- data/Rakefile +0 -12
- data/sig/macos.rbs +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 423a1401afca3af5d7e80af2653462f51c8a94b2b38e2b886eecf7d958e33f59
|
4
|
+
data.tar.gz: b5a9a30edef68dccea9f734befd4638b3c1ca0c176360f250a322a4f0ea00e50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39d70e2ef94ebf0af0aab4a33c2d68f3daa49de8faa38a9fc7e3fde2deac2face88a7cd9a45e2e7fa5f772976a6ead402671d29269b5140e5f8d492ccbc0fb45
|
7
|
+
data.tar.gz: 31219d6687186afda87061b43274bb75c85ef2b4b8589625d0bce96e1522782efc6461a3d45aaec749c1f547cb0a7b38dd17f8edc195db12761d354104124ce2
|
data/Gemfile
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gemspec
|
6
|
+
|
7
|
+
gem "rake"
|
8
|
+
gem "rspec"
|
9
|
+
gem "rspec_junit_formatter"
|
10
|
+
gem "rubocop"
|
11
|
+
gem "rubocop-basic"
|
12
|
+
gem "rubocop-rake"
|
13
|
+
gem "rubocop-rspec"
|
14
|
+
gem "simplecov"
|
15
|
+
gem "yard"
|
data/README.md
CHANGED
@@ -1,39 +1,48 @@
|
|
1
|
-
#
|
1
|
+
# MacOS
|
2
2
|
|
3
|
-
|
3
|
+
[](https://github.com/ksylvest/macos/blob/main/LICENSE)
|
4
|
+
[](https://rubygems.org/gems/macos)
|
5
|
+
[](https://github.com/ksylvest/macos)
|
6
|
+
[](https://macos.ksylvest.com)
|
7
|
+
[](https://circleci.com/gh/ksylvest/macos)
|
4
8
|
|
5
|
-
|
9
|
+
A library for interacting with your Mac through ruby.
|
6
10
|
|
7
11
|
## Installation
|
8
12
|
|
9
|
-
|
10
|
-
|
11
|
-
Install the gem and add to the application's Gemfile by executing:
|
12
|
-
|
13
|
-
```bash
|
14
|
-
bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
13
|
+
```ruby
|
14
|
+
gem install macos
|
15
15
|
```
|
16
16
|
|
17
|
-
|
17
|
+
## Usage
|
18
18
|
|
19
|
-
|
20
|
-
gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
21
|
-
```
|
19
|
+
### Mouse
|
22
20
|
|
23
|
-
|
21
|
+
```ruby
|
22
|
+
require 'macos'
|
24
23
|
|
25
|
-
|
24
|
+
mouse = MacOS.mouse
|
26
25
|
|
27
|
-
|
26
|
+
mouse.move(x: 0, y: 0)
|
27
|
+
position = mouse.position
|
28
|
+
puts "#{position.x},#{position.y}"
|
28
29
|
|
29
|
-
|
30
|
+
mouse.move(x: 2, y: 3)
|
31
|
+
position = mouse.position
|
32
|
+
puts "#{position.x},#{position.y}"
|
33
|
+
```
|
30
34
|
|
31
|
-
|
35
|
+
### Display
|
32
36
|
|
33
|
-
|
37
|
+
```ruby
|
38
|
+
require 'macos'
|
34
39
|
|
35
|
-
|
40
|
+
display = MacOS.display
|
41
|
+
bounds = display.bounds
|
36
42
|
|
37
|
-
|
43
|
+
puts "#{bounds.width}×#{bounds.height}"
|
38
44
|
|
39
|
-
|
45
|
+
display.capture do |tempfile|
|
46
|
+
# ...
|
47
|
+
end
|
48
|
+
```
|
data/bin/console
ADDED
data/bin/demo
ADDED
data/bin/setup
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module MacOS
|
4
|
+
module CG
|
5
|
+
# https://developer.apple.com/documentation/coregraphics/cgeventtaplocation
|
6
|
+
module EventTapLocation
|
7
|
+
HID_EVENT_TAP = 0 # https://developer.apple.com/documentation/coregraphics/cgeventtaplocation/cghideventtap
|
8
|
+
SESSSION_EVENT_TAP = 1 # https://developer.apple.com/documentation/coregraphics/cgeventtaplocation/sessioneventtap
|
9
|
+
ANNOTATED_SESSION_EVENT_TAP = 2 # https://developer.apple.com/documentation/coregraphics/cgeventtaplocation/annotatedsessioneventtap
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module MacOS
|
4
|
+
module CG
|
5
|
+
# https://developer.apple.com/documentation/coregraphics/cgeventtype
|
6
|
+
module EventType
|
7
|
+
NULL = 0 # https://developer.apple.com/documentation/coregraphics/cgeventtype/null
|
8
|
+
LEFT_MOUSE_DOWN = 1 # https://developer.apple.com/documentation/coregraphics/cgeventtype/leftmousedown
|
9
|
+
LEFT_MOUSE_UP = 2 # https://developer.apple.com/documentation/coregraphics/cgeventtype/leftmouseup
|
10
|
+
RIGHT_MOUSE_DOWN = 3 # https://developer.apple.com/documentation/coregraphics/cgeventtype/rightmousedown
|
11
|
+
RIGHT_MOUSE_UP = 4 # https://developer.apple.com/documentation/coregraphics/cgeventtype/rightmouseup
|
12
|
+
MOUSE_MOVED = 5 # https://developer.apple.com/documentation/coregraphics/cgeventtype/mousemoved
|
13
|
+
LEFT_MOUSE_DRAGGED = 6 # https://developer.apple.com/documentation/coregraphics/cgeventtype/leftmousedragged
|
14
|
+
RIGHT_MOUSE_DRAGGED = 7 # https://developer.apple.com/documentation/coregraphics/cgeventtype/rightmousedragged
|
15
|
+
KEY_DOWN = 10 # https://developer.apple.com/documentation/coregraphics/cgeventtype/keydown
|
16
|
+
KEY_UP = 11 # https://developer.apple.com/documentation/coregraphics/cgeventtype/keyup
|
17
|
+
OTHER_MOUSE_DOWN = 25 # https://developer.apple.com/documentation/coregraphics/cgeventtype/othermousedown
|
18
|
+
OTHER_MOUSE_UP = 26 # https://developer.apple.com/documentation/coregraphics/cgeventtype/othermouseup
|
19
|
+
OTHER_MOUSE_DRAGGED = 27 # https://developer.apple.com/documentation/coregraphics/cgeventtype/othermousedragged
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module MacOS
|
4
|
+
module CG
|
5
|
+
# https://developer.apple.com/documentation/coregraphics/cgmousebutton
|
6
|
+
module MouseButton
|
7
|
+
LEFT = 0 # https://developer.apple.com/documentation/coregraphics/cgmousebutton/left
|
8
|
+
RIGHT = 1 # https://developer.apple.com/documentation/coregraphics/cgmousebutton/right
|
9
|
+
CENTER = 2 # https://developer.apple.com/documentation/coregraphics/cgmousebutton/center
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module MacOS
|
4
|
+
# Simulates a macOS display.
|
5
|
+
class Display
|
6
|
+
Size = Struct.new(:width, :height)
|
7
|
+
|
8
|
+
def self.main
|
9
|
+
id = Library.CGMainDisplayID
|
10
|
+
new(id:)
|
11
|
+
end
|
12
|
+
|
13
|
+
# @param id [Integer
|
14
|
+
def initialize(id:)
|
15
|
+
@id = id
|
16
|
+
end
|
17
|
+
|
18
|
+
# @return [Size]
|
19
|
+
def bounds
|
20
|
+
bounds = Library.CGDisplayBounds(@id)
|
21
|
+
|
22
|
+
width = Integer(bounds[:size][:width])
|
23
|
+
height = Integer(bounds[:size][:height])
|
24
|
+
|
25
|
+
Size.new(width, height)
|
26
|
+
end
|
27
|
+
|
28
|
+
# @yield [tempfile]
|
29
|
+
# @yieldparam tempfile [Tempfile]
|
30
|
+
def capture
|
31
|
+
tempfile = Tempfile.new(["screenshot", ".png"])
|
32
|
+
system("screencapture -o -x #{tempfile.path}")
|
33
|
+
yield tempfile
|
34
|
+
ensure
|
35
|
+
tempfile.close
|
36
|
+
tempfile.unlink
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "ffi"
|
4
|
+
|
5
|
+
module MacOS
|
6
|
+
# https://developer.apple.com/documentation/coregraphics
|
7
|
+
module Library
|
8
|
+
extend ::FFI::Library
|
9
|
+
ffi_lib "/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics"
|
10
|
+
|
11
|
+
attach_function :CGEventCreate, %i[pointer], :pointer
|
12
|
+
attach_function :CGEventGetLocation, %i[pointer], CG::Point.by_value
|
13
|
+
attach_function :CFRelease, %i[pointer], :void
|
14
|
+
attach_function :CGEventCreateMouseEvent, [:pointer, :uint32, CG::Point.by_value, :uint32], :pointer
|
15
|
+
attach_function :CGEventPost, %i[uint32 pointer], :void
|
16
|
+
attach_function :CGWarpMouseCursorPosition, [CG::Point.by_value], :pointer
|
17
|
+
attach_function :CGEventCreateKeyboardEvent, %i[pointer uint16 bool bool], :pointer
|
18
|
+
attach_function :CGMainDisplayID, [], :uint32
|
19
|
+
attach_function :CGDisplayBounds, [:uint32], CG::Rect.by_value
|
20
|
+
end
|
21
|
+
end
|
data/lib/macos/mouse.rb
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module MacOS
|
4
|
+
# Simulates a macOS mouse.
|
5
|
+
class Mouse
|
6
|
+
Position = Data.define(:x, :y)
|
7
|
+
|
8
|
+
# @return [Position]
|
9
|
+
def position
|
10
|
+
event = Library.CGEventCreate(nil)
|
11
|
+
position = Library.CGEventGetLocation(event)
|
12
|
+
Library.CFRelease(event)
|
13
|
+
|
14
|
+
x = position[:x]
|
15
|
+
y = position[:y]
|
16
|
+
|
17
|
+
Position.new(x, y)
|
18
|
+
end
|
19
|
+
|
20
|
+
# @param type [Integer] e.g. `MacOS::CG::EventType::MOUSE_MOVED`
|
21
|
+
# @param x [Float]
|
22
|
+
# @param y [Float]
|
23
|
+
# @param button [Integer] e.g. `MacOS::CG::MouseButton::LEFT` / `MacOS::CG::MouseButton::RIGHT` / etc.
|
24
|
+
def trigger(type:, x:, y:, button: 0)
|
25
|
+
position = CG::Point.new
|
26
|
+
position[:x] = x
|
27
|
+
position[:y] = y
|
28
|
+
event = Library.CGEventCreateMouseEvent(nil, type, position, button)
|
29
|
+
Library.CGEventPost(CG::EventTapLocation::HID_EVENT_TAP, event)
|
30
|
+
Library.CFRelease(event)
|
31
|
+
end
|
32
|
+
|
33
|
+
# @param x [Float]
|
34
|
+
# @param y [Float]
|
35
|
+
def move(x:, y:)
|
36
|
+
position = CG::Point.new
|
37
|
+
position[:x] = x
|
38
|
+
position[:y] = y
|
39
|
+
Library.CGWarpMouseCursorPosition(position)
|
40
|
+
end
|
41
|
+
|
42
|
+
# @param x [Float]
|
43
|
+
# @param y [Float]
|
44
|
+
def left_mouse_down(x:, y:)
|
45
|
+
trigger(type: CG::EventType::LEFT_MOUSE_DOWN, x:, y:, button: CG::MouseButton::LEFT)
|
46
|
+
end
|
47
|
+
|
48
|
+
# @param x [Float]
|
49
|
+
# @param y [Float]
|
50
|
+
def left_mouse_up(x:, y:)
|
51
|
+
trigger(type: CG::EventType::LEFT_MOUSE_UP, x:, y:, button: CG::MouseButton::LEFT)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @param x [Float]
|
55
|
+
# @param y [Float]
|
56
|
+
def left_mouse_click(x:, y:)
|
57
|
+
left_mouse_down(x:, y:)
|
58
|
+
left_mouse_up(x:, y:)
|
59
|
+
end
|
60
|
+
|
61
|
+
# @param x [Float]
|
62
|
+
# @param y [Float]
|
63
|
+
def right_mouse_down(x:, y:)
|
64
|
+
trigger(type: CG::EventType::RIGHT_MOUSE_DOWN, x:, y:, button: CG::MouseButton::RIGHT)
|
65
|
+
end
|
66
|
+
|
67
|
+
# @param x [Float]
|
68
|
+
# @param y [Float]
|
69
|
+
def right_mouse_up(x:, y:)
|
70
|
+
trigger(type: CG::EventType::RIGHT_MOUSE_UP, x:, y:, button: CG::MouseButton::RIGHT)
|
71
|
+
end
|
72
|
+
|
73
|
+
# @param x [Float]
|
74
|
+
# @param y [Float]
|
75
|
+
def right_mouse_click(x:, y:)
|
76
|
+
right_mouse_down(x:, y:)
|
77
|
+
right_mouse_up(x:, y:)
|
78
|
+
end
|
79
|
+
|
80
|
+
# @param x [Float]
|
81
|
+
# @param y [Float]
|
82
|
+
def middle_mouse_down(x:, y:)
|
83
|
+
trigger(type: CG::EventType::OTHER_MOUSE_DOWN, x:, y:, button: CG::MouseButton::CENTER)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @param x [Float]
|
87
|
+
# @param y [Float]
|
88
|
+
def middle_mouse_up(x:, y:)
|
89
|
+
trigger(type: CG::EventType::OTHER_MOUSE_UP, x:, y:, button: CG::MouseButton::CENTER)
|
90
|
+
end
|
91
|
+
|
92
|
+
# @param x [Float]
|
93
|
+
# @param y [Float]
|
94
|
+
def middle_mouse_click(x:, y:)
|
95
|
+
middle_mouse_down(x:, y:)
|
96
|
+
middle_mouse_up(x:, y:)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
data/lib/macos/version.rb
CHANGED
data/lib/macos.rb
CHANGED
@@ -1,8 +1,41 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
require "fiddle"
|
4
|
+
require "zeitwerk"
|
4
5
|
|
5
|
-
|
6
|
+
loader = Zeitwerk::Loader.for_gem
|
7
|
+
loader.inflector.inflect "cg" => "CG"
|
8
|
+
loader.inflector.inflect "macos" => "MacOS"
|
9
|
+
loader.setup
|
10
|
+
|
11
|
+
# Interacts with macOS.
|
12
|
+
module MacOS
|
6
13
|
class Error < StandardError; end
|
7
|
-
|
14
|
+
|
15
|
+
# @example
|
16
|
+
# MacOS.keyboard.type('Hello, World!')
|
17
|
+
# MacOS.keyboard.key_down('a')
|
18
|
+
# MacOS.keyboard.key_up('a')
|
19
|
+
#
|
20
|
+
# @return [MacOS::Keyboard]
|
21
|
+
def self.keyboard
|
22
|
+
Keyboard.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @example
|
26
|
+
# mouse = MacOS.mouse
|
27
|
+
# mouse.move(x: 4, y: 8)
|
28
|
+
# position = mouse.position
|
29
|
+
# mouse.left_mouse_click(x: position.x, y: position.y)
|
30
|
+
# mouse.right_mouse_click(x: position.x, y: position.y)
|
31
|
+
#
|
32
|
+
# @return [MacOS::Mouse]
|
33
|
+
def self.mouse
|
34
|
+
Mouse.new
|
35
|
+
end
|
36
|
+
|
37
|
+
# @return [MacOS::Display]
|
38
|
+
def self.display
|
39
|
+
Display.main
|
40
|
+
end
|
8
41
|
end
|
metadata
CHANGED
@@ -1,15 +1,56 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: macos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Sylvestre
|
8
|
-
|
9
|
-
bindir: exe
|
8
|
+
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: ffi
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - ">="
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '0'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '0'
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: fiddle
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: zeitwerk
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
type: :runtime
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
13
54
|
description: An interface (designed for LLMs) to macOS.
|
14
55
|
email:
|
15
56
|
- kevin@ksylvest.com
|
@@ -17,22 +58,31 @@ executables: []
|
|
17
58
|
extensions: []
|
18
59
|
extra_rdoc_files: []
|
19
60
|
files:
|
20
|
-
-
|
21
|
-
- ".rubocop.yml"
|
22
|
-
- LICENSE.txt
|
61
|
+
- Gemfile
|
23
62
|
- README.md
|
24
|
-
-
|
63
|
+
- bin/console
|
64
|
+
- bin/demo
|
65
|
+
- bin/setup
|
25
66
|
- lib/macos.rb
|
67
|
+
- lib/macos/cg/event_tap_location.rb
|
68
|
+
- lib/macos/cg/event_type.rb
|
69
|
+
- lib/macos/cg/mouse_button.rb
|
70
|
+
- lib/macos/cg/point.rb
|
71
|
+
- lib/macos/cg/rect.rb
|
72
|
+
- lib/macos/cg/size.rb
|
73
|
+
- lib/macos/display.rb
|
74
|
+
- lib/macos/keyboard.rb
|
75
|
+
- lib/macos/library.rb
|
76
|
+
- lib/macos/mouse.rb
|
26
77
|
- lib/macos/version.rb
|
27
|
-
- sig/macos.rbs
|
28
78
|
homepage: https://github.com/ksylvest/macos
|
29
79
|
licenses:
|
30
80
|
- MIT
|
31
81
|
metadata:
|
32
82
|
homepage_uri: https://github.com/ksylvest/macos
|
33
83
|
source_code_uri: https://github.com/ksylvest/macos
|
34
|
-
changelog_uri: https://github.com/ksylvest/macos
|
35
|
-
|
84
|
+
changelog_uri: https://github.com/ksylvest/macos/releases
|
85
|
+
rubygems_mfa_required: 'true'
|
36
86
|
rdoc_options: []
|
37
87
|
require_paths:
|
38
88
|
- lib
|
@@ -40,15 +90,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
40
90
|
requirements:
|
41
91
|
- - ">="
|
42
92
|
- !ruby/object:Gem::Version
|
43
|
-
version: 3.
|
93
|
+
version: 3.2.0
|
44
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
45
95
|
requirements:
|
46
96
|
- - ">="
|
47
97
|
- !ruby/object:Gem::Version
|
48
98
|
version: '0'
|
49
99
|
requirements: []
|
50
|
-
rubygems_version: 3.
|
51
|
-
signing_key:
|
100
|
+
rubygems_version: 3.6.7
|
52
101
|
specification_version: 4
|
53
102
|
summary: An interface with macOS.
|
54
103
|
test_files: []
|
data/.rspec
DELETED
data/.rubocop.yml
DELETED
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2024 Kevin Sylvestre
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
data/Rakefile
DELETED
data/sig/macos.rbs
DELETED