generamba 1.2.0 → 1.2.1
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 +4 -4
- data/CHANGELOG.md +8 -10
- data/lib/generamba/cli/gen_command.rb +2 -1
- data/lib/generamba/version.rb +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: 4a885d6ecf032e290074a25ae99a2ed9d81148b7
|
|
4
|
+
data.tar.gz: 23a627c2bd626d8190cc6530ef2e435383075519
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8eb7a6003512d2d470ec9ec686bdca8c6d48cbf4e695bb90049bf21fa9778a2b87d369b80a3ef7b38165ad1f212eb4ca8a1c66f6117adf5f6c15a96303944d3b
|
|
7
|
+
data.tar.gz: 60db96f7d31a178343da611f1165f6495bf117236e73ffe17a5f4524480db79a4badb174bf46c6801574634666b378ef3ba3b6f86af3c4ae9dc7e7e8ab871833
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [Unreleased](https://github.com/rambler-ios/Generamba/tree/HEAD)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/rambler-ios/Generamba/compare/1.1.0...HEAD)
|
|
6
|
+
|
|
7
|
+
**Fixed bugs:**
|
|
8
|
+
|
|
9
|
+
- Файлы в корне модуля [\#147](https://github.com/rambler-ios/Generamba/issues/147)
|
|
10
|
+
|
|
3
11
|
## [1.1.0](https://github.com/rambler-ios/Generamba/tree/1.1.0) (2016-09-05)
|
|
4
12
|
[Full Changelog](https://github.com/rambler-ios/Generamba/compare/1.0.0...1.1.0)
|
|
5
13
|
|
|
@@ -82,14 +90,12 @@
|
|
|
82
90
|
- Generamba generator: Could not find 'generamba' [\#103](https://github.com/rambler-ios/Generamba/issues/103)
|
|
83
91
|
- Layout issue in "Summary for gen module" [\#95](https://github.com/rambler-ios/Generamba/issues/95)
|
|
84
92
|
- Non human exception when wrong template name or catalog [\#77](https://github.com/rambler-ios/Generamba/issues/77)
|
|
85
|
-
- Error on empty template folder [\#76](https://github.com/rambler-ios/Generamba/issues/76)
|
|
86
93
|
|
|
87
94
|
**Closed issues:**
|
|
88
95
|
|
|
89
96
|
- Module Name in .rambaspec support [\#102](https://github.com/rambler-ios/Generamba/issues/102)
|
|
90
97
|
- \[WIP\] fix module\_group\_path option [\#100](https://github.com/rambler-ios/Generamba/issues/100)
|
|
91
98
|
- Generate with project and tests targets in command line [\#97](https://github.com/rambler-ios/Generamba/issues/97)
|
|
92
|
-
- Easy setup template path to local templates in Rambafile [\#94](https://github.com/rambler-ios/Generamba/issues/94)
|
|
93
99
|
|
|
94
100
|
## [0.7.4](https://github.com/rambler-ios/Generamba/tree/0.7.4) (2016-02-21)
|
|
95
101
|
[Full Changelog](https://github.com/rambler-ios/Generamba/compare/0.7.3...0.7.4)
|
|
@@ -97,7 +103,6 @@
|
|
|
97
103
|
**Implemented enhancements:**
|
|
98
104
|
|
|
99
105
|
- Asks the user if he needed tests in `generamba setup` command [\#85](https://github.com/rambler-ios/Generamba/issues/85)
|
|
100
|
-
- Improve the visualization of commands with parameters [\#69](https://github.com/rambler-ios/Generamba/issues/69)
|
|
101
106
|
- Can we introduce something similar to view partials in rails \(for duplicated parts of views\) [\#62](https://github.com/rambler-ios/Generamba/issues/62)
|
|
102
107
|
|
|
103
108
|
**Fixed bugs:**
|
|
@@ -127,19 +132,16 @@
|
|
|
127
132
|
**Implemented enhancements:**
|
|
128
133
|
|
|
129
134
|
- --version command [\#54](https://github.com/rambler-ios/Generamba/issues/54)
|
|
130
|
-
- Incorrect behavior when generate module which already exists [\#52](https://github.com/rambler-ios/Generamba/issues/52)
|
|
131
135
|
|
|
132
136
|
**Fixed bugs:**
|
|
133
137
|
|
|
134
138
|
- Don't set target in swift projects [\#65](https://github.com/rambler-ios/Generamba/issues/65)
|
|
135
139
|
- Errors if default path is empty [\#64](https://github.com/rambler-ios/Generamba/issues/64)
|
|
136
140
|
- Default template set can not be used [\#60](https://github.com/rambler-ios/Generamba/issues/60)
|
|
137
|
-
- Incorrect behavior when generate module which already exists [\#52](https://github.com/rambler-ios/Generamba/issues/52)
|
|
138
141
|
|
|
139
142
|
**Closed issues:**
|
|
140
143
|
|
|
141
144
|
- Can generamba be used to generate swift modules? [\#61](https://github.com/rambler-ios/Generamba/issues/61)
|
|
142
|
-
- Git 1.2.9.1 [\#57](https://github.com/rambler-ios/Generamba/issues/57)
|
|
143
145
|
- Clarify generamba parameters usage [\#51](https://github.com/rambler-ios/Generamba/issues/51)
|
|
144
146
|
|
|
145
147
|
## [0.7.1](https://github.com/rambler-ios/Generamba/tree/0.7.1) (2015-12-20)
|
|
@@ -153,10 +155,6 @@
|
|
|
153
155
|
|
|
154
156
|
- Unexpected behavior when use --module\_path [\#53](https://github.com/rambler-ios/Generamba/issues/53)
|
|
155
157
|
|
|
156
|
-
**Closed issues:**
|
|
157
|
-
|
|
158
|
-
- Add support for multiple targets during generamba setup [\#49](https://github.com/rambler-ios/Generamba/issues/49)
|
|
159
|
-
|
|
160
158
|
## [0.7.0](https://github.com/rambler-ios/Generamba/tree/0.7.0) (2015-12-13)
|
|
161
159
|
[Full Changelog](https://github.com/rambler-ios/Generamba/compare/0.6.2...0.7.0)
|
|
162
160
|
|
|
@@ -45,7 +45,8 @@ module Generamba::CLI
|
|
|
45
45
|
module_validator = ModuleValidator.new
|
|
46
46
|
module_validator.validate(code_module)
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
module_info = ModuleInfoGenerator.new(code_module)
|
|
49
|
+
template = ModuleTemplate.new(template_name, module_info.scope)
|
|
49
50
|
|
|
50
51
|
parameters = GenCommandTableParametersFormatter.prepare_parameters_for_displaying(code_module, template_name)
|
|
51
52
|
PrintTable.print_values(
|
data/lib/generamba/version.rb
CHANGED
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.2.
|
|
4
|
+
version: 1.2.1
|
|
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-09-
|
|
13
|
+
date: 2016-09-26 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: thor
|