objc-referee 0.2.3 → 0.2.4

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: e99e7f7b2eab4fb48a2d666adcff8e91d56af991
4
- data.tar.gz: aeac38db7bf74b867208323faf4bcea186d96dc1
3
+ metadata.gz: 9bcb63d18db2e93bca9a64df61564a0d3ba45d7f
4
+ data.tar.gz: 07ed9bd6dda0b647b751d803d583967bd761d14a
5
5
  SHA512:
6
- metadata.gz: 60dc33c5065aa8f13bcdaf5ce007c72b2829c0f26eb52804fee196f8105cf3103e411cb9c94fe9a915f8a37177266a8b639a88bb3a61f9f360aae940126b7fb4
7
- data.tar.gz: a88b9a2e4cb6559a5278840c1e368cf9c0c2bd4db5b484cbf95c841180c1ff3644c4f9e5562a0245325649689e869f1e480cfa310f7a2a4e697ab44afd554191
6
+ metadata.gz: f291f795d14d164796afa6c372ec8ba42bbae833c74253946d007146485bc0cb812049c642a91a49330a939c008ea29f24284fff8a7253056cd3c733ee2b0509
7
+ data.tar.gz: ccda4f5cc16b3979a4ad5c29b1b1b17f1b93deabdff66d640a10f7228b914d3fefe572b192872faea2367308f1ba56d49301c83c976cdac9a29f2c2bc8ae4080
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/) and this file attempts to follow the guidelines provided by [Keep a CHANGELOG](http://keepachangelog.com/).
4
4
 
5
+ ## [Unreleased]
6
+ Forthcoming.
7
+
8
+ ## [0.2.4] - 2016-01-15
9
+ ### Added
10
+ - Cell and Segue identifiers are now `CustomStringConvertible`.
11
+
5
12
  ## [0.2.3] - 2015-11-19
6
13
  ### Fixed
7
14
  - Ensures there are no empty `enum`s for Swift language when any cell, etc. types are missing.
@@ -27,7 +34,8 @@ This project adheres to [Semantic Versioning](http://semver.org/) and this file
27
34
  ## [0.1.1] - 2015-09-02
28
35
  Initial public release.
29
36
 
30
- [unreleased]: https://github.com/dynamit/referee/compare/v0.2.3...HEAD
37
+ [unreleased]: https://github.com/dynamit/referee/compare/v0.2.4...HEAD
38
+ [0.2.4]: https://github.com/Dynamit/referee/tree/v0.2.4
31
39
  [0.2.3]: https://github.com/Dynamit/referee/tree/v0.2.3
32
40
  [0.2.2]: https://github.com/Dynamit/referee/tree/v0.2.2
33
41
  [0.2.1]: https://github.com/Dynamit/referee/tree/v0.2.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- objc-referee (0.2.1)
4
+ objc-referee (0.2.4)
5
5
  mustache (~> 1.0, >= 1.0.2)
6
6
  nokogiri (~> 1.6, >= 1.6.6.2)
7
7
  xcodeproj (~> 0.20.1)
@@ -9,7 +9,7 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (4.2.4)
12
+ activesupport (4.2.5)
13
13
  i18n (~> 0.7)
14
14
  json (~> 1.7, >= 1.7.7)
15
15
  minitest (~> 5.1)
@@ -23,11 +23,11 @@ GEM
23
23
  i18n (0.7.0)
24
24
  json (1.8.3)
25
25
  method_source (0.8.2)
26
- mini_portile (0.6.2)
27
- minitest (5.8.2)
26
+ mini_portile2 (2.0.0)
27
+ minitest (5.8.3)
28
28
  mustache (1.0.2)
29
- nokogiri (1.6.6.2)
30
- mini_portile (~> 0.6.0)
29
+ nokogiri (1.6.7.1)
30
+ mini_portile2 (~> 2.0.0.rc2)
31
31
  parser (2.2.2.6)
32
32
  ast (>= 1.1, < 3.0)
33
33
  powerpack (0.1.1)
@@ -63,3 +63,6 @@ DEPENDENCIES
63
63
  rake (~> 10.0)
64
64
  rubocop (~> 0.33.0)
65
65
  rubygems-tasks (~> 0.2.4)
66
+
67
+ BUNDLED WITH
68
+ 1.11.2
@@ -1,4 +1,4 @@
1
1
  # Version information.
2
2
  module Referee
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
4
4
  end
data/objc-referee.gemspec CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ['Colin Drake']
10
10
  spec.email = ['colin.f.drake@gmail.com']
11
11
 
12
- spec.summary = 'Resource file generator for Objective-C.'
13
- spec.description = 'Resource file generator for Objective-C. Parses Xcode projects and ' \
12
+ spec.summary = 'Resource file generator for Objective-C and Swift.'
13
+ spec.description = 'Resource file generator for Objective-C and Swift. Parses Xcode projects and ' \
14
14
  'creates a .m/.h file of compile-time checked resources.'
15
15
  spec.homepage = 'http://dynamit.com'
16
16
  spec.license = 'MIT'
@@ -16,19 +16,21 @@ struct Resources {
16
16
 
17
17
  /// UITableViewCell identifier accessors.
18
18
  {{# has_table_cells #}}
19
- enum TableViewCells: String {
19
+ enum TableViewCells: String, CustomStringConvertible {
20
20
  {{# table_cells #}}
21
21
  {{{ swift_implementation }}}
22
22
  {{/ table_cells }}
23
+ var description: String { return rawValue }
23
24
  }
24
25
  {{/ has_table_cells }}
25
26
 
26
27
  /// UICollectionViewCell identifier accessors.
27
28
  {{# has_collection_cells }}
28
- enum CollectionViewCells: String {
29
+ enum CollectionViewCells: String, CustomStringConvertible {
29
30
  {{# collection_cells #}}
30
31
  {{{ swift_implementation }}}
31
32
  {{/ collection_cells }}
33
+ var description: String { return rawValue }
32
34
  }
33
35
  {{/ has_collection_cells }}
34
36
 
@@ -41,10 +43,11 @@ struct Resources {
41
43
 
42
44
  /// Segue accessors.
43
45
  {{# has_segues }}
44
- enum Segues: String {
46
+ enum Segues: String, CustomStringConvertible {
45
47
  {{# segues #}}
46
48
  {{{ swift_implementation }}}
47
49
  {{/ segues }}
50
+ var description: String { return rawValue }
48
51
  }
49
52
  {{/ has_segues }}
50
53
  }
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.3
4
+ version: 0.2.4
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-19 00:00:00.000000000 Z
11
+ date: 2016-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -134,8 +134,8 @@ dependencies:
134
134
  - - ">="
135
135
  - !ruby/object:Gem::Version
136
136
  version: 1.6.6.2
137
- description: Resource file generator for Objective-C. Parses Xcode projects and creates
138
- a .m/.h file of compile-time checked resources.
137
+ description: Resource file generator for Objective-C and Swift. Parses Xcode projects
138
+ and creates a .m/.h file of compile-time checked resources.
139
139
  email:
140
140
  - colin.f.drake@gmail.com
141
141
  executables:
@@ -195,8 +195,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  requirements: []
197
197
  rubyforge_project:
198
- rubygems_version: 2.4.5
198
+ rubygems_version: 2.5.1
199
199
  signing_key:
200
200
  specification_version: 4
201
- summary: Resource file generator for Objective-C.
201
+ summary: Resource file generator for Objective-C and Swift.
202
202
  test_files: []