generamba 1.2.2 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +98 -98
- data/README.md +12 -12
- data/generamba.gemspec +1 -1
- data/lib/generamba/constants/constants.rb +1 -1
- data/lib/generamba/version.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 332df03b4189ec266771fed0a46ac00c293cfd8e
|
4
|
+
data.tar.gz: 1cd1b1d225d848aaba37f174a1dc83ade3910c6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03f54f9ef17ce0c0990741abf416e9739aa3f730911f4e32766effc3407059997deac415e87cd13d5a18d0f9a3dc24bb8bd7fa577bbaafec2e89b9ca22ba8c9b
|
7
|
+
data.tar.gz: f32faebc7eebe5d40df08fa06593d92dde3381270c86aa464e47a9dcbee00bc1a92c5c8e3a3ad0a0038d14bb516db9f1f37ded6abfc8b4556b76e23f8a43fcee
|
data/CHANGELOG.md
CHANGED
@@ -1,173 +1,173 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [1.2.2](https://github.com/rambler-digital-solutions/Generamba/tree/1.2.2) (2016-09-27)
|
4
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/1.2.1...1.2.2)
|
4
5
|
|
5
|
-
[
|
6
|
+
## [1.2.1](https://github.com/rambler-digital-solutions/Generamba/tree/1.2.1) (2016-09-26)
|
7
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/1.2.0...1.2.1)
|
6
8
|
|
7
9
|
**Fixed bugs:**
|
8
10
|
|
9
|
-
-
|
11
|
+
- Crashes for multiple project targets [\#150](https://github.com/rambler-digital-solutions/Generamba/issues/150)
|
10
12
|
|
11
|
-
|
12
|
-
|
13
|
+
**Closed issues:**
|
14
|
+
|
15
|
+
- Can I create a template to generate swift-like structure objects for ObjC? [\#157](https://github.com/rambler-digital-solutions/Generamba/issues/157)
|
16
|
+
- Error generate module with option :exclusive=\>true in Podfile [\#154](https://github.com/rambler-digital-solutions/Generamba/issues/154)
|
17
|
+
- Module Generation Settings with project\_targets [\#151](https://github.com/rambler-digital-solutions/Generamba/issues/151)
|
18
|
+
|
19
|
+
## [1.2.0](https://github.com/rambler-digital-solutions/Generamba/tree/1.2.0) (2016-09-05)
|
20
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/1.1.0...1.2.0)
|
21
|
+
|
22
|
+
**Fixed bugs:**
|
23
|
+
|
24
|
+
- Файлы в корне модуля [\#147](https://github.com/rambler-digital-solutions/Generamba/issues/147)
|
25
|
+
|
26
|
+
**Merged pull requests:**
|
27
|
+
|
28
|
+
- Bug fixes and refactoring [\#148](https://github.com/rambler-digital-solutions/Generamba/pull/148) ([Beniamiiin](https://github.com/Beniamiiin))
|
29
|
+
|
30
|
+
## [1.1.0](https://github.com/rambler-digital-solutions/Generamba/tree/1.1.0) (2016-09-05)
|
31
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/1.0.0...1.1.0)
|
13
32
|
|
14
33
|
**Implemented enhancements:**
|
15
34
|
|
16
|
-
- Refactoring rambafile and module validation [\#144](https://github.com/rambler-
|
17
|
-
- Update gen command parameters table [\#142](https://github.com/rambler-
|
18
|
-
- If statement in .rambaspec [\#128](https://github.com/rambler-
|
19
|
-
- Ask user, he want create all modules by one path? [\#126](https://github.com/rambler-
|
35
|
+
- Refactoring rambafile and module validation [\#144](https://github.com/rambler-digital-solutions/Generamba/issues/144)
|
36
|
+
- Update gen command parameters table [\#142](https://github.com/rambler-digital-solutions/Generamba/issues/142)
|
37
|
+
- If statement in .rambaspec [\#128](https://github.com/rambler-digital-solutions/Generamba/issues/128)
|
38
|
+
- Ask user, he want create all modules by one path? [\#126](https://github.com/rambler-digital-solutions/Generamba/issues/126)
|
20
39
|
|
21
40
|
**Fixed bugs:**
|
22
41
|
|
23
|
-
- Generates files with a wrongs paths. [\#138](https://github.com/rambler-
|
24
|
-
- Install templates from git repo is broken? [\#135](https://github.com/rambler-
|
25
|
-
- Error creating the Xcode group path to new modules [\#129](https://github.com/rambler-
|
42
|
+
- Generates files with a wrongs paths. [\#138](https://github.com/rambler-digital-solutions/Generamba/issues/138)
|
43
|
+
- Install templates from git repo is broken? [\#135](https://github.com/rambler-digital-solutions/Generamba/issues/135)
|
44
|
+
- Error creating the Xcode group path to new modules [\#129](https://github.com/rambler-digital-solutions/Generamba/issues/129)
|
45
|
+
- If statement in .rambaspec [\#128](https://github.com/rambler-digital-solutions/Generamba/issues/128)
|
26
46
|
|
27
47
|
**Closed issues:**
|
28
48
|
|
29
|
-
- Error: `parse': \(Rambafile\): block sequence entries are not allowed [\#127](https://github.com/rambler-
|
49
|
+
- Error: `parse': \(Rambafile\): block sequence entries are not allowed [\#127](https://github.com/rambler-digital-solutions/Generamba/issues/127)
|
30
50
|
|
31
51
|
**Merged pull requests:**
|
32
52
|
|
33
|
-
- \[RESOLVED\] Added question in setup command \#126 [\#146](https://github.com/rambler-
|
34
|
-
- \[RESOLVED\] Updated logic of rambafile and module validation \#144 [\#145](https://github.com/rambler-
|
35
|
-
- \[RESOLVED\] Updated gen command parameters table \#142 [\#143](https://github.com/rambler-
|
36
|
-
- \[RESOLVED\] Added ability use custom parameters in rambaspec \#128 [\#141](https://github.com/rambler-
|
37
|
-
- \[FIXED\] Fixed bug \#138 [\#140](https://github.com/rambler-
|
38
|
-
- Added product\_module\_name to code\_module [\#139](https://github.com/rambler-
|
39
|
-
- A little refactoring [\#137](https://github.com/rambler-
|
40
|
-
- Support Ruby 2.3.1 [\#134](https://github.com/rambler-
|
41
|
-
- Helpers code style [\#133](https://github.com/rambler-
|
42
|
-
- Adds Code Climate config [\#132](https://github.com/rambler-
|
53
|
+
- \[RESOLVED\] Added question in setup command \#126 [\#146](https://github.com/rambler-digital-solutions/Generamba/pull/146) ([Beniamiiin](https://github.com/Beniamiiin))
|
54
|
+
- \[RESOLVED\] Updated logic of rambafile and module validation \#144 [\#145](https://github.com/rambler-digital-solutions/Generamba/pull/145) ([Beniamiiin](https://github.com/Beniamiiin))
|
55
|
+
- \[RESOLVED\] Updated gen command parameters table \#142 [\#143](https://github.com/rambler-digital-solutions/Generamba/pull/143) ([Beniamiiin](https://github.com/Beniamiiin))
|
56
|
+
- \[RESOLVED\] Added ability use custom parameters in rambaspec \#128 [\#141](https://github.com/rambler-digital-solutions/Generamba/pull/141) ([Beniamiiin](https://github.com/Beniamiiin))
|
57
|
+
- \[FIXED\] Fixed bug \#138 [\#140](https://github.com/rambler-digital-solutions/Generamba/pull/140) ([Beniamiiin](https://github.com/Beniamiiin))
|
58
|
+
- Added product\_module\_name to code\_module [\#139](https://github.com/rambler-digital-solutions/Generamba/pull/139) ([mogol](https://github.com/mogol))
|
59
|
+
- A little refactoring [\#137](https://github.com/rambler-digital-solutions/Generamba/pull/137) ([Beniamiiin](https://github.com/Beniamiiin))
|
60
|
+
- Support Ruby 2.3.1 [\#134](https://github.com/rambler-digital-solutions/Generamba/pull/134) ([ivaravko](https://github.com/ivaravko))
|
61
|
+
- Helpers code style [\#133](https://github.com/rambler-digital-solutions/Generamba/pull/133) ([ivaravko](https://github.com/ivaravko))
|
62
|
+
- Adds Code Climate config [\#132](https://github.com/rambler-digital-solutions/Generamba/pull/132) ([ivaravko](https://github.com/ivaravko))
|
43
63
|
|
44
|
-
## [1.0.0](https://github.com/rambler-
|
45
|
-
[Full Changelog](https://github.com/rambler-
|
64
|
+
## [1.0.0](https://github.com/rambler-digital-solutions/Generamba/tree/1.0.0) (2016-07-23)
|
65
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.7.8...1.0.0)
|
46
66
|
|
47
67
|
**Implemented enhancements:**
|
48
68
|
|
49
|
-
- Add more info to `generamba version` command [\#122](https://github.com/rambler-
|
50
|
-
- Empty group in Xcode structure [\#118](https://github.com/rambler-
|
51
|
-
- Gem dependency of cocoapods-core-0.39.0 [\#114](https://github.com/rambler-
|
52
|
-
- Remove adding module name in module\_group\_path if it set from cli [\#98](https://github.com/rambler-
|
53
|
-
- Check for missing Carthage dependencies [\#83](https://github.com/rambler-
|
54
|
-
- Automatic tests generation based on protocols and class interfaces [\#71](https://github.com/rambler-
|
55
|
-
- Track all modules created by Generamba [\#70](https://github.com/rambler-
|
69
|
+
- Add more info to `generamba version` command [\#122](https://github.com/rambler-digital-solutions/Generamba/issues/122)
|
70
|
+
- Empty group in Xcode structure [\#118](https://github.com/rambler-digital-solutions/Generamba/issues/118)
|
71
|
+
- Gem dependency of cocoapods-core-0.39.0 [\#114](https://github.com/rambler-digital-solutions/Generamba/issues/114)
|
72
|
+
- Remove adding module name in module\_group\_path if it set from cli [\#98](https://github.com/rambler-digital-solutions/Generamba/issues/98)
|
73
|
+
- Check for missing Carthage dependencies [\#83](https://github.com/rambler-digital-solutions/Generamba/issues/83)
|
74
|
+
- Automatic tests generation based on protocols and class interfaces [\#71](https://github.com/rambler-digital-solutions/Generamba/issues/71)
|
75
|
+
- Track all modules created by Generamba [\#70](https://github.com/rambler-digital-solutions/Generamba/issues/70)
|
56
76
|
|
57
77
|
**Fixed bugs:**
|
58
78
|
|
59
|
-
- Can't add file with type . Only 'source' and 'resource' are acceptable [\#116](https://github.com/rambler-
|
60
|
-
- If option --module-group-path starts with '/' Generamba add folder with empty name in root folder [\#99](https://github.com/rambler-
|
79
|
+
- Can't add file with type . Only 'source' and 'resource' are acceptable [\#116](https://github.com/rambler-digital-solutions/Generamba/issues/116)
|
80
|
+
- If option --module-group-path starts with '/' Generamba add folder with empty name in root folder [\#99](https://github.com/rambler-digital-solutions/Generamba/issues/99)
|
61
81
|
|
62
|
-
## [0.7.8](https://github.com/rambler-
|
63
|
-
[Full Changelog](https://github.com/rambler-
|
82
|
+
## [0.7.8](https://github.com/rambler-digital-solutions/Generamba/tree/0.7.8) (2016-05-16)
|
83
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.7.7...0.7.8)
|
64
84
|
|
65
|
-
## [0.7.7](https://github.com/rambler-
|
66
|
-
[Full Changelog](https://github.com/rambler-
|
85
|
+
## [0.7.7](https://github.com/rambler-digital-solutions/Generamba/tree/0.7.7) (2016-05-10)
|
86
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.7.6...0.7.7)
|
67
87
|
|
68
88
|
**Implemented enhancements:**
|
69
89
|
|
70
|
-
- Project target name in module\_info [\#110](https://github.com/rambler-
|
71
|
-
-
|
72
|
-
- Give a user more information about templates during `generamba setup` [\#86](https://github.com/rambler-ios/Generamba/issues/86)
|
90
|
+
- Project target name in module\_info [\#110](https://github.com/rambler-digital-solutions/Generamba/issues/110)
|
91
|
+
- Give a user more information about templates during `generamba setup` [\#86](https://github.com/rambler-digital-solutions/Generamba/issues/86)
|
73
92
|
|
74
|
-
## [0.7.6](https://github.com/rambler-
|
75
|
-
[Full Changelog](https://github.com/rambler-
|
93
|
+
## [0.7.6](https://github.com/rambler-digital-solutions/Generamba/tree/0.7.6) (2016-04-30)
|
94
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.7.5...0.7.6)
|
76
95
|
|
77
96
|
**Fixed bugs:**
|
78
97
|
|
79
|
-
- Failed adding files to project [\#96](https://github.com/rambler-
|
98
|
+
- Failed adding files to project [\#96](https://github.com/rambler-digital-solutions/Generamba/issues/96)
|
80
99
|
|
81
|
-
## [0.7.5](https://github.com/rambler-
|
82
|
-
[Full Changelog](https://github.com/rambler-
|
100
|
+
## [0.7.5](https://github.com/rambler-digital-solutions/Generamba/tree/0.7.5) (2016-04-24)
|
101
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.7.4...0.7.5)
|
83
102
|
|
84
103
|
**Implemented enhancements:**
|
85
104
|
|
86
|
-
- Get templates from git by specific a branch [\#104](https://github.com/rambler-
|
105
|
+
- Get templates from git by specific a branch [\#104](https://github.com/rambler-digital-solutions/Generamba/issues/104)
|
87
106
|
|
88
107
|
**Fixed bugs:**
|
89
108
|
|
90
|
-
-
|
91
|
-
- Layout issue in "Summary for gen module" [\#95](https://github.com/rambler-ios/Generamba/issues/95)
|
92
|
-
- Non human exception when wrong template name or catalog [\#77](https://github.com/rambler-ios/Generamba/issues/77)
|
109
|
+
- Non human exception when wrong template name or catalog [\#77](https://github.com/rambler-digital-solutions/Generamba/issues/77)
|
93
110
|
|
94
111
|
**Closed issues:**
|
95
112
|
|
96
|
-
- Module Name in .rambaspec support [\#102](https://github.com/rambler-
|
97
|
-
-
|
98
|
-
-
|
113
|
+
- Module Name in .rambaspec support [\#102](https://github.com/rambler-digital-solutions/Generamba/issues/102)
|
114
|
+
- Generate with project and tests targets in command line [\#97](https://github.com/rambler-digital-solutions/Generamba/issues/97)
|
115
|
+
- Easy setup template path to local templates in Rambafile [\#94](https://github.com/rambler-digital-solutions/Generamba/issues/94)
|
99
116
|
|
100
|
-
## [0.7.4](https://github.com/rambler-
|
101
|
-
[Full Changelog](https://github.com/rambler-
|
117
|
+
## [0.7.4](https://github.com/rambler-digital-solutions/Generamba/tree/0.7.4) (2016-02-21)
|
118
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.7.3...0.7.4)
|
102
119
|
|
103
120
|
**Implemented enhancements:**
|
104
121
|
|
105
|
-
- Asks the user if he needed tests in `generamba setup` command [\#85](https://github.com/rambler-
|
106
|
-
-
|
122
|
+
- Asks the user if he needed tests in `generamba setup` command [\#85](https://github.com/rambler-digital-solutions/Generamba/issues/85)
|
123
|
+
- Improve the visualization of commands with parameters [\#69](https://github.com/rambler-digital-solutions/Generamba/issues/69)
|
124
|
+
- Can we introduce something similar to view partials in rails \(for duplicated parts of views\) [\#62](https://github.com/rambler-digital-solutions/Generamba/issues/62)
|
107
125
|
|
108
126
|
**Fixed bugs:**
|
109
127
|
|
110
|
-
- Add resources\(xib, storyboard and etc\) in project bundle resources. [\#84](https://github.com/rambler-
|
128
|
+
- Add resources\(xib, storyboard and etc\) in project bundle resources. [\#84](https://github.com/rambler-digital-solutions/Generamba/issues/84)
|
111
129
|
|
112
130
|
**Closed issues:**
|
113
131
|
|
114
|
-
- Get "Liquid error: This liquid context does not allow includes." on all files in just generated module [\#93](https://github.com/rambler-
|
132
|
+
- Get "Liquid error: This liquid context does not allow includes." on all files in just generated module [\#93](https://github.com/rambler-digital-solutions/Generamba/issues/93)
|
115
133
|
|
116
|
-
## [0.7.3](https://github.com/rambler-
|
117
|
-
[Full Changelog](https://github.com/rambler-
|
134
|
+
## [0.7.3](https://github.com/rambler-digital-solutions/Generamba/tree/0.7.3) (2016-01-24)
|
135
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.7.2...0.7.3)
|
118
136
|
|
119
137
|
**Implemented enhancements:**
|
120
138
|
|
121
|
-
- Enhance `generamba template search` to search templates in custom catalogs [\#75](https://github.com/rambler-
|
122
|
-
- Enhance `generamba template list` to browse custom catalogs [\#74](https://github.com/rambler-
|
139
|
+
- Enhance `generamba template search` to search templates in custom catalogs [\#75](https://github.com/rambler-digital-solutions/Generamba/issues/75)
|
140
|
+
- Enhance `generamba template list` to browse custom catalogs [\#74](https://github.com/rambler-digital-solutions/Generamba/issues/74)
|
123
141
|
|
124
142
|
**Closed issues:**
|
125
143
|
|
126
|
-
- Can we use constants from rambafile in templates? [\#81](https://github.com/rambler-
|
127
|
-
- Arguments for `generamba gen Name modulename` [\#80](https://github.com/rambler-ios/Generamba/issues/80)
|
128
|
-
|
129
|
-
## [0.7.2](https://github.com/rambler-ios/Generamba/tree/0.7.2) (2016-01-10)
|
130
|
-
[Full Changelog](https://github.com/rambler-ios/Generamba/compare/0.7.1...0.7.2)
|
144
|
+
- Can we use constants from rambafile in templates? [\#81](https://github.com/rambler-digital-solutions/Generamba/issues/81)
|
131
145
|
|
132
|
-
|
133
|
-
|
134
|
-
- --version command [\#54](https://github.com/rambler-ios/Generamba/issues/54)
|
146
|
+
## [0.7.2](https://github.com/rambler-digital-solutions/Generamba/tree/0.7.2) (2016-01-10)
|
147
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.7.1...0.7.2)
|
135
148
|
|
136
149
|
**Fixed bugs:**
|
137
150
|
|
138
|
-
- Don't set target in swift projects [\#65](https://github.com/rambler-
|
139
|
-
- Errors if default path is empty [\#64](https://github.com/rambler-
|
140
|
-
- Default template set can not be used [\#60](https://github.com/rambler-
|
141
|
-
|
142
|
-
**Closed issues:**
|
143
|
-
|
144
|
-
- Can generamba be used to generate swift modules? [\#61](https://github.com/rambler-ios/Generamba/issues/61)
|
145
|
-
- Clarify generamba parameters usage [\#51](https://github.com/rambler-ios/Generamba/issues/51)
|
146
|
-
|
147
|
-
## [0.7.1](https://github.com/rambler-ios/Generamba/tree/0.7.1) (2015-12-20)
|
148
|
-
[Full Changelog](https://github.com/rambler-ios/Generamba/compare/0.7.0...0.7.1)
|
149
|
-
|
150
|
-
**Implemented enhancements:**
|
151
|
-
|
152
|
-
- Podfile path setup during generamba setup needs clarification [\#50](https://github.com/rambler-ios/Generamba/issues/50)
|
153
|
-
|
154
|
-
**Fixed bugs:**
|
151
|
+
- Don't set target in swift projects [\#65](https://github.com/rambler-digital-solutions/Generamba/issues/65)
|
152
|
+
- Errors if default path is empty [\#64](https://github.com/rambler-digital-solutions/Generamba/issues/64)
|
153
|
+
- Default template set can not be used [\#60](https://github.com/rambler-digital-solutions/Generamba/issues/60)
|
155
154
|
|
156
|
-
|
155
|
+
## [0.7.1](https://github.com/rambler-digital-solutions/Generamba/tree/0.7.1) (2015-12-20)
|
156
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.7.0...0.7.1)
|
157
157
|
|
158
|
-
## [0.7.0](https://github.com/rambler-
|
159
|
-
[Full Changelog](https://github.com/rambler-
|
158
|
+
## [0.7.0](https://github.com/rambler-digital-solutions/Generamba/tree/0.7.0) (2015-12-13)
|
159
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.6.2...0.7.0)
|
160
160
|
|
161
|
-
## [0.6.2](https://github.com/rambler-
|
162
|
-
[Full Changelog](https://github.com/rambler-
|
161
|
+
## [0.6.2](https://github.com/rambler-digital-solutions/Generamba/tree/0.6.2) (2015-11-25)
|
162
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.6.1...0.6.2)
|
163
163
|
|
164
|
-
## [0.6.1](https://github.com/rambler-
|
165
|
-
[Full Changelog](https://github.com/rambler-
|
164
|
+
## [0.6.1](https://github.com/rambler-digital-solutions/Generamba/tree/0.6.1) (2015-11-21)
|
165
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.6.0...0.6.1)
|
166
166
|
|
167
|
-
## [0.6.0](https://github.com/rambler-
|
168
|
-
[Full Changelog](https://github.com/rambler-
|
167
|
+
## [0.6.0](https://github.com/rambler-digital-solutions/Generamba/tree/0.6.0) (2015-11-15)
|
168
|
+
[Full Changelog](https://github.com/rambler-digital-solutions/Generamba/compare/0.5.0...0.6.0)
|
169
169
|
|
170
|
-
## [0.5.0](https://github.com/rambler-
|
170
|
+
## [0.5.0](https://github.com/rambler-digital-solutions/Generamba/tree/0.5.0) (2015-11-01)
|
171
171
|
|
172
172
|
|
173
173
|
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/README.md
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
### Overview
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/rambler-
|
3
|
+
[![Build Status](https://travis-ci.org/rambler-digital-solutions/Generamba.svg)](https://travis-ci.org/rambler-digital-solutions/Generamba)
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/generamba.svg)](https://badge.fury.io/rb/generamba)
|
5
|
-
[![Code Climate](https://codeclimate.com/github/rambler-
|
5
|
+
[![Code Climate](https://codeclimate.com/github/rambler-digital-solutions/Generamba/badges/gpa.svg)](https://codeclimate.com/github/rambler-digital-solutions/Generamba)
|
6
6
|
|
7
7
|
**Generamba** is a code generator made for working with Xcode. Primarily it is designed to generate VIPER modules but it is quite easy to customize it for generation of any other classes (both in Objective-C and Swift).
|
8
8
|
|
9
|
-
*We keep evolving Generamba:* [changelog](https://github.com/rambler-
|
9
|
+
*We keep evolving Generamba:* [changelog](https://github.com/rambler-digital-solutions/Generamba/blob/develop/CHANGELOG.md), [release notes](https://github.com/rambler-digital-solutions/Generamba/releases).
|
10
10
|
|
11
11
|
![Generamba Screenshot](https://habrastorage.org/files/b98/770/b37/b98770b37dc54de98daf0e22fea38478.gif)
|
12
12
|
|
13
13
|
### Key features
|
14
14
|
|
15
|
-
- Supports work with *.xcodeproj* files out of the box. All generated class files are
|
15
|
+
- Supports work with *.xcodeproj* files out of the box. All generated class files are automatically placed on specific folders and groups of Xcode project.
|
16
16
|
- Can generate both code itself and tests adding them to right targets.
|
17
17
|
- Based on work with [liquid-templates](https://github.com/Shopify/liquid) that have plain and readable syntax in comparison with templates for Xcode.
|
18
18
|
- It is very easy to create a new module: `generamba gen [MODULE_NAME] [TEMPLATE_NAME]`. You do not need to input a bunch of data each time because each project corresponds to only one configuration file that holds standard file system and Xcode-project pathes, names of targets, information about the author.
|
@@ -28,19 +28,19 @@ When necessary you can install the required Ruby version with the help of [`rvm`
|
|
28
28
|
Run the command `gem install generamba`.
|
29
29
|
|
30
30
|
### Usage
|
31
|
-
1. Run [`generamba setup`](https://github.com/rambler-
|
32
|
-
2. Add all templates planned to use in the project to the generated [Rambafile](https://github.com/rambler-
|
33
|
-
3. Run [`generamba template install`](https://github.com/rambler-
|
34
|
-
4. Run [`generamba gen [MODULE_NAME] [TEMPLATE_NAME]`](https://github.com/rambler-
|
31
|
+
1. Run [`generamba setup`](https://github.com/rambler-digital-solutions/Generamba/wiki/Available-Commands#basic-generamba-configuration) in the project root folder. This command helps to create [Rambafile](https://github.com/rambler-digital-solutions/Generamba/wiki/Rambafile-Structure) that define all configuration needed to generate code. You can modify this file directly in future.
|
32
|
+
2. Add all templates planned to use in the project to the generated [Rambafile](https://github.com/rambler-digital-solutions/Generamba/wiki/Rambafile-Structure). You can begin with one of the templates from our catalog: `{name: 'rviper_controller'}`.
|
33
|
+
3. Run [`generamba template install`](https://github.com/rambler-digital-solutions/Generamba/wiki/Available-Commands#template-installation). All the templates will be placed in the '/Templates' folder of your current project.
|
34
|
+
4. Run [`generamba gen [MODULE_NAME] [TEMPLATE_NAME]`](https://github.com/rambler-digital-solutions/Generamba/wiki/Available-Commands#module-generation) - It creates module with specific name from specific template.
|
35
35
|
|
36
36
|
### Additional info
|
37
37
|
|
38
38
|
Run `generamba help` to learn more about each of the Generamba features.
|
39
39
|
|
40
40
|
**Wiki:**
|
41
|
-
- [Command list](https://github.com/rambler-
|
42
|
-
- [Understanding the Rambafile](https://github.com/rambler-
|
43
|
-
- [Understanding templates](https://github.com/rambler-
|
41
|
+
- [Command list](https://github.com/rambler-digital-solutions/Generamba/wiki/Available-Commands)
|
42
|
+
- [Understanding the Rambafile](https://github.com/rambler-digital-solutions/Generamba/wiki/Rambafile-Structure)
|
43
|
+
- [Understanding templates](https://github.com/rambler-digital-solutions/Generamba/wiki/Template-Structure)
|
44
44
|
|
45
45
|
**Other materials:**
|
46
46
|
- [Russian] Rambler.iOS V: Generamba and Code Generation ([Slides](http://www.slideshare.net/Rambler-iOS/viper-56423582) | [Video](http://www.youtube.com/watch?v=NXNiN9FaUnY))
|
@@ -48,7 +48,7 @@ Run `generamba help` to learn more about each of the Generamba features.
|
|
48
48
|
|
49
49
|
### Authors
|
50
50
|
|
51
|
-
- Egor Tolstoy, Beniamin Sarkisyan, Andrey Zarembo and the rest of [Rambler.iOS team](https://github.com/orgs/rambler-ios
|
51
|
+
- Egor Tolstoy, Beniamin Sarkisyan, Andrey Zarembo and the rest of [Rambler.iOS team](https://github.com/orgs/rambler-digital-solutions/teams/ios-team).
|
52
52
|
|
53
53
|
### License
|
54
54
|
|
data/generamba.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = 'Advanced code generator for Xcode projects with a nice and flexible template system.'
|
13
13
|
spec.description = 'Generamba is a powerful and easy-to-use Xcode code generator. It provides a project-based configuration, flexible templates system, the ability to generate code and tests simultaneously.'
|
14
|
-
spec.homepage = 'https://github.com/rambler-
|
14
|
+
spec.homepage = 'https://github.com/rambler-digital-solutions/Generamba'
|
15
15
|
spec.license = 'MIT'
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
@@ -4,7 +4,7 @@ module Generamba
|
|
4
4
|
RAMBAFILE_NAME = 'Rambafile'
|
5
5
|
RAMBASPEC_EXTENSION = '.rambaspec'
|
6
6
|
TEMPLATES_FOLDER = 'Templates'
|
7
|
-
RAMBLER_CATALOG_REPO = 'https://github.com/rambler-
|
7
|
+
RAMBLER_CATALOG_REPO = 'https://github.com/rambler-digital-solutions/generamba-catalog'
|
8
8
|
GENERAMBA_CATALOG_NAME = 'generamba-catalog'
|
9
9
|
GENERAMBA_HOME_DIR = '.generamba'
|
10
10
|
CATALOGS_DIR = 'catalogs'
|
data/lib/generamba/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
module Generamba
|
2
|
-
VERSION = '1.
|
3
|
-
RELEASE_DATE = '
|
4
|
-
RELEASE_LINK = "https://github.com/rambler-
|
2
|
+
VERSION = '1.3.0'
|
3
|
+
RELEASE_DATE = '05.10.2016'
|
4
|
+
RELEASE_LINK = "https://github.com/rambler-digital-solutions/Generamba/releases/tag/#{VERSION}"
|
5
5
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: generamba
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Egor Tolstoy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-10-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|
@@ -238,7 +238,7 @@ files:
|
|
238
238
|
- lib/generamba/template/processor/template_processor.rb
|
239
239
|
- lib/generamba/tools/string-colorize.rb
|
240
240
|
- lib/generamba/version.rb
|
241
|
-
homepage: https://github.com/rambler-
|
241
|
+
homepage: https://github.com/rambler-digital-solutions/Generamba
|
242
242
|
licenses:
|
243
243
|
- MIT
|
244
244
|
metadata: {}
|