XcodePages 0.0.3 → 0.0.4

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.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ == Version 0.0.4 (2011-12-23)
2
+
3
+ Oops, bug fix. Forgot the \w+ part of the regular expression!
4
+
1
5
  == Version 0.0.3 (2011-12-23)
2
6
 
3
7
  Performs symbol substitutions using environment variables for marketing and
@@ -1,3 +1,3 @@
1
1
  module XcodePages
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/XcodePages.rb CHANGED
@@ -50,14 +50,14 @@ module XcodePages
50
50
  # +CURRENT_PROJECT_VERSION+ found in the environment.
51
51
  def self.marketing_version
52
52
  mvers = %x(agvtool mvers -terse1).chomp
53
- mvers =~ /\$\{()\}/ ? ENV[$1] : mvers
53
+ mvers =~ /\$\{(\w+)\}/ ? ENV[$1] : mvers
54
54
  end
55
55
 
56
56
  # Answers the project build version using Apple's +agvtool+. This is the real
57
57
  # version number, equating to +CURRENT_PROJECT_VERSION+.
58
58
  def self.build_version
59
59
  vers = %x(agvtool vers -terse).chomp
60
- vers =~ /\$\{()\}/ ? ENV[$1] : vers
60
+ vers =~ /\$\{(\w+)\}/ ? ENV[$1] : vers
61
61
  end
62
62
 
63
63
  # Answers what Doxygen calls the ‘project number.’ This is the revision
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: XcodePages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-12-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70302785311100 !ruby/object:Gem::Requirement
16
+ requirement: &70155481867300 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70302785311100
24
+ version_requirements: *70155481867300
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: activesupport
27
- requirement: &70302785309800 !ruby/object:Gem::Requirement
27
+ requirement: &70155481866880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70302785309800
35
+ version_requirements: *70155481866880
36
36
  description: ! "\n Helps you publish HTML web pages on the Internet somewhere appropriate,
37
37
  e.g.\n on GitHub via the gh-pages branch feature.\n\n Works for Objective-C
38
38
  projects built using Apple's Xcode IDE and\n consequently focuses on documentation