mac-robot 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -5
- data/VERSION +1 -1
- data/ext/event_dispatcher/extconf.rb +3 -2
- data/ext/util/extconf.rb +3 -2
- data/mac-robot.gemspec +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9855222330a767946be0b647797086cda4513eee3813e87d5aa6b0a7ed246b1b
|
4
|
+
data.tar.gz: 549a65285d0ef8f09c8f1a07054973f7bc317a9f039b0957ebe4fe7a79b27ea7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 499ef63790c67f397444e6cb88f4a7d533d0313cd94be3d4f95e1b9c54a5ff68e01ad701340f82a483ca4683dcb4874e26f3fcd6ae50cb4dedb173cdb8e1a68c
|
7
|
+
data.tar.gz: b21908c6e3069ea74d7d32e7ad61d7f475144d046c077b2de18c82b85373ae24ba2bbcad1e039c7ba9c9dfcb389d639404e39907ada83efb05e85143a0e01fd0
|
data/Rakefile
CHANGED
@@ -32,10 +32,10 @@ ext_names = %w/event_dispatcher util/
|
|
32
32
|
ext_names.each do |ext_name|
|
33
33
|
CLEAN.include Dir.glob("ext/#{ext_name}/*{.o,.log}")
|
34
34
|
CLEAN.include "ext/#{ext_name}/Makefile"
|
35
|
-
CLOBBER.include "ext/#{ext_name}/#{ext_name}.
|
36
|
-
CLOBBER.include "lib/#{ext_name}.
|
35
|
+
CLOBBER.include "ext/#{ext_name}/#{ext_name}.bundle"
|
36
|
+
CLOBBER.include "lib/#{ext_name}.bundle"
|
37
37
|
|
38
|
-
file "lib/#{ext_name}.
|
38
|
+
file "lib/#{ext_name}.bundle" =>
|
39
39
|
Dir.glob("ext/#{ext_name}/*{.rb,.m}") do
|
40
40
|
Dir.chdir("ext/#{ext_name}") do
|
41
41
|
# this does essentially the same thing
|
@@ -43,10 +43,10 @@ ext_names.each do |ext_name|
|
|
43
43
|
ruby "extconf.rb"
|
44
44
|
sh "make"
|
45
45
|
end
|
46
|
-
cp "ext/#{ext_name}/#{ext_name}.
|
46
|
+
cp "ext/#{ext_name}/#{ext_name}.bundle", "lib/"
|
47
47
|
end
|
48
48
|
|
49
|
-
task :spec => "lib/#{ext_name}.
|
49
|
+
task :spec => "lib/#{ext_name}.bundle"
|
50
50
|
end
|
51
51
|
|
52
52
|
require 'rspec/core'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.2
|
@@ -5,7 +5,8 @@ end
|
|
5
5
|
require "mkmf"
|
6
6
|
|
7
7
|
# Name your extension
|
8
|
-
extension_name = 'event_dispatcher
|
8
|
+
extension_name = 'event_dispatcher'
|
9
|
+
header_name = extension_name + '.h'
|
9
10
|
|
10
11
|
# Set your target name
|
11
12
|
dir_config(extension_name)
|
@@ -18,7 +19,7 @@ begin
|
|
18
19
|
rescue
|
19
20
|
end
|
20
21
|
|
21
|
-
have_header(
|
22
|
+
have_header(header_name)
|
22
23
|
|
23
24
|
# Do the work
|
24
25
|
create_makefile(extension_name)
|
data/ext/util/extconf.rb
CHANGED
@@ -5,7 +5,8 @@ end
|
|
5
5
|
require "mkmf"
|
6
6
|
|
7
7
|
# Name your extension
|
8
|
-
extension_name = 'util
|
8
|
+
extension_name = 'util'
|
9
|
+
header_name = extension_name + '.h'
|
9
10
|
|
10
11
|
# Set your target name
|
11
12
|
dir_config(extension_name)
|
@@ -18,7 +19,7 @@ begin
|
|
18
19
|
rescue
|
19
20
|
end
|
20
21
|
|
21
|
-
have_header(
|
22
|
+
have_header(header_name)
|
22
23
|
|
23
24
|
# Do the work
|
24
25
|
create_makefile(extension_name)
|
data/mac-robot.gemspec
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mac-robot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- youpy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|