Commit fd1c25e5 authored by Fabio Pelosin's avatar Fabio Pelosin

[Config] Minor tweaks

parent a3c2efd9
...@@ -12,16 +12,17 @@ module Pod ...@@ -12,16 +12,17 @@ module Pod
# --- # ---
# skip_repo_update: true # skip_repo_update: true
# generate_docs: false # generate_docs: false
# doc_install: false # install_docs: false
# #
DEFAULTS = { DEFAULTS = {
:verbose => false, :verbose => false,
:silent => false, :silent => false,
:skip_repo_update => false, :skip_repo_update => false,
:agressive_cache => false,
:clean => true, :clean => true,
:generate_docs => true, :generate_docs => true,
:doc_install => true, :install_docs => true,
:integrate_targets => true, :integrate_targets => true,
:skip_repo_update => true, :skip_repo_update => true,
:new_version_message => true, :new_version_message => true,
...@@ -66,8 +67,8 @@ module Pod ...@@ -66,8 +67,8 @@ module Pod
# @return [Bool] Whether the generated documentation should be installed to # @return [Bool] Whether the generated documentation should be installed to
# Xcode. # Xcode.
# #
attr_accessor :doc_install attr_accessor :install_docs
alias_method :doc_install?, :doc_install alias_method :install_docs?, :install_docs
# @return [Bool] Whether CocoaPods should integrate a user target and build # @return [Bool] Whether CocoaPods should integrate a user target and build
# the workspace or just create the Pods project. # the workspace or just create the Pods project.
......
...@@ -13,7 +13,7 @@ module Bacon ...@@ -13,7 +13,7 @@ module Bacon
c.silent = true c.silent = true
c.repos_dir = fixture('spec-repos') c.repos_dir = fixture('spec-repos')
c.project_root = SpecHelper.temporary_directory c.project_root = SpecHelper.temporary_directory
c.doc_install = false c.install_docs = false
c.generate_docs = false c.generate_docs = false
c.skip_repo_update = true c.skip_repo_update = true
end end
......
require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../../../spec_helper', __FILE__)
# module BaconFocusedMode; end
module Pod module Pod
describe Installer::PodSourceInstaller do describe Installer::PodSourceInstaller do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment