From 552a37386a126a431f6826c0ca34f7e3f33a0dfd Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Mon, 9 Apr 2018 06:48:57 -0400 Subject: [PATCH] Perpare for 1.0 --- Gemfile.lock | 79 ++++++++++++++++--------------- README.md | 27 +++++++++-- lib/cocoapods-rome/gem_version.rb | 2 +- 3 files changed, 63 insertions(+), 45 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 6ffebf4..8a55b5a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,78 +1,79 @@ PATH remote: . specs: - cocoapods-rome (0.8.0) + cocoapods-rome (1.0.0) cocoapods (>= 1.1.0, < 2.0) fourflusher (~> 2.0) GEM remote: https://rubygems.org/ specs: - CFPropertyList (2.3.5) - activesupport (4.2.7.1) + CFPropertyList (3.0.0) + activesupport (4.2.10) i18n (~> 0.7) - json (~> 1.7, >= 1.7.7) minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) + atomos (0.1.2) bacon (1.2.0) - claide (1.0.1) - cocoapods (1.2.0) + claide (1.0.2) + cocoapods (1.5.0) activesupport (>= 4.0.2, < 5) - claide (>= 1.0.1, < 2.0) - cocoapods-core (= 1.2.0) - cocoapods-deintegrate (>= 1.0.1, < 2.0) - cocoapods-downloader (>= 1.1.3, < 2.0) + claide (>= 1.0.2, < 2.0) + cocoapods-core (= 1.5.0) + cocoapods-deintegrate (>= 1.0.2, < 2.0) + cocoapods-downloader (>= 1.2.0, < 2.0) cocoapods-plugins (>= 1.0.0, < 2.0) cocoapods-search (>= 1.0.0, < 2.0) cocoapods-stats (>= 1.0.0, < 2.0) - cocoapods-trunk (>= 1.1.2, < 2.0) + cocoapods-trunk (>= 1.3.0, < 2.0) cocoapods-try (>= 1.1.0, < 2.0) - colored (~> 1.2) + colored2 (~> 3.1) escape (~> 0.0.4) fourflusher (~> 2.0.1) gh_inspector (~> 1.0) - molinillo (~> 0.5.5) + molinillo (~> 0.6.5) nap (~> 1.0) - ruby-macho (~> 0.2.5) - xcodeproj (>= 1.4.1, < 2.0) - cocoapods-core (1.2.0) - activesupport (>= 4.0.2, < 5) + ruby-macho (~> 1.1) + xcodeproj (>= 1.5.7, < 2.0) + cocoapods-core (1.5.0) + activesupport (>= 4.0.2, < 6) fuzzy_match (~> 2.0.4) nap (~> 1.0) - cocoapods-deintegrate (1.0.1) - cocoapods-downloader (1.1.3) + cocoapods-deintegrate (1.0.2) + cocoapods-downloader (1.2.0) cocoapods-plugins (1.0.0) nap cocoapods-search (1.0.0) cocoapods-stats (1.0.0) - cocoapods-trunk (1.1.2) + cocoapods-trunk (1.3.0) nap (>= 0.8, < 2.0) - netrc (= 0.7.8) + netrc (~> 0.11) cocoapods-try (1.1.0) - colored (1.2) + colored2 (3.1.2) + concurrent-ruby (1.0.5) escape (0.0.4) fourflusher (2.0.1) fuzzy_match (2.0.4) - gh_inspector (1.0.3) - i18n (0.8.0) - json (1.8.6) - minitest (5.10.1) - molinillo (0.5.5) - nanaimo (0.2.3) + gh_inspector (1.1.3) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + minitest (5.11.3) + molinillo (0.6.5) + nanaimo (0.2.5) nap (1.1.0) - netrc (0.7.8) + netrc (0.11.0) rake (11.2.2) - ruby-macho (0.2.6) - thread_safe (0.3.5) - tzinfo (1.2.2) + ruby-macho (1.1.0) + thread_safe (0.3.6) + tzinfo (1.2.5) thread_safe (~> 0.1) - xcodeproj (1.4.2) - CFPropertyList (~> 2.3.3) - activesupport (>= 3) - claide (>= 1.0.1, < 2.0) - colored (~> 1.2) - nanaimo (~> 0.2.3) + xcodeproj (1.5.7) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.2) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.2.4) PLATFORMS ruby @@ -84,4 +85,4 @@ DEPENDENCIES rake BUNDLED WITH - 1.14.3 + 1.15.4 diff --git a/README.md b/README.md index 0e488e4..e67d734 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,7 @@ Write a simple Podfile like this: ```ruby platform :osx, '10.10' -plugin 'cocoapods-rome' { - dsym: true, - configuration: 'Release' -} +plugin 'cocoapods-rome' target 'caesar' do pod 'Alamofire' @@ -40,6 +37,26 @@ and you will end up with dynamic frameworks: $ tree Rome/ Rome/ └── Alamofire.framework +``` + +For your production builds, when you want dSYMs created and stored: + +```ruby +platform :osx, '10.10' + +plugin 'cocoapods-rome', { + dsym: true, + configuration: 'Release' +} + +target 'caesar' do + pod 'Alamofire' +end +``` + +Resulting in: + +``` $ tree dSYM/ dSYM/ ├── iphoneos @@ -62,7 +79,7 @@ dSYM/ The plugin allows you to provides hooks that will be called during the installation process. -### pre_compile +### `pre_compile` This hook allows you to make any last changes to the generated Xcode project before the compilation of frameworks begins. diff --git a/lib/cocoapods-rome/gem_version.rb b/lib/cocoapods-rome/gem_version.rb index ea81b3e..146b8ad 100644 --- a/lib/cocoapods-rome/gem_version.rb +++ b/lib/cocoapods-rome/gem_version.rb @@ -1,3 +1,3 @@ module CocoapodsRome - VERSION = "0.8.1" + VERSION = "1.0.0" end