generamba-mp 0.0.2 → 0.0.3
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/generamba.gemspec +1 -1
- data/lib/generamba/module_generator.rb +4 -4
- 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: be0770fa2f33612f677ccf90e241af8663805979
|
|
4
|
+
data.tar.gz: 045bad5f2e6e4ed7536c94171acc3759892e2ade
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4bc14232ae967ac4bc900956f6955f7581d226632cf840a18850b0538ae8e3b2b3dfb2b2a65add5cf31d0e92623a468e1be358a9531e46d5abda5803701fb908
|
|
7
|
+
data.tar.gz: b35a706ca0a71f15be84efd5888d59f226b4c3b52077db5af4eb9e0e25acab229bfe712d4a19bb454747f068ff3e1ec4710ffdaf939cdbe5dbe8a119363cf02f
|
data/generamba.gemspec
CHANGED
|
@@ -13,8 +13,8 @@ module Generamba
|
|
|
13
13
|
project = XcodeprojHelper.obtain_project(code_module.xcodeproj_path)
|
|
14
14
|
|
|
15
15
|
# Configuring file paths
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
FileUtils.mkdir_p code_module.project_file_path if code_module.project_file_path
|
|
17
|
+
FileUtils.mkdir_p code_module.test_file_path if code_module.test_file_path
|
|
18
18
|
|
|
19
19
|
# Creating code files
|
|
20
20
|
if code_module.project_targets && code_module.project_group_path && code_module.project_file_path
|
|
@@ -62,16 +62,16 @@ module Generamba
|
|
|
62
62
|
XcodeprojHelper.clear_group(project, targets, group_path) unless processed_groups.include? group_path
|
|
63
63
|
files.each do |file|
|
|
64
64
|
unless file[TEMPLATE_FILE_PATH_KEY]
|
|
65
|
+
|
|
65
66
|
directory_name = file[TEMPLATE_NAME_KEY].gsub(/^\/|\/$/, '')
|
|
66
67
|
file_group = dir_path.join(directory_name)
|
|
67
68
|
|
|
68
69
|
FileUtils.mkdir_p file_group
|
|
69
70
|
XcodeprojHelper.add_group_to_project(project, group_path, dir_path, directory_name)
|
|
70
|
-
|
|
71
71
|
next
|
|
72
72
|
end
|
|
73
73
|
|
|
74
|
-
file_group = File.dirname(file[TEMPLATE_NAME_KEY])
|
|
74
|
+
# file_group = File.dirname(file[TEMPLATE_NAME_KEY])
|
|
75
75
|
file_group = nil if file_group == '.'
|
|
76
76
|
|
|
77
77
|
module_info = ModuleInfoGenerator.new(code_module)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: generamba-mp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marton Pito
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-05-
|
|
11
|
+
date: 2018-05-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|