lib/ruby-xcdm.rb in ruby-xcdm-0.0.10 vs lib/ruby-xcdm.rb in ruby-xcdm-0.0.11

- old
+ new

@@ -25,10 +25,10 @@ desc "Generate the xcdatamodel file" task :build => :clean do App.config.xcdm.name ||= App.config.name Dir.chdir App.config.project_dir - if `xcodebuild -version` =~ /Xcode (\d.\d+)/ + if `xcodebuild -version` =~ /Xcode (\d+.\d+)/ xcode_version = $1 else raise "could not determine xcode version" end runner = XCDM::Schema::Runner.new( App.config.xcdm.name, "schemas", "resources", App.config.sdk_version)