lanekit 0.4.1 → 0.4.2
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.
- checksums.yaml +8 -8
- data/lib/lanekit/version.rb +1 -1
- data/lib/lanekit.rb +1 -1
- data/lib/template/model_base.m.erb +0 -25
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjAyY2EyYWFjMGFmY2I5ZTAyMDliNWZiNDIyMTNiNGU5MzZjOTNlZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjQyNTU3NTM1NGQyOTRkNGQ3YzFiM2I1NzcwYjgxMzQ2YjZiMDljZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Mzg4NzAxNTgzMjIzMzdkMGRhOTAxYWQxYzc3MDMzNDA5YjBhNDcxM2QxMzVi
|
10
|
+
YmViYzg0YWU5OTcxNTliMTJhNGY5NDJhOGVlOGM0YzM2MWYzMmMwZTg4Y2Mz
|
11
|
+
MGJlMzlhOWUwZmYxMGZiYTYwZmIwZmQ0OTQzN2EyYWZiMDJiZDM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MGNjZDA1OWUyYjNlYTgwNmU2ZWIyMmE0MzIxMjE3Yzk4MWJjZDAzOTVjOTM3
|
14
|
+
ZWUwZTlhYzg1ZGIwNzI1NThlOTJiZmM1MWM3Y2ZiMDM4ZWQ4NDI3MTIwYTVk
|
15
|
+
YmViOWQyMzdlNTI0NGQxYzhlY2Y4NzQzMTAzYzc0YzAxN2ZhMTk=
|
data/lib/lanekit/version.rb
CHANGED
data/lib/lanekit.rb
CHANGED
@@ -17,7 +17,7 @@ module LaneKit
|
|
17
17
|
end
|
18
18
|
|
19
19
|
# Adds a file to a group in an Xcode project
|
20
|
-
# For example: LaneKit.add_file_to_project('
|
20
|
+
# For example: LaneKit.add_file_to_project('Models/Video.m', 'SportsFrames/Models', 'SportsFrames', 'SportsFrames')
|
21
21
|
def self.add_file_to_project(file_name, group_name, project_path, target_name=nil)
|
22
22
|
# Open the existing Xcode project
|
23
23
|
project = Xcodeproj::Project.open(project_path)
|
@@ -74,31 +74,6 @@
|
|
74
74
|
return mapping;
|
75
75
|
}
|
76
76
|
|
77
|
-
+ (NSArray *)allPropertyNames
|
78
|
-
{
|
79
|
-
unsigned count;
|
80
|
-
objc_property_t *propertyList = class_copyPropertyList([self class], &count);
|
81
|
-
|
82
|
-
NSMutableArray *properties = [NSMutableArray array];
|
83
|
-
|
84
|
-
unsigned zz;
|
85
|
-
for (zz=0; zz<count; zz++)
|
86
|
-
{
|
87
|
-
objc_property_t property = propertyList[zz];
|
88
|
-
NSString *name = [NSString stringWithUTF8String:property_getName(property)];
|
89
|
-
[properties addObject:name];
|
90
|
-
}
|
91
|
-
|
92
|
-
free(propertyList);
|
93
|
-
|
94
|
-
return properties.array;
|
95
|
-
}
|
96
|
-
|
97
|
-
{
|
98
|
-
[self valueForKey:propertyName];
|
99
|
-
}
|
100
|
-
|
101
|
-
// Returns the value of one of these properties name, title, headline, displayName, id, or description.
|
102
77
|
- (NSString *)descriptionForDisplay
|
103
78
|
{
|
104
79
|
return [self description];
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lanekit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Larry Aasen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.12.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.12.0
|
55
55
|
description: ! 'LaneKit is an iOS Objective-C code generator for integration with
|
56
56
|
RestKit. It generates
|
57
57
|
|