cocoapods-try 0.4.0 → 0.4.1
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/cocoapods_try.rb +1 -1
- data/lib/pod/command/try.rb +7 -0
- data/rubocop-todo.yml +1 -1
- data/spec/command/try_spec.rb +2 -2
- metadata +13 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b51ea23e186a37cbce531b84d2ecba8ff8539d5a
|
|
4
|
+
data.tar.gz: f1030304ad8dd56d1e665cf9f8500566859b1643
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fdbb91ec2e60cddc9c1ee3752e4d8643e271a379b7200ee7fafd7ec4643cd2b091d72f245dc656f5ef290ea605fc0d039522c0f80bf2ba44a821768f070a9b31
|
|
7
|
+
data.tar.gz: 08809c82a18f49b757b11b3a60c9a3e8a03766a26b25711bd8828b5387e49c135c256345196242004796505add33e4d2ad0cd8e48d41714635269c6d13da9c27
|
data/CHANGELOG.md
CHANGED
data/lib/cocoapods_try.rb
CHANGED
data/lib/pod/command/try.rb
CHANGED
|
@@ -16,7 +16,14 @@ module Pod
|
|
|
16
16
|
|
|
17
17
|
self.arguments = [CLAide::Argument.new(%w(NAME URL), true)]
|
|
18
18
|
|
|
19
|
+
def self.options
|
|
20
|
+
[
|
|
21
|
+
['--no-repo-update', 'Skip running `pod repo update` before install'],
|
|
22
|
+
].concat(super)
|
|
23
|
+
end
|
|
24
|
+
|
|
19
25
|
def initialize(argv)
|
|
26
|
+
config.skip_repo_update = !argv.flag?('repo-update', !config.skip_repo_update)
|
|
20
27
|
@name = argv.shift_argument
|
|
21
28
|
super
|
|
22
29
|
end
|
data/rubocop-todo.yml
CHANGED
data/spec/command/try_spec.rb
CHANGED
|
@@ -28,7 +28,7 @@ module Pod
|
|
|
28
28
|
|
|
29
29
|
it 'allows the user to try the Pod with the given Git URL' do
|
|
30
30
|
require 'cocoapods-downloader/git'
|
|
31
|
-
Pod::Downloader::
|
|
31
|
+
Pod::Downloader::Git.any_instance.expects(:download)
|
|
32
32
|
spec_file = '/tmp/CocoaPods/Try/ARAnalytics/ARAnalytics.podspec'
|
|
33
33
|
stub_spec = stub(:name => 'ARAnalytics')
|
|
34
34
|
Pod::Specification.stubs(:from_file).with(Pathname(spec_file)).returns(stub_spec)
|
|
@@ -56,7 +56,7 @@ module Pod
|
|
|
56
56
|
describe '#spec_at_url' do
|
|
57
57
|
it 'returns a spec for an https git repo' do
|
|
58
58
|
require 'cocoapods-downloader/git'
|
|
59
|
-
Pod::Downloader::
|
|
59
|
+
Pod::Downloader::Git.any_instance.expects(:download)
|
|
60
60
|
spec_file = '/tmp/CocoaPods/Try/ARAnalytics/ARAnalytics.podspec'
|
|
61
61
|
stub_spec = stub
|
|
62
62
|
Pod::Specification.stubs(:from_file).with(Pathname(spec_file)).returns(stub_spec)
|
metadata
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-try
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fabio Pelosin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-09-
|
|
11
|
+
date: 2014-09-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - ~>
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.3'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - ~>
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rake
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
description:
|
|
@@ -44,10 +44,10 @@ executables: []
|
|
|
44
44
|
extensions: []
|
|
45
45
|
extra_rdoc_files: []
|
|
46
46
|
files:
|
|
47
|
-
- .gitignore
|
|
48
|
-
- .rubocop-cocoapods.yml
|
|
49
|
-
- .rubocop.yml
|
|
50
|
-
- .travis.yml
|
|
47
|
+
- ".gitignore"
|
|
48
|
+
- ".rubocop-cocoapods.yml"
|
|
49
|
+
- ".rubocop.yml"
|
|
50
|
+
- ".travis.yml"
|
|
51
51
|
- CHANGELOG.md
|
|
52
52
|
- Gemfile
|
|
53
53
|
- LICENSE
|
|
@@ -70,17 +70,17 @@ require_paths:
|
|
|
70
70
|
- lib
|
|
71
71
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- -
|
|
73
|
+
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '0'
|
|
76
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
|
78
|
-
- -
|
|
78
|
+
- - ">="
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
80
|
version: '0'
|
|
81
81
|
requirements: []
|
|
82
82
|
rubyforge_project:
|
|
83
|
-
rubygems_version: 2.
|
|
83
|
+
rubygems_version: 2.2.2
|
|
84
84
|
signing_key:
|
|
85
85
|
specification_version: 4
|
|
86
86
|
summary: CocoaPods plugin which allows to quickly try the demo project of a Pod.
|