objc-referee 0.2.1 → 0.2.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
  SHA1:
3
- metadata.gz: 55b08fe096ee8770355d5567eafd1591669e7bda
4
- data.tar.gz: 39abbccfb1d5e13cb429c52980f395f57b088efa
3
+ metadata.gz: a43e807a132fca01c315fe4ea9555e84b02c65e2
4
+ data.tar.gz: d7929230cb17672548c5ec9982eed2e75cf265d4
5
5
  SHA512:
6
- metadata.gz: 2b2f483cebf3f2834e12ebdc3f705798758d8c22514e209c07b63e173e1cff8f4f5fba4169190c8711576b4cf224bcc1bf34129888858ef6da7eae63053cd6ee
7
- data.tar.gz: ec060e4c599c19c64f9d250ce8f6cf4b97c465274897bbdec311e34bc7b6754f8961c014b893f433fad511fdcf273b106cf0cc02fadff734eff8cd2d255dcf55
6
+ metadata.gz: 010b807d124371a02f60eea07cefc88d2d5dd1fac33564b402e442476cc42fc31397f04d5abdd83e414adf9377c4b7d72e35eb081d7d0dabb50579464ddb42e8
7
+ data.tar.gz: aea5117d2f79d54958839a996e6eab586347ca208a6c194725e8d05faf9b69b06142ceebcef6e7b490c641decd8eff590490cb657900eeb06ea48d238c4d4f44
data/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/) and this file
5
5
  ## [Unreleased][unreleased]
6
6
  Coming soon.
7
7
 
8
+ ## [0.2.2] - 2015-11-17
9
+ ### Fixed
10
+ - Edge case fix: Invalid segue names such as " " no longer cause syntax errors.
11
+ - Fix for multiple segues in Swift language template ([#1](https://github.com/Dynamit/referee/issues/1)).
12
+
8
13
  ## [0.2.1] - 2015-11-04
9
14
  ### Added
10
15
  - Immediate rollout bug fix for typo in Swift language `UIViewController` implementation.
@@ -21,6 +26,8 @@ Coming soon.
21
26
  ## [0.1.1] - 2015-09-02
22
27
  Initial public release.
23
28
 
24
- [unreleased]: https://github.com/dynamit/referee/compare/v0.2.0...HEAD
29
+ [unreleased]: https://github.com/dynamit/referee/compare/v0.2.2...HEAD
30
+ [0.2.2]: https://github.com/Dynamit/referee/tree/v0.2.2
31
+ [0.2.1]: https://github.com/Dynamit/referee/tree/v0.2.1
25
32
  [0.2.0]: https://github.com/Dynamit/referee/tree/v0.2.0
26
33
  [0.1.1]: https://github.com/Dynamit/referee/tree/0.1.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- objc-referee (0.2.0)
4
+ objc-referee (0.2.1)
5
5
  mustache (~> 1.0, >= 1.0.2)
6
6
  nokogiri (~> 1.6, >= 1.6.6.2)
7
7
  xcodeproj (~> 0.20.1)
data/README.md CHANGED
@@ -52,13 +52,13 @@ As a reminder, if you are using [rbenv](https://github.com/sstephenson/rbenv) to
52
52
 
53
53
  Note that Xcode does not use your standard user `$PATH`, so we'll need to place `referee` in a standard place that we can reference in our build scripts. `/usr/local/bin/` is a good place for this executable:
54
54
 
55
- $ ln -s $(which referee) /usr/local/bin/referee
55
+ $ ln -sf $(which referee) /usr/local/bin/referee
56
56
 
57
57
  Or if you'd rather do the above manually, here is an example using `rbenv`:
58
58
 
59
59
  $ which referee
60
60
  /Users/colindrake/.rbenv/shims/referee
61
- $ ln -s /Users/colindrake/.rbenv/shims/referee /usr/local/bin/referee
61
+ $ ln -sf /Users/colindrake/.rbenv/shims/referee /usr/local/bin/referee
62
62
 
63
63
  Finally, if you are using a `Gemfile` to manage Ruby dependencies for your app or build system, make sure to add the following:
64
64
 
@@ -83,8 +83,9 @@ module Referee
83
83
  end
84
84
 
85
85
  def segues(xml)
86
- segues = xml.css('segue')
87
- segues.map { |n| n['identifier'] }.compact.uniq
86
+ segues = xml.css('segue').map { |n| n['identifier'] }
87
+ segues.delete_if { |item| item.nil? || item.strip.empty? }
88
+ segues.uniq
88
89
  end
89
90
 
90
91
  def build_output
@@ -1,4 +1,4 @@
1
1
  # Version information.
2
2
  module Referee
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
@@ -34,10 +34,10 @@ struct Resources {
34
34
  {{/ view_controllers }}
35
35
  }
36
36
 
37
- {{# segues #}}
38
37
  /// Segue accessors.
39
38
  enum Segues: String {
39
+ {{# segues #}}
40
40
  {{{ swift_implementation }}}
41
+ {{/ segues }}
41
42
  }
42
- {{/ segues }}
43
43
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: objc-referee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Drake
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-04 00:00:00.000000000 Z
11
+ date: 2015-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler