cocoapods-search 1.0.0.beta.1 → 1.0.0.beta.2

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: 0198d41884a61de7016672ff216b88f0d33fe4db
4
- data.tar.gz: f94a2140642899f157698f24e55eb87e1fdcd152
3
+ metadata.gz: 13b6b32ffb12f6d24b55d81240d27b2d73c6e32f
4
+ data.tar.gz: a8c2f746a8866f6fa2b821c482990fd85c9ab4da
5
5
  SHA512:
6
- metadata.gz: 7b58ee34881df2bf3b021035e03afebdfedf7087e4dd046f4141f0f0ea95e18217b603f0051e15d190efea41798b9f2a0080825f47af18aa8e336e966160e974
7
- data.tar.gz: 180202787917d8ee404a2578034f93ad1462778f20775037e6a48cd8fe7913f19674b5236a74fe1c8bdef07b04ae177d101cc490c1f70236e123bc90563a554d
6
+ metadata.gz: 246e3cb1e7503a3dbd97860d92746e07f98ae4cd61ecbfe13526b1956dd9dd611eeb52c6319a4e1da1ed1502745e5b9903b883fd2528138e5de3e8da87a0a8d5
7
+ data.tar.gz: d57b06febd8e8e9e7fae7077ce2745e9e08f772b2e5268d5e83c6f612e631c808c4e3caa4bea96ce0b76d6e53ddb0bd7c862f67429bfe04fc2183e0afa71ba3f
@@ -1,5 +1,13 @@
1
1
  # Cocoapods::Search Changelog
2
2
 
3
+ ## 1.0.0.beta.2 (2016-04-14)
4
+
5
+ ##### Bug Fixes
6
+
7
+ * Compatibility with CocoaPods 1.0.0.beta.7.
8
+ [Samuel Giddins](https://github.com/segiddins)
9
+
10
+
3
11
  ## 1.0.0.beta.1 (2015-12-30)
4
12
 
5
13
  ##### Enhancements
@@ -1,30 +1,32 @@
1
1
  GIT
2
2
  remote: https://github.com/CocoaPods/CocoaPods.git
3
- revision: 6c64eeb69443d9ab18081ad330a134cfb0e46169
3
+ revision: 6d77bb4884bf7a5a24909a26f9434ae17dfa558a
4
4
  branch: master
5
5
  specs:
6
- cocoapods (0.39.0)
6
+ cocoapods (1.0.0.beta.6)
7
7
  activesupport (>= 4.0.2)
8
- claide (~> 0.9.1)
9
- cocoapods-core (= 0.39.0)
10
- cocoapods-downloader (~> 0.9.3)
11
- cocoapods-plugins (~> 0.4.2)
12
- cocoapods-search (~> 1.0.0.beta.1)
13
- cocoapods-stats (~> 0.6.2)
14
- cocoapods-trunk (~> 0.6.4)
15
- cocoapods-try (~> 0.5.1)
8
+ claide (>= 1.0.0.beta.3, < 2.0)
9
+ cocoapods-core (= 1.0.0.beta.6)
10
+ cocoapods-deintegrate (>= 1.0.0.beta.1, < 2.0)
11
+ cocoapods-downloader (>= 1.0.0.beta.2, < 2.0)
12
+ cocoapods-plugins (>= 1.0.0.beta.1, < 2.0)
13
+ cocoapods-search (>= 1.0.0.beta.1, < 2.0)
14
+ cocoapods-stats (>= 1.0.0.beta.3, < 2.0)
15
+ cocoapods-trunk (>= 1.0.0.beta.2, < 2.0)
16
+ cocoapods-try (>= 1.0.0.beta.3, < 2.0)
16
17
  colored (~> 1.2)
17
18
  escape (~> 0.0.4)
18
- molinillo (~> 0.4.0)
19
+ fourflusher (~> 0.3.0)
20
+ molinillo (~> 0.4.4)
19
21
  nap (~> 1.0)
20
- xcodeproj (~> 0.28.2)
22
+ xcodeproj (>= 1.0.0.beta.3, < 2.0)
21
23
 
22
24
  GIT
23
25
  remote: https://github.com/CocoaPods/Core.git
24
- revision: 6c2544496ed201104e712dd95793ec7bc6a171e8
26
+ revision: fff02c11422963e4bce9c2796c00bd9b471d79b7
25
27
  branch: master
26
28
  specs:
27
- cocoapods-core (0.39.0)
29
+ cocoapods-core (1.0.0.beta.6)
28
30
  activesupport (>= 4.0.2)
29
31
  fuzzy_match (~> 2.0.4)
30
32
  nap (~> 1.0)
@@ -32,40 +34,42 @@ GIT
32
34
  PATH
33
35
  remote: .
34
36
  specs:
35
- cocoapods-search (1.0.0.beta.1)
37
+ cocoapods-search (1.0.0.beta.2)
36
38
 
37
39
  GEM
38
40
  remote: https://rubygems.org/
39
41
  specs:
40
- activesupport (4.2.4)
42
+ activesupport (4.2.6)
41
43
  i18n (~> 0.7)
42
44
  json (~> 1.7, >= 1.7.7)
43
45
  minitest (~> 5.1)
44
46
  thread_safe (~> 0.3, >= 0.3.4)
45
47
  tzinfo (~> 1.1)
46
48
  bacon (1.2.0)
47
- claide (0.9.1)
48
- cocoapods-downloader (0.9.3)
49
- cocoapods-plugins (0.4.2)
49
+ claide (1.0.0.beta.3)
50
+ cocoapods-deintegrate (1.0.0.beta.1)
51
+ cocoapods-downloader (1.0.0.beta.2)
52
+ cocoapods-plugins (1.0.0.beta.1)
50
53
  nap
51
- cocoapods-stats (0.6.2)
52
- cocoapods-trunk (0.6.4)
54
+ cocoapods-stats (1.0.0.beta.3)
55
+ cocoapods-trunk (1.0.0.beta.2)
53
56
  nap (>= 0.8, < 2.0)
54
57
  netrc (= 0.7.8)
55
- cocoapods-try (0.5.1)
58
+ cocoapods-try (1.0.0.beta.3)
56
59
  colored (1.2)
57
60
  escape (0.0.4)
61
+ fourflusher (0.3.0)
58
62
  fuzzy_match (2.0.4)
59
63
  i18n (0.7.0)
60
64
  json (1.8.3)
61
65
  metaclass (0.0.4)
62
- minitest (5.7.0)
66
+ minitest (5.8.4)
63
67
  mocha (1.1.0)
64
68
  metaclass (~> 0.0.1)
65
69
  mocha-on-bacon (0.2.2)
66
70
  mocha (>= 0.13.0)
67
- molinillo (0.4.0)
68
- nap (1.0.0)
71
+ molinillo (0.4.4)
72
+ nap (1.1.0)
69
73
  netrc (0.7.8)
70
74
  prettybacon (0.0.2)
71
75
  bacon (~> 1.2)
@@ -73,9 +77,9 @@ GEM
73
77
  thread_safe (0.3.5)
74
78
  tzinfo (1.2.2)
75
79
  thread_safe (~> 0.1)
76
- xcodeproj (0.28.2)
80
+ xcodeproj (1.0.0.beta.3)
77
81
  activesupport (>= 3)
78
- claide (~> 0.9.1)
82
+ claide (>= 1.0.0.beta.1, < 2.0)
79
83
  colored (~> 1.2)
80
84
 
81
85
  PLATFORMS
@@ -1,7 +1,7 @@
1
1
  module Pod
2
2
  class Command
3
3
  class Search < Command
4
- self.summary = 'Search for pods.'
4
+ self.summary = 'Search for pods'
5
5
 
6
6
  self.description = <<-DESC
7
7
  Searches for pods, ignoring case, whose name, summary, description, or authors match `QUERY`. If the
@@ -24,7 +24,7 @@ module Pod
24
24
  end
25
25
  options << ['--no-pager', 'Do not pipe search results into a pager']
26
26
  options.concat(super.reject { |option, _| option == '--silent' })
27
- end
27
+ end
28
28
 
29
29
  def initialize(argv)
30
30
  @use_regex = argv.flag?('regex')
@@ -50,7 +50,7 @@ module Pod
50
50
  rescue RegexpError
51
51
  help! 'A valid regular expression is required.'
52
52
  end
53
- end
53
+ end
54
54
  end
55
55
 
56
56
  def run
@@ -62,6 +62,10 @@ module Pod
62
62
  end
63
63
  end
64
64
 
65
+ def sources_manager
66
+ defined?(Pod::SourcesManager) ? Pod::SourcesManager : config.sources_manager
67
+ end
68
+
65
69
  def web_search
66
70
  queries = @platform_filters.map do |platform|
67
71
  "on:#{platform}"
@@ -78,7 +82,7 @@ module Pod
78
82
  result << (@use_regex ? q : Regexp.escape(q))
79
83
  }.join(' ').strip
80
84
 
81
- sets = SourcesManager.search_by_name(query_regex, !@simple_search)
85
+ sets = sources_manager.search_by_name(query_regex, !@simple_search)
82
86
 
83
87
  @platform_filters.each do |platform|
84
88
  sets.reject! { |set| !set.specification.available_platforms.map(&:name).include?(platform) }
@@ -1,3 +1,3 @@
1
1
  module CocoapodsSearch
2
- VERSION = '1.0.0.beta.1'.freeze
2
+ VERSION = '1.0.0.beta.2'.freeze
3
3
  end
@@ -7,7 +7,7 @@ module Pod
7
7
  before do
8
8
  @test_source = Source.new(fixture('spec-repos/test_repo'))
9
9
  Source::Aggregate.any_instance.stubs(:sources).returns([@test_source])
10
- SourcesManager.updated_search_index = nil
10
+ Config.instance.sources_manager.updated_search_index = nil
11
11
  end
12
12
 
13
13
  describe 'Search' do
@@ -12,7 +12,6 @@ module Bacon
12
12
  c.silent = true
13
13
  c.repos_dir = fixture('spec-repos')
14
14
  c.installation_root = SpecHelper.temporary_directory
15
- c.skip_repo_update = true
16
15
  c.cache_root = SpecHelper.temporary_directory + 'Cache'
17
16
  end
18
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-search
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta.1
4
+ version: 1.0.0.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Durán
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-12-30 00:00:00.000000000 Z
13
+ date: 2016-04-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  version: 1.3.1
99
99
  requirements: []
100
100
  rubyforge_project:
101
- rubygems_version: 2.5.1
101
+ rubygems_version: 2.6.3
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: Searches for pods, ignoring case, whose name matches `QUERY`. If the `--full`