cocoapods-sorted-search 0.2.3 → 0.2.4

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: c3097acfd47402f9b89311d0536667730150e437
4
- data.tar.gz: d95de16593b0e8944e134ba3c586422b7d19d299
3
+ metadata.gz: 3e343454c6c5a6cba557317bccdb02d186634ee6
4
+ data.tar.gz: 6e91db636bed1f3b102ad1bd01c9d0ea4bc72fda
5
5
  SHA512:
6
- metadata.gz: d36a73d6cc97d9a58051c99ec6172e796975835b19f68771e492c869a14bd13135689c9a1fd80fe0d99b9142c6aa505e55270a6b47fa1a9ca132c3e87b475ef8
7
- data.tar.gz: 11f8a4f76a4d8378e4f98542640eeefe08c66652b85ecb25a9a96a5c0291e98cb56589e0deec2e318cb1933999f43f0817ebdcc3836fbdfd16d354145e4b9988
6
+ metadata.gz: 37db04796bbf6fafba8157b061192b765fa0ec83e5b9a4a2274631d91f6060f43e53ca4275de95b7b6ee0f3af21fb5e6f7759701625522db35d84c63cc20274e
7
+ data.tar.gz: bb719634482763fcae3808066612650a8c40194c3dc7a2428560383923924f2ecc1d2a44eee9da2d09ecb013db5e4f863470a48bedc4153eee4809ac01452928
data/Gemfile CHANGED
@@ -4,6 +4,6 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
 
6
6
  group :development do
7
- gem 'cocoapods'
8
- gem 'rubocop'
7
+ gem 'cocoapods', '0.36.0.beta.1'
8
+ gem 'rubocop', '0.20.1'
9
9
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-sorted-search (0.2.3)
4
+ cocoapods-sorted-search (0.2.4)
5
5
  cocoapods (>= 0.28)
6
6
  hashie
7
7
  osx_keychain
@@ -11,82 +11,99 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- RubyInline (3.12.2)
14
+ RubyInline (3.12.3)
15
15
  ZenTest (~> 4.3)
16
- ZenTest (4.9.5)
17
- activesupport (3.2.17)
18
- i18n (~> 0.6, >= 0.6.4)
19
- multi_json (~> 1.0)
16
+ ZenTest (4.11.0)
17
+ activesupport (4.2.0)
18
+ i18n (~> 0.7)
19
+ json (~> 1.7, >= 1.7.7)
20
+ minitest (~> 5.1)
21
+ thread_safe (~> 0.3, >= 0.3.4)
22
+ tzinfo (~> 1.1)
20
23
  addressable (2.3.6)
21
- ast (1.1.0)
22
- claide (0.5.0)
23
- cocoapods (0.32.1)
24
- activesupport (>= 3.2.15, < 4)
25
- claide (~> 0.5.0)
26
- cocoapods-core (= 0.32.1)
27
- cocoapods-downloader (~> 0.5.0)
28
- cocoapods-try (~> 0.2.0)
24
+ ast (2.0.0)
25
+ claide (0.8.0)
26
+ cocoapods (0.36.0.beta.1)
27
+ activesupport (>= 3.2.15)
28
+ claide (~> 0.8.0)
29
+ cocoapods-core (= 0.36.0.beta.1)
30
+ cocoapods-downloader (~> 0.8.1)
31
+ cocoapods-plugins (~> 0.4.0)
32
+ cocoapods-trunk (~> 0.5.0)
33
+ cocoapods-try (~> 0.4.3)
29
34
  colored (~> 1.2)
30
35
  escape (~> 0.0.4)
31
- json_pure (~> 1.8)
32
- nap (~> 0.7)
36
+ molinillo (~> 0.2.0)
37
+ nap (~> 0.8)
33
38
  open4 (~> 1.3)
34
- xcodeproj (~> 0.16.1)
35
- cocoapods-core (0.32.1)
36
- activesupport (>= 3.2.15, < 4)
39
+ xcodeproj (~> 0.21.0)
40
+ cocoapods-core (0.36.0.beta.1)
41
+ activesupport (>= 3.2.15)
37
42
  fuzzy_match (~> 2.0.4)
38
- json_pure (~> 1.8)
39
- nap (~> 0.5)
40
- cocoapods-downloader (0.5.0)
41
- cocoapods-try (0.2.0)
43
+ nap (~> 0.8.0)
44
+ cocoapods-downloader (0.8.1)
45
+ cocoapods-plugins (0.4.0)
46
+ nap
47
+ cocoapods-trunk (0.5.0)
48
+ nap (>= 0.8)
49
+ netrc (= 0.7.8)
50
+ cocoapods-try (0.4.3)
42
51
  colored (1.2)
43
52
  crack (0.4.2)
44
53
  safe_yaml (~> 1.0.0)
45
54
  diff-lcs (1.2.5)
46
55
  escape (0.0.4)
47
- ethon (0.7.0)
56
+ ethon (0.7.2)
48
57
  ffi (>= 1.3.0)
49
- ffi (1.9.3)
58
+ ffi (1.9.6)
50
59
  fuzzy_match (2.0.4)
51
- hashie (2.1.1)
52
- i18n (0.6.9)
53
- json (1.8.1)
54
- json_pure (1.8.1)
55
- multi_json (1.9.2)
56
- nap (0.7.0)
57
- open4 (1.3.3)
60
+ hashie (3.3.2)
61
+ i18n (0.7.0)
62
+ json (1.8.2)
63
+ minitest (5.5.1)
64
+ molinillo (0.2.0)
65
+ nap (0.8.0)
66
+ netrc (0.7.8)
67
+ open4 (1.3.4)
58
68
  osx_keychain (1.0.0)
