cocoapods-repo-hg 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile +7 -1
- data/README.md +6 -3
- data/lib/pod/command/repo_hg.rb +13 -4
- data/lib/repo_hg_ext/version.rb +1 -1
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df8fb068d40c35529d8f06dfc079c9ed3af32618
|
4
|
+
data.tar.gz: 643ee17ae324c6a5a4d288cc60bfb390d2e0e655
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83dff43f404490e0e79245081b6a79fc2b33499704169e8cfcb73c5305a234971fc340bfb0b845fa0120c5d88015a46d6fddf3aa4ae306849e8aa8b28b838063
|
7
|
+
data.tar.gz: 8a2812f0ee14d2656122de79eb9d453fdbd06c977526ea8f539c1fd16706265e1796a5e20e58a6f4e57917e1e588f21c378aae537da087dbea5ac08fd2a08f52
|
data/CHANGELOG.md
ADDED
data/Gemfile
CHANGED
@@ -1,3 +1,9 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gemspec
|
3
|
+
gemspec
|
4
|
+
|
5
|
+
group :development do
|
6
|
+
gem 'cocoapods', :git => 'https://github.com/CocoaPods/CocoaPods.git', :branch => 'master'
|
7
|
+
gem 'cocoapods-core', :git => 'https://github.com/CocoaPods/Core.git', :branch => 'master'
|
8
|
+
gem 'claide', :git => 'https://github.com/CocoaPods/CLAide.git', :branch => 'master'
|
9
|
+
end
|
data/README.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/cocoapods-repo-hg.svg)](http://badge.fury.io/rb/cocoapods-repo-hg)
|
2
|
+
[![Code Climate](https://codeclimate.com/github/clarkda/cocoapods-repo-hg/badges/gpa.svg)](https://codeclimate.com/github/clarkda/cocoapods-repo-hg)
|
3
|
+
|
1
4
|
# Cocoapods::RepoHg
|
2
5
|
|
3
6
|
Adds mercurial support to manage spec-repositories
|
@@ -14,15 +17,15 @@ Our team had been using a in house fork of Cocoapods with svn, bzr, and hg spec-
|
|
14
17
|
|
15
18
|
Add
|
16
19
|
|
17
|
-
$ pod repo-hg add
|
20
|
+
$ pod repo-hg add NAME REPO
|
18
21
|
|
19
22
|
Update
|
20
23
|
|
21
|
-
$ pod repo-hg update
|
24
|
+
$ pod repo-hg update NAME
|
22
25
|
|
23
26
|
Remove
|
24
27
|
|
25
|
-
$ pod repo-hg remove
|
28
|
+
$ pod repo-hg remove NAME
|
26
29
|
|
27
30
|
|
28
31
|
## Contributing
|
data/lib/pod/command/repo_hg.rb
CHANGED
@@ -15,7 +15,10 @@ module Pod
|
|
15
15
|
remote can later be referred to by `NAME`.
|
16
16
|
DESC
|
17
17
|
|
18
|
-
self.arguments =
|
18
|
+
self.arguments = [
|
19
|
+
CLAide::Argument.new('URL', true),
|
20
|
+
CLAide::Argument.new('NAME', true)
|
21
|
+
]
|
19
22
|
|
20
23
|
def initialize(argv)
|
21
24
|
@name, @url = argv.shift_argument, argv.shift_argument
|
@@ -50,7 +53,9 @@ module Pod
|
|
50
53
|
Updates the checked out spec-repo `NAME`.
|
51
54
|
DESC
|
52
55
|
|
53
|
-
self.arguments =
|
56
|
+
self.arguments = [
|
57
|
+
CLAide::Argument.new('NAME', true)
|
58
|
+
]
|
54
59
|
|
55
60
|
def initialize(argv)
|
56
61
|
@name = argv.shift_argument
|
@@ -141,7 +146,9 @@ module Pod
|
|
141
146
|
will lint all the spec-repos known to CocoaPods.
|
142
147
|
DESC
|
143
148
|
|
144
|
-
self.arguments =
|
149
|
+
self.arguments = [
|
150
|
+
CLAide::Argument.new(%w(NAME DIRECTORY), true)
|
151
|
+
]
|
145
152
|
|
146
153
|
def self.options
|
147
154
|
[["--only-errors", "Lint presents only the errors"]].concat(super)
|
@@ -216,7 +223,9 @@ module Pod
|
|
216
223
|
Deletes the checked out copy named `NAME` from the local spec-repos directory at `~/.cocoapods/repos/.`
|
217
224
|
DESC
|
218
225
|
|
219
|
-
self.arguments =
|
226
|
+
self.arguments = [
|
227
|
+
CLAide::Argument.new('NAME', true)
|
228
|
+
]
|
220
229
|
|
221
230
|
def initialize(argv)
|
222
231
|
@name = argv.shift_argument
|
data/lib/repo_hg_ext/version.rb
CHANGED
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-repo-hg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dustin Clark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-07 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: CocoaPod plugin to add mercurial support for spec repositories
|
@@ -45,7 +45,8 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
-
|
48
|
+
- .gitignore
|
49
|
+
- CHANGELOG.md
|
49
50
|
- Gemfile
|
50
51
|
- LICENSE
|
51
52
|
- README.md
|
@@ -65,17 +66,17 @@ require_paths:
|
|
65
66
|
- lib
|
66
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
67
68
|
requirements:
|
68
|
-
- -
|
69
|
+
- - '>='
|
69
70
|
- !ruby/object:Gem::Version
|
70
71
|
version: '0'
|
71
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
73
|
requirements:
|
73
|
-
- -
|
74
|
+
- - '>='
|
74
75
|
- !ruby/object:Gem::Version
|
75
76
|
version: '0'
|
76
77
|
requirements: []
|
77
78
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.2.
|
79
|
+
rubygems_version: 2.2.2
|
79
80
|
signing_key:
|
80
81
|
specification_version: 4
|
81
82
|
summary: mercurial support for spec repository
|