generamba 1.2.0 → 1.2.1

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: 26c38791a3b444b271d70177be32f673d9c40adb
4
- data.tar.gz: c6c5052b488f919e873dd2522ae29839accaff39
3
+ metadata.gz: 4a885d6ecf032e290074a25ae99a2ed9d81148b7
4
+ data.tar.gz: 23a627c2bd626d8190cc6530ef2e435383075519
5
5
  SHA512:
6
- metadata.gz: 906ce76cc09b5c08321f42d03d91bd391482818bdf4fa8b252857905d517bad494b89cced56278e3209a46884539c2bf5a0f086e50ffd31a8712880aa4440693
7
- data.tar.gz: 0d62fadb4919f0d1420e704cdcde37e875c43d7be692e34dd9ee3fb3e9dffb85b3e239cf156610b39cba9396f27f04f4ec7ca28abea957da776b5c9ac9e392f5
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
- template = ModuleTemplate.new(template_name)
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(
@@ -1,5 +1,5 @@
1
1
  module Generamba
2
- VERSION = '1.2.0'
3
- RELEASE_DATE = '05.09.2016'
2
+ VERSION = '1.2.1'
3
+ RELEASE_DATE = '26.09.2016'
4
4
  RELEASE_LINK = "https://github.com/rambler-ios/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.2.0
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-05 00:00:00.000000000 Z
13
+ date: 2016-09-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thor