ib 0.4.3 → 0.4.4

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: e997666e49289ad97accdb6f4d31ef242b218e0f
4
- data.tar.gz: 165ff843dae466cfb48a70f34285ef2c99e5de2e
3
+ metadata.gz: 8250635e01fb42bfbdc5e3d780d5d75826ec66d5
4
+ data.tar.gz: 12abe2936386aea20d68beb00e574f711a808131
5
5
  SHA512:
6
- metadata.gz: 2e297f161676af5797387959c4a2e38d888935fce801df5521bc04927434c259733621a534cbe57f8d9a531f11545642dd22e974904ac08af0013a9c48fb8bb0
7
- data.tar.gz: 915d382d1e7fcd9208c3e4477f63312306d179e8ab7437e75fb0676a4980550c3a185df7204fb714f14e3f30485b660645c352b6dca432979af34e46a1b5ee93
6
+ metadata.gz: cdab0db80169d886231f0a209378f86cd06ac1b3fda1110fe561078686041e2526cb6cffb6fbe0b35270c9cabb488d19f0ae12ab330dd0339a8850a679916853
7
+ data.tar.gz: 5cc5dd020469989678337d1a5748bf920575a825085f1825647ce86734dbf6dd1b1b6d42dc5ad059007648daaa716960d4096a77133746a381fcb981c8359466
data/lib/ib.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  if defined?(Motion::Project::Config)
2
3
  Motion::Project::App.setup do |app|
3
4
  app.files.unshift File.join(File.dirname(__FILE__), 'ib/outlets.rb')
@@ -14,4 +15,4 @@ require 'ib/tasks'
14
15
  require 'ib/parser'
15
16
  require 'ib/version'
16
17
  require 'ib/generator'
17
- require 'ib/project'
18
+ require 'ib/project'
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'tsort'
2
3
 
3
4
  module IB
data/lib/ib/generator.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'erb'
2
3
  require 'tilt/erb'
3
4
  require 'ib/generator/rendering_helper'
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module IB
2
3
  class Generator
3
4
  class RenderingHelper
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  class IB::OCInterface
2
3
  attr_reader :sub_class, :super_class, :outlets,
3
4
  :outlet_collections, :actions, :path
data/lib/ib/outlets.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module IB
2
3
 
3
4
  def ib_outlet name, type = "id"
data/lib/ib/parser.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'ib/dependency_resolver'
2
3
  require 'ib/oc_interface'
3
4
 
data/lib/ib/project.rb CHANGED
@@ -1,11 +1,13 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  class IB::Project
2
- attr_accessor :platform, :app_path, :resources_path, :pods_headers_path
3
+ attr_accessor :platform, :app_path, :resources_path, :pods_headers_path, :project_path
3
4
 
4
5
  def initialize options={}
5
- @platform = options[:platform] || detect_platform || :ios
6
- @app_path = options[:app_path] || "app"
7
- @resources_path = options[:resources_path] || "resources"
8
- @pods_headers_path = options[:pods_headers_path] || "vendor/Pods/Headers"
6
+ @platform = options[:platform] || detect_platform || :ios
7
+ @project_path = options[:project_path] || Dir.pwd
8
+ @app_path = options[:app_path] || "#{project_path}/app"
9
+ @resources_path = options[:resources_path] || "#{project_path}/resources"
10
+ @pods_headers_path = options[:pods_headers_path] || "#{project_path}/vendor/Pods/Headers"
9
11
  end
10
12
 
11
13
  def detect_platform
data/lib/ib/tasks.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'rake' unless defined? Rake
2
3
 
3
4
  namespace :ib do
@@ -10,4 +11,4 @@ namespace :ib do
10
11
  task :project do
11
12
  IB::Project.new.write
12
13
  end
13
- end
14
+ end
data/lib/ib/version.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module IB
2
- VERSION = '0.4.3'
3
+ VERSION = '0.4.4'
3
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yury Korolev
@@ -9,76 +9,76 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-03 00:00:00.000000000 Z
12
+ date: 2014-04-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: xcodeproj
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 0.11.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: 0.11.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: thor
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: 0.15.4
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: 0.15.4
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: tilt
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: 1.4.1
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: 1.4.1
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: rspec
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '2.0'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '2.0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rake
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  description: Magic rubymotion ib outlets support
@@ -90,9 +90,9 @@ executables:
90
90
  extensions: []
91
91
  extra_rdoc_files: []
92
92
  files:
93
- - .gitignore
94
- - .rspec
95
- - .travis.yml
93
+ - ".gitignore"
94
+ - ".rspec"
95
+ - ".travis.yml"
96
96
  - Gemfile
97
97
  - LICENSE
98
98
  - README.md
@@ -143,17 +143,17 @@ require_paths:
143
143
  - lib
144
144
  required_ruby_version: !ruby/object:Gem::Requirement
145
145
  requirements:
146
- - - '>='
146
+ - - ">="
147
147
  - !ruby/object:Gem::Version
148
148
  version: '0'
149
149
  required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - '>='
151
+ - - ">="
152
152
  - !ruby/object:Gem::Version
153
153
  version: '0'
154
154
  requirements: []
155
155
  rubyforge_project:
156
- rubygems_version: 2.0.3
156
+ rubygems_version: 2.2.0
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: Small portion of love to interface builder with rubymotion