mvcgen 0.1.22 → 0.1.23

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc4a2b84278d34d5df86801a97a1d7eaf19765b0
4
- data.tar.gz: c6384062a1241011622185b73c8164e4971e9803
3
+ metadata.gz: 404bcc0abd062a2fc7fc61e179947f2863c3ae6c
4
+ data.tar.gz: 0a492c769e193d67e91420799c9e7e11704f47c1
5
5
  SHA512:
6
- metadata.gz: a3563e4a8e4754e3b1250ee86a87c723cd14ccf3dc019443f26908f360d55c3858ab5ceebd660d6563bc2b1f46928d11b70c554ee1ddd68ef1d34cdfd4bbf45e
7
- data.tar.gz: c30bfd0466dba192eb1443c29d99c3d848ca276026885bd42a47bd15598c3db51a08b18beb304dcfde20829f08f4cc5154268b155a6e15841ed7bfff47435cb6
6
+ metadata.gz: 6de7990dc53b76fea080b8d955586cad333a630eb140382710f83e68f6d22d6099b78dd61f252e566ad227e77502a26ca5b54a5cd77e5ffe9f087e20ff4381d9
7
+ data.tar.gz: 688fef18e1670660ddadd9fbb2fad88426a0689b7ccd93a119cbac27abbed86a215c2224e16a43ce53727b8bd1981ac233ba74390b809eb5b867bc464151bb29
@@ -1,5 +1,6 @@
1
1
  require 'fileutils'
2
2
  require 'xcodeproj'
3
+ require 'pathname'
3
4
 
4
5
  module MVCgen
5
6
  # Cosntants
@@ -35,10 +36,10 @@ module MVCgen
35
36
 
36
37
  def self.add_files_togroup(project, group, target)
37
38
 
38
- if File.exist?(group.real_path)
39
+ if File.exist?(File.realpath(group))
39
40
 
40
- Dir.foreach(group.real_path) do |entry|
41
- filePath = File.join(group.real_path, entry)
41
+ Dir.foreach(File.realpath(group)) do |entry|
42
+ filePath = File.join(File.realpath(group), entry)
42
43
 
43
44
  # puts filePath
44
45
 
@@ -76,7 +77,7 @@ module MVCgen
76
77
 
77
78
  subGroup = group.find_subpath(entry, true)
78
79
  subGroup.set_source_tree(group.source_tree)
79
- subGroup.set_path(File.join(group.real_path, entry))
80
+ subGroup.set_path(File.join(File.realpath(group), entry))
80
81
  add_files_togroup(project, target, subGroup)
81
82
 
82
83
  end
@@ -1,4 +1,4 @@
1
1
  module MVCgen
2
2
  NAME = "mvcgen"
3
- VERSION = "0.1.22"
3
+ VERSION = "0.1.23"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mvcgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.22
4
+ version: 0.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Martinez