59
69
  RubyInline (~> 3)
60
- parser (2.1.8)
61
- ast (~> 1.1)
70
+ parser (2.1.9)
71
+ ast (>= 1.1, < 3.0)
62
72
  slop (~> 3.4, >= 3.4.5)
63
73
  powerpack (0.0.9)
64
74
  rainbow (2.0.0)
65
- rake (10.3.1)
66
- rspec (2.14.1)
67
- rspec-core (~> 2.14.0)
68
- rspec-expectations (~> 2.14.0)
69
- rspec-mocks (~> 2.14.0)
70
- rspec-core (2.14.8)
71
- rspec-expectations (2.14.5)
72
- diff-lcs (>= 1.1.3, < 2.0)
73
- rspec-mocks (2.14.6)
75
+ rake (10.4.2)
76
+ rspec (3.1.0)
77
+ rspec-core (~> 3.1.0)
78
+ rspec-expectations (~> 3.1.0)
79
+ rspec-mocks (~> 3.1.0)
80
+ rspec-core (3.1.7)
81
+ rspec-support (~> 3.1.0)
82
+ rspec-expectations (3.1.2)
83
+ diff-lcs (>= 1.2.0, < 2.0)
84
+ rspec-support (~> 3.1.0)
85
+ rspec-mocks (3.1.3)
86
+ rspec-support (~> 3.1.0)
87
+ rspec-support (3.1.2)
74
88
  rubocop (0.20.1)
75
89
  json (>= 1.7.7, < 2)
76
90
  parser (~> 2.1.7)
77
91
  powerpack (~> 0.0.6)
78
92
  rainbow (>= 1.99.1, < 3.0)
79
93
  ruby-progressbar (~> 1.4)
80
- ruby-progressbar (1.4.2)
81
- safe_yaml (1.0.2)
82
- slop (3.5.0)
83
- typhoeus (0.6.8)
84
- ethon (>= 0.7.0)
85
- webmock (1.17.4)
86
- addressable (>= 2.2.7)
94
+ ruby-progressbar (1.7.1)
95
+ safe_yaml (1.0.4)
96
+ slop (3.6.0)
97
+ thread_safe (0.3.4)
98
+ typhoeus (0.7.0)
99
+ ethon (>= 0.7.1)
100
+ tzinfo (1.2.2)
101
+ thread_safe (~> 0.1)
102
+ webmock (1.20.4)
103
+ addressable (>= 2.3.6)
87
104
  crack (>= 0.3.2)
88
- xcodeproj (0.16.1)
89
- activesupport (~> 3.0)
105
+ xcodeproj (0.21.0)
106
+ activesupport (>= 3)
90
107
  colored (~> 1.2)
91
108
 
92
109
  PLATFORMS
@@ -94,9 +111,9 @@ PLATFORMS
94
111
 
95
112
  DEPENDENCIES
96
113
  bundler
97
- cocoapods
114
+ cocoapods (= 0.36.0.beta.1)
98
115
  cocoapods-sorted-search!
99
116
  rake
100
117
  rspec
101
- rubocop
118
+ rubocop (= 0.20.1)
102
119
  webmock
data/Rakefile CHANGED
@@ -31,7 +31,7 @@ end
31
31
  desc 'Checks code style'
32
32
  task :rubocop do
33
33
  require 'rubocop'
34
- cli = Rubocop::CLI.new
34
+ cli = RuboCop::CLI.new
35
35
  result = cli.run(FileList['{spec,lib}/**/*.rb'])
36
36
  abort('RuboCop failed!') unless result == 0
37
37
  end
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "cocoapods-sorted-search"
8
- spec.version = '0.2.3'
8
+ spec.version = '0.2.4'
9
9
  spec.authors = ["Denys Telezhkin"]
10
10
  spec.email = ["strangervir@gmail.com"]
11
11
  spec.summary = %q{CocoaPods plugin for sorted searching amongst CocoaPods.}
Binary file
@@ -1,6 +1,5 @@
1
1
  require 'cocoapods'
2
2
  require 'sorted_search/printers/pods_printer'
3
- require 'sorted_search/providers/cocoapods_provider'
4
3
  require 'sorted_search/credentials'
5
4
  require 'sorted_search/providers/github_provider'
6
5
  require 'sorted_search/printers/github_printer'
@@ -33,14 +32,8 @@ module Pod
33
32
  @sorting_criteria = :stars
34
33
  end
35
34
 
36
- if SortedSearch::Credentials.token
37
- @provider_klass = SortedSearch::GithubProvider
38
- @printer_klass = SortedSearch::GitHubPrinter
39
- else
40
- UI.warn "Using anonymous requests. GitHub rate limit 60 requests per hour."
41
- @provider_klass = SortedSearch::CocoapodsProvider
42
- @printer_klass = SortedSearch::CocoapodsPrinter
43
- end
35
+ @provider_klass = SortedSearch::GithubProvider
36
+ @printer_klass = SortedSearch::GitHubPrinter
44
37
 
45
38
  end
46
39
 
@@ -31,8 +31,7 @@ module SortedSearch
31
31
  end
32
32
 
33
33
  def pod_from_spec(spec)
34
- statistics_provider = Pod::Config.instance.spec_statistics_provider
35
- Pod::Specification::Set::Presenter.new(spec, statistics_provider)
34
+ Pod::Specification::Set::Presenter.new(spec)
36
35
  end
37
36
  end
38
37
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-sorted-search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denys Telezhkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-01 00:00:00.000000000 Z
11
+ date: 2015-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods