cocoapods-try 0.4.2 → 0.4.3
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/.rubocop.yml +1 -1
- data/{.rubocop-cocoapods.yml → .rubocop_cocoapods.yml} +28 -3
- data/CHANGELOG.md +8 -1
- data/lib/cocoapods_try.rb +1 -1
- data/lib/pod/command/try.rb +2 -5
- data/rubocop-todo.yml +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c8a87967a6f66b27e9f2669ad181098962b66df3
|
|
4
|
+
data.tar.gz: f6b80c49e5648cf6f4c1b39ba427063ec9151b42
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44c151e2215b6911883027e6d1278ead08dcf654e11da5194013d16d752f826c98431aa1d6aeeb08016b57e8f23728fea5d75c94b31faec841ff66a25d02f1a0
|
|
7
|
+
data.tar.gz: bbf697a072d44d878b094d30542b4c3924ec42f685041b33a9469d8b6cb11cfb7e6f702cfd02938d0ef59d311de1bd2ee4af9bb6862444226d60f2aa5e3ee4ad
|
data/.rubocop.yml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
AllCops:
|
|
2
2
|
Include:
|
|
3
|
-
- Rakefile
|
|
4
|
-
- Gemfile
|
|
3
|
+
- ./Rakefile
|
|
4
|
+
- ./Gemfile
|
|
5
5
|
- ./*.gemspec
|
|
6
6
|
Exclude:
|
|
7
|
-
- spec/fixtures/**/*
|
|
7
|
+
- ./spec/fixtures/**/*
|
|
8
8
|
|
|
9
9
|
# At the moment not ready to be used
|
|
10
10
|
# https://github.com/bbatsov/rubocop/issues/947
|
|
@@ -42,6 +42,9 @@ Encoding:
|
|
|
42
42
|
TrailingComma:
|
|
43
43
|
EnforcedStyleForMultiline: comma
|
|
44
44
|
|
|
45
|
+
Style/MultilineOperationIndentation:
|
|
46
|
+
EnforcedStyle: indented
|
|
47
|
+
|
|
45
48
|
# Clashes with CLAide Command#validate!
|
|
46
49
|
GuardClause:
|
|
47
50
|
Enabled: false
|
|
@@ -50,6 +53,25 @@ GuardClause:
|
|
|
50
53
|
Next:
|
|
51
54
|
Enabled: false
|
|
52
55
|
|
|
56
|
+
# Arbitrary max lengths for classes simply do not work and enabling this will
|
|
57
|
+
# lead to a never ending stream of annoyance and changes.
|
|
58
|
+
Metrics/ClassLength:
|
|
59
|
+
Enabled: false
|
|
60
|
+
|
|
61
|
+
# No enforced convention here.
|
|
62
|
+
Metrics/BlockNesting:
|
|
63
|
+
Enabled: false
|
|
64
|
+
|
|
65
|
+
# It will be obvious which code is complex, Rubocop should only lint simple
|
|
66
|
+
# rules for us.
|
|
67
|
+
Metrics/AbcSize:
|
|
68
|
+
Enabled: false
|
|
69
|
+
|
|
70
|
+
# It will be obvious which code is complex, Rubocop should only lint simple
|
|
71
|
+
# rules for us.
|
|
72
|
+
Metrics/CyclomaticComplexity:
|
|
73
|
+
Enabled: false
|
|
74
|
+
|
|
53
75
|
#- CocoaPods support for Ruby 1.8.7 ------------------------------------------#
|
|
54
76
|
|
|
55
77
|
HashSyntax:
|
|
@@ -64,6 +86,9 @@ DotPosition:
|
|
|
64
86
|
EachWithObject:
|
|
65
87
|
Enabled: false
|
|
66
88
|
|
|
89
|
+
Style/SpecialGlobalVars:
|
|
90
|
+
Enabled: false
|
|
91
|
+
|
|
67
92
|
#- CocoaPods specs -----------------------------------------------------------#
|
|
68
93
|
|
|
69
94
|
# Allow for `should.match /regexp/`.
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Cocoapods::Try Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.3
|
|
4
|
+
|
|
5
|
+
##### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* Ensure that the master repo is setup on try.
|
|
8
|
+
[Daniel Tomlinson](https://github.com/DanielTomlinson)
|
|
9
|
+
[CocoaPods/CocoaPods#2563](https://github.com/CocoaPods/CocoaPods/pull/2563)
|
|
10
|
+
|
|
3
11
|
## 0.4.2
|
|
4
12
|
|
|
5
13
|
* Prefer projects or workspaces with the name including Sample over others.
|
|
@@ -10,7 +18,6 @@
|
|
|
10
18
|
* Add `--no-repo-update` option.
|
|
11
19
|
[Eloy Durán](https://github.com/alloy)
|
|
12
20
|
|
|
13
|
-
|
|
14
21
|
## 0.4.0
|
|
15
22
|
|
|
16
23
|
### Enhancements
|
data/lib/cocoapods_try.rb
CHANGED
data/lib/pod/command/try.rb
CHANGED
|
@@ -34,6 +34,7 @@ module Pod
|
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
def run
|
|
37
|
+
ensure_master_spec_repo_exists!
|
|
37
38
|
sandbox = Sandbox.new(TRY_TMP_DIR)
|
|
38
39
|
if git_url?(@name)
|
|
39
40
|
spec = spec_with_url(@name)
|
|
@@ -246,11 +247,7 @@ module Pod
|
|
|
246
247
|
#
|
|
247
248
|
def git_url?(name)
|
|
248
249
|
prefixes = ['https://', 'http://']
|
|
249
|
-
|
|
250
|
-
true
|
|
251
|
-
else
|
|
252
|
-
false
|
|
253
|
-
end
|
|
250
|
+
prefixes.any? { |prefix| name.start_with?(prefix) }
|
|
254
251
|
end
|
|
255
252
|
|
|
256
253
|
# @return [Array<String>] The list of the workspaces and projects in a
|
data/rubocop-todo.yml
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.3
|
|
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-
|
|
11
|
+
date: 2014-12-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -45,8 +45,8 @@ extensions: []
|
|
|
45
45
|
extra_rdoc_files: []
|
|
46
46
|
files:
|
|
47
47
|
- .gitignore
|
|
48
|
-
- .rubocop-cocoapods.yml
|
|
49
48
|
- .rubocop.yml
|
|
49
|
+
- .rubocop_cocoapods.yml
|
|
50
50
|
- .travis.yml
|
|
51
51
|
- CHANGELOG.md
|
|
52
52
|
- Gemfile
|