cocoapods-try 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b51ea23e186a37cbce531b84d2ecba8ff8539d5a
4
- data.tar.gz: f1030304ad8dd56d1e665cf9f8500566859b1643
3
+ metadata.gz: 5b3836255248b6d6e394b2413944f4c02f0f12ee
4
+ data.tar.gz: 487bbea75e86f4220687ab8300f414edb0ea098a
5
5
  SHA512:
6
- metadata.gz: fdbb91ec2e60cddc9c1ee3752e4d8643e271a379b7200ee7fafd7ec4643cd2b091d72f245dc656f5ef290ea605fc0d039522c0f80bf2ba44a821768f070a9b31
7
- data.tar.gz: 08809c82a18f49b757b11b3a60c9a3e8a03766a26b25711bd8828b5387e49c135c256345196242004796505add33e4d2ad0cd8e48d41714635269c6d13da9c27
6
+ metadata.gz: 52c607495832084966a11d666b18cb9865d39120aeecd6ad18b3ba15bbecef03ac1eacdfddc5680d929a38e6b7f11d458765299edbe6d97432d8693294ad0448
7
+ data.tar.gz: 26b8e6454eb01e95ce0fcbe0afba4f41c015d46e5ae05a3dca1cba78eee6408341054887244facd061bea43735a4e1da6b99674a85ca88e12a43f25d779cbb87
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Cocoapods::Try Changelog
2
2
 
3
+ ## 0.4.2
4
+
5
+ * Prefer projects or workspaces with the name including Sample over others.
6
+ [Kyle Fuller](https://github.com/kylef)
7
+
3
8
  ## 0.4.1
4
9
 
5
10
  * Add `--no-repo-update` option.
data/lib/cocoapods_try.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # The namespace of the Cocoapods try plugin.
3
3
  #
4
4
  module CocoapodsTry
5
- VERSION = '0.4.1'
5
+ VERSION = '0.4.2'
6
6
  end
@@ -137,9 +137,9 @@ module Pod
137
137
  " of the Pod: `#{dir}`"
138
138
  elsif projs.count == 1
139
139
  projs.first
140
- elsif (workspaces = projs.grep(/(demo|example).*\.xcworkspace$/i)).count == 1
140
+ elsif (workspaces = projs.grep(/(demo|example|sample).*\.xcworkspace$/i)).count == 1
141
141
  workspaces.first
142
- elsif (projects = projs.grep(/demo|example/i)).count == 1
142
+ elsif (projects = projs.grep(/demo|example|sample/i)).count == 1
143
143
  projects.first
144
144
  else
145
145
  message = 'Which project would you like to open'
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-try
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabio Pelosin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-26 00:00:00.000000000 Z
11
+ date: 2014-10-29 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:
@@ -44,10 +44,10 @@ executables: []
44
44
  extensions: []
45
45
  extra_rdoc_files: []
46
46
  files:
47
- - ".gitignore"
48
- - ".rubocop-cocoapods.yml"
49
- - ".rubocop.yml"
50
- - ".travis.yml"
47
+ - .gitignore
48
+ - .rubocop-cocoapods.yml
49
+ - .rubocop.yml
50
+ - .travis.yml
51
51
  - CHANGELOG.md
52
52
  - Gemfile
53
53
  - LICENSE
@@ -70,21 +70,20 @@ require_paths:
70
70
  - lib
71
71
  required_ruby_version: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
- - - ">="
78
+ - - '>='
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  requirements: []
82
82
  rubyforge_project:
83
- rubygems_version: 2.2.2
83
+ rubygems_version: 2.0.14
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: CocoaPods plugin which allows to quickly try the demo project of a Pod.
87
87
  test_files:
88
88
  - spec/command/try_spec.rb
89
89
  - spec/spec_helper.rb
90
- has_rdoc: