cocoapods-try 0.4.0 → 0.4.1

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: 72558761bfd19ca05dd50b4b240b6bc941c21e02
4
- data.tar.gz: 69fa6ff987af60ca26a5b40b0f7bfc27213e811f
3
+ metadata.gz: b51ea23e186a37cbce531b84d2ecba8ff8539d5a
4
+ data.tar.gz: f1030304ad8dd56d1e665cf9f8500566859b1643
5
5
  SHA512:
6
- metadata.gz: 9f9d663777117443d331935098027cde324cdf0cf9c55d0cb0905ff94bcae3b9173d412e8608c6fb1f5a4af935d9408ef97791cc3b4917f0ff98436c59996339
7
- data.tar.gz: 49a0757a1f80eb1eaf93ace8a7cc8a1d92595096697dd69841267c0019fa920e7c61fe96d56250bcd6e39ff058fec649b3fe3d13a805af750d71c97860a90d3c
6
+ metadata.gz: fdbb91ec2e60cddc9c1ee3752e4d8643e271a379b7200ee7fafd7ec4643cd2b091d72f245dc656f5ef290ea605fc0d039522c0f80bf2ba44a821768f070a9b31
7
+ data.tar.gz: 08809c82a18f49b757b11b3a60c9a3e8a03766a26b25711bd8828b5387e49c135c256345196242004796505add33e4d2ad0cd8e48d41714635269c6d13da9c27
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Cocoapods::Try Changelog
2
2
 
3
+ ## 0.4.1
4
+
5
+ * Add `--no-repo-update` option.
6
+ [Eloy Durán](https://github.com/alloy)
7
+
8
+
3
9
  ## 0.4.0
4
10
 
5
11
  ### Enhancements
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.0'
5
+ VERSION = '0.4.1'
6
6
  end
@@ -16,7 +16,14 @@ module Pod
16
16
 
17
17
  self.arguments = [CLAide::Argument.new(%w(NAME URL), true)]
18
18
 
19
+ def self.options
20
+ [
21
+ ['--no-repo-update', 'Skip running `pod repo update` before install'],
22
+ ].concat(super)
23
+ end
24
+
19
25
  def initialize(argv)
26
+ config.skip_repo_update = !argv.flag?('repo-update', !config.skip_repo_update)
20
27
  @name = argv.shift_argument
21
28
  super
22
29
  end
data/rubocop-todo.yml CHANGED
@@ -8,7 +8,7 @@
8
8
  # Offense count: 1
9
9
  # Configuration parameters: CountComments.
10
10
  ClassLength:
11
- Max: 144
11
+ Max: 148
12
12
 
13
13
  # Offense count: 11
14
14
  LineLength:
@@ -28,7 +28,7 @@ module Pod
28
28
 
29
29
  it 'allows the user to try the Pod with the given Git URL' do
30
30
  require 'cocoapods-downloader/git'
31
- Pod::Downloader::GitHub.any_instance.expects(:download)
31
+ Pod::Downloader::Git.any_instance.expects(:download)
32
32
  spec_file = '/tmp/CocoaPods/Try/ARAnalytics/ARAnalytics.podspec'
33
33
  stub_spec = stub(:name => 'ARAnalytics')
34
34
  Pod::Specification.stubs(:from_file).with(Pathname(spec_file)).returns(stub_spec)
@@ -56,7 +56,7 @@ module Pod
56
56
  describe '#spec_at_url' do
57
57
  it 'returns a spec for an https git repo' do
58
58
  require 'cocoapods-downloader/git'
59
- Pod::Downloader::GitHub.any_instance.expects(:download)
59
+ Pod::Downloader::Git.any_instance.expects(:download)
60
60
  spec_file = '/tmp/CocoaPods/Try/ARAnalytics/ARAnalytics.podspec'
61
61
  stub_spec = stub
62
62
  Pod::Specification.stubs(:from_file).with(Pathname(spec_file)).returns(stub_spec)
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.0
4
+ version: 0.4.1
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-11 00:00:00.000000000 Z
11
+ date: 2014-09-26 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,17 +70,17 @@ 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.0.14
83
+ rubygems_version: 2.2.2
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.