cocoapods-rome 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e2074ce61f9095239ccfe5a4654432a6dbf80e2e
4
+ data.tar.gz: fcdd790c5b522cb25c0b615cdce25336521c7736
5
+ SHA512:
6
+ metadata.gz: 3c8164ea5b2b22ec0eea56aedca979f2bf5b8a1868e8ff8dad53024b33ef65eb1a4cfb9a0a4e62726ea3c621dbd5ff86b20b7860b982428fb500debf8941f781
7
+ data.tar.gz: ca3249832806aa99d54805c7f4720969fd8b3062597f48b644562f3d2a9165cdffe5b957e9a39ed3cb6f0842c1e642f2acbec90b71fd86e4a1e79178c34199b6
@@ -0,0 +1,3 @@
1
+ .DS_Store
2
+ pkg
3
+ .idea/
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in cocoapods-rome.gemspec
4
+ gemspec
5
+
6
+ group :development do
7
+ gem 'cocoapods'
8
+ gem 'bacon'
9
+ end
10
+
@@ -0,0 +1,68 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ cocoapods-rome (0.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ activesupport (4.2.0)
10
+ i18n (~> 0.7)
11
+ json (~> 1.7, >= 1.7.7)
12
+ minitest (~> 5.1)
13
+ thread_safe (~> 0.3, >= 0.3.4)
14
+ tzinfo (~> 1.1)
15
+ bacon (1.2.0)
16
+ claide (0.8.1)
17
+ cocoapods (0.36.0)
18
+ activesupport (>= 3.2.15)
19
+ claide (~> 0.8.1)
20
+ cocoapods-core (= 0.36.0)
21
+ cocoapods-downloader (~> 0.8.1)
22
+ cocoapods-plugins (~> 0.4.1)
23
+ cocoapods-trunk (~> 0.6.0)
24
+ cocoapods-try (~> 0.4.3)
25
+ colored (~> 1.2)
26
+ escape (~> 0.0.4)
27
+ molinillo (~> 0.2.1)
28
+ nap (~> 0.8)
29
+ open4 (~> 1.3)
30
+ xcodeproj (~> 0.23.0)
31
+ cocoapods-core (0.36.0)
32
+ activesupport (>= 3.2.15)
33
+ fuzzy_match (~> 2.0.4)
34
+ nap (~> 0.8.0)
35
+ cocoapods-downloader (0.8.1)
36
+ cocoapods-plugins (0.4.1)
37
+ nap
38
+ cocoapods-trunk (0.6.0)
39
+ nap (>= 0.8)
40
+ netrc (= 0.7.8)
41
+ cocoapods-try (0.4.3)
42
+ colored (1.2)
43
+ escape (0.0.4)
44
+ fuzzy_match (2.0.4)
45
+ i18n (0.7.0)
46
+ json (1.8.2)
47
+ minitest (5.5.1)
48
+ molinillo (0.2.1)
49
+ nap (0.8.0)
50
+ netrc (0.7.8)
51
+ open4 (1.3.4)
52
+ rake (10.4.2)
53
+ thread_safe (0.3.5)
54
+ tzinfo (1.2.2)
55
+ thread_safe (~> 0.1)
56
+ xcodeproj (0.23.0)
57
+ activesupport (>= 3)
58
+ colored (~> 1.2)
59
+
60
+ PLATFORMS
61
+ ruby
62
+
63
+ DEPENDENCIES
64
+ bacon
65
+ bundler (~> 1.3)
66
+ cocoapods
67
+ cocoapods-rome!
68
+ rake
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Boris Bügling <boris@icculus.org>
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,37 @@
1
+ # cocoapods-rome
2
+
3
+ Rome makes it easy to build a list of frameworks for consumption outside of
4
+ Xcode, e.g. for a Swift script.
5
+
6
+ ## Installation
7
+
8
+ ```bash
9
+ $ gem install cocoapods-rome
10
+ ```
11
+
12
+ ## Usage
13
+
14
+ Write a simple Podfile like this:
15
+
16
+ ```ruby
17
+ platform :osx, '10.10'
18
+ use_frameworks!
19
+
20
+ plugin 'cocoapods-rome'
21
+
22
+ pod 'Alamofire'
23
+ ```
24
+
25
+ then run this:
26
+
27
+ ```bash
28
+ pod install --no-integrate --no-repo-update
29
+ ```
30
+
31
+ and you will end up with dynamic frameworks:
32
+
33
+ ```
34
+ $ tree Rome/
35
+ Rome/
36
+ └── Alamofire.framework
37
+ ```
@@ -0,0 +1,13 @@
1
+ require 'bundler/gem_tasks'
2
+
3
+ def specs(dir)
4
+ FileList["spec/#{dir}/*_spec.rb"].shuffle.join(' ')
5
+ end
6
+
7
+ desc 'Runs all the specs'
8
+ task :specs do
9
+ sh "bundle exec bacon #{specs('**')}"
10
+ end
11
+
12
+ task :default => :specs
13
+
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'cocoapods-rome/gem_version.rb'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "cocoapods-rome"
8
+ spec.version = CocoapodsRome::VERSION
9
+ spec.authors = ["Boris Bügling"]
10
+ spec.email = ["boris@icculus.org"]
11
+ spec.description = %q{A short description of cocoapods-rome.}
12
+ spec.summary = %q{A longer description of cocoapods-rome.}
13
+ spec.homepage = "https://github.com/EXAMPLE/cocoapods-rome"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.3"
22
+ spec.add_development_dependency "rake"
23
+ end
@@ -0,0 +1 @@
1
+ require 'cocoapods-rome/gem_version'
@@ -0,0 +1,3 @@
1
+ module CocoapodsRome
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,17 @@
1
+
2
+ Pod::HooksManager.register('cocoapods-rome', :post_install) do |installer_context|
3
+ sandbox_root = installer_context.sandbox_root
4
+ sandbox = Pod::Sandbox.new(sandbox_root)
5
+
6
+ puts 'Building frameworks'
7
+
8
+ FileUtils.rmtree('build')
9
+ Dir.chdir(sandbox.project_path.dirname) do
10
+ `xcodebuild -project #{sandbox.project_path.basename} -scheme Pods -configuration Release`
11
+ end
12
+
13
+ `mv build/Release/Pods/*.framework build`
14
+ FileUtils.rmtree('build/Pods.build')
15
+ FileUtils.rmtree('build/Release')
16
+ `mv build Rome`
17
+ end
@@ -0,0 +1 @@
1
+ require 'cocoapods-rome/post_install.rb'
@@ -0,0 +1,45 @@
1
+ require 'pathname'
2
+ ROOT = Pathname.new(File.expand_path('../../', __FILE__))
3
+ $:.unshift((ROOT + 'lib').to_s)
4
+ $:.unshift((ROOT + 'spec').to_s)
5
+
6
+ require 'bundler/setup'
7
+ require 'bacon'
8
+ require 'cocoapods'
9
+
10
+ require 'cocoapods_plugin'
11
+
12
+ #-----------------------------------------------------------------------------#
13
+
14
+ module Pod
15
+
16
+ # Disable the wrapping so the output is deterministic in the tests.
17
+ #
18
+ UI.disable_wrap = true
19
+
20
+ # Redirects the messages to an internal store.
21
+ #
22
+ module UI
23
+ @output = ''
24
+ @warnings = ''
25
+
26
+ class << self
27
+ attr_accessor :output
28
+ attr_accessor :warnings
29
+
30
+ def puts(message = '')
31
+ @output << "#{message}\n"
32
+ end
33
+
34
+ def warn(message = '', actions = [])
35
+ @warnings << "#{message}\n"
36
+ end
37
+
38
+ def print(message)
39
+ @output << message
40
+ end
41
+ end
42
+ end
43
+ end
44
+
45
+ #-----------------------------------------------------------------------------#
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cocoapods-rome
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Boris Bügling
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: A short description of cocoapods-rome.
42
+ email:
43
+ - boris@icculus.org
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - .gitignore
49
+ - Gemfile
50
+ - Gemfile.lock
51
+ - LICENSE.txt
52
+ - README.md
53
+ - Rakefile
54
+ - cocoapods-rome.gemspec
55
+ - lib/cocoapods-rome.rb
56
+ - lib/cocoapods-rome/gem_version.rb
57
+ - lib/cocoapods-rome/post_install.rb
58
+ - lib/cocoapods_plugin.rb
59
+ - spec/spec_helper.rb
60
+ homepage: https://github.com/EXAMPLE/cocoapods-rome
61
+ licenses:
62
+ - MIT
63
+ metadata: {}
64
+ post_install_message:
65
+ rdoc_options: []
66
+ require_paths:
67
+ - lib
68
+ required_ruby_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - '>='
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ requirements: []
79
+ rubyforge_project:
80
+ rubygems_version: 2.0.14
81
+ signing_key:
82
+ specification_version: 4
83
+ summary: A longer description of cocoapods-rome.
84
+ test_files:
85
+ - spec/spec_helper.rb
86
+ has_rdoc: