AXTyper 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,13 +6,15 @@ $LIBS << ' -framework Cocoa -framework Carbon -framework ApplicationServices'
6
6
  if RUBY_ENGINE == 'macruby'
7
7
  $CFLAGS << ' -fobjc-gc'
8
8
  else
9
- if clang = `which clang`.chomp
10
- unless RbConfig::CONFIG["CC"].match /clang/
9
+ unless RbConfig::CONFIG["CC"].match /clang/
10
+ clang = `which clang`.chomp
11
+ if clang.empty?
12
+ $stdout.puts "Clang not installed. Cannot build C extension"
13
+ exit 1
14
+ else
11
15
  RbConfig::MAKEFILE_CONFIG["CC"] = clang
12
16
  RbConfig::MAKEFILE_CONFIG["CXX"] = clang
13
17
  end
14
- else
15
- $stdout.puts "Clang not installed. Cannot build C extension"
16
18
  end
17
19
  $CFLAGS << ' -DNOT_MACRUBY'
18
20
  end
@@ -1,6 +1,6 @@
1
1
  module Accessibility
2
2
  # @return [String]
3
- VERSION = '0.7.3'
3
+ VERSION = '0.7.4'
4
4
 
5
5
  # @return [String]
6
6
  CODE_NAME = 'Clefairy'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: AXTyper
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.3
5
+ version: 0.7.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mark Rada