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 +4 -4
- data/CHANGELOG.md +8 -1
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/lib/referee/project.rb +3 -2
- data/lib/referee/version.rb +1 -1
- data/resources/default.swift +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a43e807a132fca01c315fe4ea9555e84b02c65e2
|
4
|
+
data.tar.gz: d7929230cb17672548c5ec9982eed2e75cf265d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
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 -
|
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 -
|
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
|
|
data/lib/referee/project.rb
CHANGED
@@ -83,8 +83,9 @@ module Referee
|
|
83
83
|
end
|
84
84
|
|
85
85
|
def segues(xml)
|
86
|
-
segues = xml.css('segue')
|
87
|
-
segues.
|
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
|
data/lib/referee/version.rb
CHANGED
data/resources/default.swift
CHANGED
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.
|
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-
|
11
|
+
date: 2015-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|