cocoapods-podInstalLocalDepencencies 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '064739cac52b1e766d82d635de962904e822e9fb0d7f50ac116f49e531596aa6'
4
- data.tar.gz: 7753906dc3cbb4762cf5bbf151753c7e3cd9a97138a8529f53b8e86e3c390e12
3
+ metadata.gz: b5f6d1d3fa849b81cf9ffdc2fb0e01433cfe48f1abf448c4562e46caeda26b92
4
+ data.tar.gz: a4c27deaf9c3c240bf1917a01a1f6c86a335f53e5c35d747322c88bee71df42a
5
5
  SHA512:
6
- metadata.gz: 6c56326384abe25306bb24bdc4babb33640afff37edcc37009f147dc5c7c3fee42fc443f256da569102e54fba62525239d4826e47aac486aa27e24d3bb936cee
7
- data.tar.gz: d82ca85786fa02ebd1ac6d18c1507649549126ca514c8b5768741c3b55513f8bdb6dfed022b65a853ad5c7720a7d0d225ba263c653c81d02821b2ce6da21ebe1
6
+ metadata.gz: 1512b1b5076338f722cd9eca1a176cdb2101f72ecbe03a202a616b4b88997f6910bfa11248f3319013c24f8a2925865d514f04f20bf9fd79b9ec3f6223c9ef39
7
+ data.tar.gz: 66803a18c59167a6d752f790e380f660de2f8c997152f87c02050302183129012eb552dab0e983a7a4b645355b88028dc8e9fd1b88b6526abbdb7cb4d8752087
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ .DS_Store
2
+ pkg
3
+ .idea/
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in cocoapods-podInstalLocalDepencencies.gemspec
4
+ gemspec
5
+
6
+ group :development do
7
+ gem 'cocoapods'
8
+
9
+ gem 'mocha'
10
+ gem 'bacon'
11
+ gem 'mocha-on-bacon'
12
+ gem 'prettybacon'
13
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2019 Leo Valentim <leo.valent@hotmail.com>
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.
data/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # cocoapods-podInstalLocalDepencencies
2
+
3
+ A description of cocoapods-podInstalLocalDepencencies.
4
+
5
+ ## Installation
6
+
7
+ $ gem install cocoapods-podInstalLocalDepencencies
8
+
9
+ ## Usage
10
+
11
+ $ pod spec podInstalLocalDepencencies POD_NAME
data/Rakefile ADDED
@@ -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,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'cocoapods-podInstalLocalDepencencies/gem_version.rb'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'cocoapods-podInstalLocalDepencencies'
8
+ spec.version = CocoapodsPodinstallocaldepencencies::VERSION
9
+ spec.authors = ['Leo Valentim']
10
+ spec.email = ['leo.valent@hotmail.com']
11
+ spec.description = %q{The Cocoapods-plugin local dependencies manager.}
12
+ spec.summary = %q{Cocoapods-podInstalLocalDepencencies manages your local dependencies that are referenced in your Podfile with a :path(Local path) defined.}
13
+ spec.homepage = 'https://github.com/LeoValentim/Pod-Install-Local-Dependencies'
14
+ spec.license = 'MIT'
15
+
16
+ # spec.files = Dir['lib/**/*']
17
+ spec.files = `git ls-files`.split($/)
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_dependency "cocoapods", ">= 1.5.0"
23
+
24
+ spec.add_development_dependency 'bundler', '~> 1.3'
25
+ spec.add_development_dependency 'rake'
26
+ end
@@ -1,3 +1,3 @@
1
1
  module CocoapodsPodinstallocaldepencencies
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -0,0 +1,12 @@
1
+ require File.expand_path('../../spec_helper', __FILE__)
2
+
3
+ module Pod
4
+ describe Command::Podinstallocaldepencencies do
5
+ describe 'CLAide' do
6
+ it 'registers it self' do
7
+ Command.parse(%w{ podInstalLocalDepencencies }).should.be.instance_of Command::Podinstallocaldepencencies
8
+ end
9
+ end
10
+ end
11
+ end
12
+
@@ -0,0 +1,50 @@
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 'mocha-on-bacon'
9
+ require 'pretty_bacon'
10
+ require 'pathname'
11
+ require 'cocoapods'
12
+
13
+ Mocha::Configuration.prevent(:stubbing_non_existent_method)
14
+
15
+ require 'cocoapods_plugin'
16
+
17
+ #-----------------------------------------------------------------------------#
18
+
19
+ module Pod
20
+
21
+ # Disable the wrapping so the output is deterministic in the tests.
22
+ #
23
+ UI.disable_wrap = true
24
+
25
+ # Redirects the messages to an internal store.
26
+ #
27
+ module UI
28
+ @output = ''
29
+ @warnings = ''
30
+
31
+ class << self
32
+ attr_accessor :output
33
+ attr_accessor :warnings
34
+
35
+ def puts(message = '')
36
+ @output << "#{message}\n"
37
+ end
38
+
39
+ def warn(message = '', actions = [])
40
+ @warnings << "#{message}\n"
41
+ end
42
+
43
+ def print(message)
44
+ @output << message
45
+ end
46
+ end
47
+ end
48
+ end
49
+
50
+ #-----------------------------------------------------------------------------#
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-podInstalLocalDepencencies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leo Valentim
@@ -59,6 +59,12 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - ".gitignore"
63
+ - Gemfile
64
+ - LICENSE.txt
65
+ - README.md
66
+ - Rakefile
67
+ - cocoapods-podInstalLocalDepencencies.gemspec
62
68
  - lib/cocoapods-podInstalLocalDepencencies.rb
63
69
  - lib/cocoapods-podInstalLocalDepencencies/command.rb
64
70
  - lib/cocoapods-podInstalLocalDepencencies/command/podInstalLocalDepencencies.rb
@@ -66,6 +72,8 @@ files:
66
72
  - lib/cocoapods-podInstalLocalDepencencies/installer_local_dependencies.rb
67
73
  - lib/cocoapods-podInstalLocalDepencencies/podInstalLocalDepencencies-preconfigDependencies.rb
68
74
  - lib/cocoapods_plugin.rb
75
+ - spec/command/podInstalLocalDepencencies_spec.rb
76
+ - spec/spec_helper.rb
69
77
  homepage: https://github.com/LeoValentim/Pod-Install-Local-Dependencies
70
78
  licenses:
71
79
  - MIT
@@ -91,4 +99,6 @@ signing_key:
91
99
  specification_version: 4
92
100
  summary: Cocoapods-podInstalLocalDepencencies manages your local dependencies that
93
101
  are referenced in your Podfile with a :path(Local path) defined.
94
- test_files: []
102
+ test_files:
103
+ - spec/command/podInstalLocalDepencencies_spec.rb
104
+ - spec/spec_helper.rb