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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45869d76f840f92b91e34ca2f53ee638a9e3ac80
4
- data.tar.gz: 3fca5b3f8cbad57e60b0a8751af8e018c3ca5cfb
3
+ metadata.gz: b4ba2aa98955128a3309599ee2709dbba0d02cef
4
+ data.tar.gz: dacad0990dfb4f5b7d7f8b3ba6160b2c7cf6831e
5
5
  SHA512:
6
- metadata.gz: 50f15d03f7ad1516effbf92e4ba32bb56e70bfc605074842d9a61328fe6898523d3590cea9fad54058d49ca4d0c869652a0b7a874071af35252de11be5e92bb1
7
- data.tar.gz: 6058085eb572e596ffa5caf48bbddfb8b87edcc4f9ef83b751d16489d0164773a4eac7493b151f9b379635fb5cf3b95baddddae74c554f62f2bc3536e6e7f275
6
+ metadata.gz: e789c3d1d3e4e273fca86fe66e12f2c0ec8b030eb22fb784d42b13d1ba4ec575d1a385513ad52e1662454def2ebd9f1ed9c4f49169d6a09d95fe861de2bdff0f
7
+ data.tar.gz: eb7ae7e1a5b38638d86f6a0088b3ae8149f4aed46f7b7386ff37feedf90bf4696231ea713a568ddb6da32a15722275a648ccee689b7f5905602bd8b32bc6659c
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  gem 'json', '1.7.7'
7
- gem 'rest'
7
+ gem 'rest-client'
8
8
 
9
9
  group :development do
10
10
  gem 'cocoapods'
data/Gemfile.lock CHANGED
@@ -1,7 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-thumbs (0.1.0)
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
@@ -18,4 +18,5 @@ Gem::Specification.new do |spec|
18
18
 
19
19
  spec.add_development_dependency "bundler", "~> 1.3"
20
20
  spec.add_development_dependency "rake"
21
+ spec.add_runtime_dependency "rest-client"
21
22
  end
@@ -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
- @rest = Rest::Client.new
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
 
@@ -1,3 +1,3 @@
1
1
  module CocoapodsThumbs
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -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/pbendersky/thumbs/raw/master/list.json"
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.2
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: []