cocoapods-thumbs 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +15 -2
- data/cocoapods-thumbs.gemspec +1 -0
- data/lib/cocoapods-thumbs/command/thumbs.rb +2 -3
- data/lib/cocoapods-thumbs/gem_version.rb +1 -1
- data/spec/command/thumbs/server_spec.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4ba2aa98955128a3309599ee2709dbba0d02cef
|
4
|
+
data.tar.gz: dacad0990dfb4f5b7d7f8b3ba6160b2c7cf6831e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e789c3d1d3e4e273fca86fe66e12f2c0ec8b030eb22fb784d42b13d1ba4ec575d1a385513ad52e1662454def2ebd9f1ed9c4f49169d6a09d95fe861de2bdff0f
|
7
|
+
data.tar.gz: eb7ae7e1a5b38638d86f6a0088b3ae8149f4aed46f7b7386ff37feedf90bf4696231ea713a568ddb6da32a15722275a648ccee689b7f5905602bd8b32bc6659c
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cocoapods-thumbs (0.1.
|
4
|
+
cocoapods-thumbs (0.1.3)
|
5
|
+
rest (~> 3.0)
|
5
6
|
|
6
7
|
GEM
|
7
8
|
remote: https://rubygems.org/
|
@@ -42,11 +43,16 @@ GEM
|
|
42
43
|
simplecov (>= 0.7.1, < 1.0.0)
|
43
44
|
colored (1.2)
|
44
45
|
docile (1.1.5)
|
46
|
+
domain_name (0.5.24)
|
47
|
+
unf (>= 0.0.5, < 1.0.0)
|
45
48
|
escape (0.0.4)
|
46
49
|
fuzzy_match (2.0.4)
|
50
|
+
http-cookie (1.0.2)
|
51
|
+
domain_name (~> 0.5)
|
47
52
|
i18n (0.7.0)
|
48
53
|
json (1.7.7)
|
49
54
|
metaclass (0.0.4)
|
55
|
+
mime-types (2.5)
|
50
56
|
minitest (5.6.1)
|
51
57
|
mocha (1.1.0)
|
52
58
|
metaclass (~> 0.0.1)
|
@@ -63,6 +69,10 @@ GEM
|
|
63
69
|
rest (3.0.6)
|
64
70
|
net-http-persistent (>= 2.9.1)
|
65
71
|
netrc
|
72
|
+
rest-client (1.8.0)
|
73
|
+
http-cookie (>= 1.0.2, < 2.0)
|
74
|
+
mime-types (>= 1.16, < 3.0)
|
75
|
+
netrc (~> 0.7)
|
66
76
|
simplecov (0.9.2)
|
67
77
|
docile (~> 1.1.0)
|
68
78
|
multi_json (~> 1.0)
|
@@ -71,6 +81,9 @@ GEM
|
|
71
81
|
thread_safe (0.3.5)
|
72
82
|
tzinfo (1.2.2)
|
73
83
|
thread_safe (~> 0.1)
|
84
|
+
unf (0.1.4)
|
85
|
+
unf_ext
|
86
|
+
unf_ext (0.0.7.1)
|
74
87
|
xcodeproj (0.24.1)
|
75
88
|
activesupport (>= 3)
|
76
89
|
colored (~> 1.2)
|
@@ -89,4 +102,4 @@ DEPENDENCIES
|
|
89
102
|
mocha-on-bacon
|
90
103
|
prettybacon
|
91
104
|
rake
|
92
|
-
rest
|
105
|
+
rest-client
|
data/cocoapods-thumbs.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'yaml'
|
2
|
-
require 'rest'
|
2
|
+
require 'rest-client'
|
3
3
|
|
4
4
|
require 'cocoapods-thumbs/voted_dependency'
|
5
5
|
require 'cocoapods-thumbs/votes_list'
|
@@ -61,8 +61,7 @@ module Pod
|
|
61
61
|
|
62
62
|
def run
|
63
63
|
@configuration = Pod::Thumbs::Configuration.load
|
64
|
-
@
|
65
|
-
@votes_list = Pod::Thumbs::VotesList.new(@rest.get(@configuration[:url]).body)
|
64
|
+
@votes_list = Pod::Thumbs::VotesList.new(RestClient.get(@configuration[:url]).body)
|
66
65
|
|
67
66
|
configure_sandbox_and_podfile
|
68
67
|
|
@@ -14,7 +14,7 @@ module Pod
|
|
14
14
|
end
|
15
15
|
|
16
16
|
it "should set the new URL for the server and print it back to the user" do
|
17
|
-
test_server = "https://github.com/
|
17
|
+
test_server = "https://github.com/quadion/thumbs/raw/master/list.json"
|
18
18
|
command = Command.parse(%W( thumbs server #{test_server} ))
|
19
19
|
lambda { command.validate! }.should.not.raise CLAide::Help
|
20
20
|
command.run
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-thumbs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pablo Bendersky
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rest-client
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
description:
|
42
56
|
email:
|
43
57
|
executables: []
|