wox 0.0.4 → 0.0.5

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.
@@ -14,6 +14,7 @@ module Wox
14
14
  def initialize options
15
15
  options[:info_plist] ||= 'Resources/Info.plist'
16
16
  options[:version] ||= Plist::parse_xml(options[:info_plist])['CFBundleVersion']
17
+ options[:project_name] ||= xcodebuild_list.first.scan(/project\s\"([^\"]+)/i).flatten.first
17
18
  options[:build_dir] ||= 'build'
18
19
  options[:sdk] ||= 'iphoneos'
19
20
  options[:configuration] ||= 'Release'
@@ -25,7 +26,11 @@ module Wox
25
26
  end
26
27
 
27
28
  def project_name
28
- @project_name ||= xcodebuild_list.first.scan(/project\s\"([^\"]+)/i).flatten.first
29
+ self[:project_name]
30
+ end
31
+
32
+ def read_version plist_file
33
+
29
34
  end
30
35
 
31
36
  def version
@@ -1,3 +1,3 @@
1
1
  module Wox
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wox
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dave Newman