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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 002b8be116c9feea37ae23ac55cc05911189dc7998108c2751a10bddb0c038bf
4
- data.tar.gz: 4354f97d4b55d61741b99de682d1708a6aafdb737d1affaf24c92134c9334eb7
3
+ metadata.gz: 9855222330a767946be0b647797086cda4513eee3813e87d5aa6b0a7ed246b1b
4
+ data.tar.gz: 549a65285d0ef8f09c8f1a07054973f7bc317a9f039b0957ebe4fe7a79b27ea7
5
5
  SHA512:
6
- metadata.gz: 064d07a920fddc44e55647155c1cb26c9987878967688a233eed0036035afa702a6fa84a612216e97fced7cd940570d864196b5270aa32af50332d0eb80ae8cc
7
- data.tar.gz: 4dc039577b578b06f705648690661931cc4c391765f76bb3b36104381244f72767302dfa229a47946f47fad4366382c33712f5395e923b5da05123942a1cd681
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}.h.bundle"
36
- CLOBBER.include "lib/#{ext_name}.h.bundle"
35
+ CLOBBER.include "ext/#{ext_name}/#{ext_name}.bundle"
36
+ CLOBBER.include "lib/#{ext_name}.bundle"
37
37
 
38
- file "lib/#{ext_name}.h.bundle" =>
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}.h.bundle", "lib/"
46
+ cp "ext/#{ext_name}/#{ext_name}.bundle", "lib/"
47
47
  end
48
48
 
49
- task :spec => "lib/#{ext_name}.h.bundle"
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
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.h'
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(extension_name)
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.h'
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(extension_name)
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.1
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-15 00:00:00.000000000 Z
11
+ date: 2021-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake