ib 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/ib/generator.rb +8 -3
  2. data/lib/ib/version.rb +1 -1
  3. metadata +3 -3
data/lib/ib/generator.rb CHANGED
@@ -52,13 +52,18 @@ OBJC
52
52
  end
53
53
 
54
54
  def generate_objc_impl files
55
- src = files.map do |path, info|
56
- <<-OBJC
55
+ output = ""
56
+ files.map do |path, infos|
57
+ infos.each do |info|
58
+ output << <<-OBJC
57
59
  @implementation #{info[:class][0][0]}
58
60
 
59
61
  @end
60
62
  OBJC
61
- end.join("\n" * 2)
63
+ output << "\n\n"
64
+ end
65
+ end
66
+ output
62
67
  end
63
68
 
64
69
  def generate_type type
data/lib/ib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module IB
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ib
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.3
5
+ version: 0.2.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Yury Korolev
@@ -107,7 +107,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  segments:
109
109
  - 0
110
- hash: 3876131364109550006
110
+ hash: 389892564466393002
111
111
  none: false
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  requirements:
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  segments:
118
118
  - 0
119
- hash: 3876131364109550006
119
+ hash: 389892564466393002
120
120
  none: false
121
121
  requirements: []
122
122
  rubyforge_project: