cocoapods-azure-universal-packages2 0.0.1 → 0.0.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
  SHA256:
3
- metadata.gz: f7c6958396e8971a36dbc07e01099a518c0863f2908739f25af891c3528d54fa
4
- data.tar.gz: 1df3179c1182a84bdc768bbddb6ca0b1a98f57c6e093d73204b9cb8194fa5fff
3
+ metadata.gz: ffbd0718a0df12f65ee7045940ab567929b6a30512357c8d2ce9b70d5c3d3715
4
+ data.tar.gz: aa778525d6ba8bb5dd295f62917487327e967d92129948e7d1ae9ea030f66212
5
5
  SHA512:
6
- metadata.gz: 2237ee62ebc27637f86c04824af0f38bfd9ee9294fa273067134413034be4e4f5546185f0c47208e3524356eff078690e8120f9d776735fda41666a986b67697
7
- data.tar.gz: eba3a32ccb50ed18f59dd6c7defea71d934bd05630a076d8b308d225b05ffb6622c507a43a02f5c840f91ed2fcc5c20effb443e9536badde225511628e4717cb
6
+ metadata.gz: 06d82699c7f75b29fe652defef8e2bae33af8d458848f1ee081702deb21423981570c6a41d7ecf09178a62c6e558e229406a76c62f5c06d6bd98f5599b2d1d24
7
+ data.tar.gz: 2123ab70a46d8029ef9124dfb56c921a9ab36e0e6e4b9919ee6ef4b2fdcef8ceb80601f789def0e0583b9d590891a0f0b637483121cda1f45887ee27bc6a9910
data/README.md CHANGED
@@ -1,12 +1,14 @@
1
1
  # CocoaPods Azure Universal Packages plugin
2
2
 
3
+ Fork of the original gem to solve dependency issues and keep this tool alive. Maintainers at Microsoft seem to have completely abandoned it.
4
+
3
5
  This project is a [CocoaPods](https://github.com/CocoaPods/CocoaPods) plugin that allows to dowload pods published as [Universal Packages](https://docs.microsoft.com/en-us/azure/devops/artifacts/quickstarts/universal-packages) in [Azure Artifacts](https://azure.microsoft.com/en-gb/services/devops/artifacts/) feeds.
4
6
 
5
7
  ## Getting started
6
8
 
7
9
  Install the plugin by adding to your `Gemfile`
8
10
  ```Ruby
9
- gem "cocoapods-azure-universal-packages"
11
+ gem "cocoapods-azure-universal-packages2"
10
12
  ```
11
13
 
12
14
  Under the hood the plugin uses the [Azure CLI](https://aka.ms/azcli) to download the Universal Packages, you can install it running
@@ -29,8 +31,8 @@ _Note:_ The plugin will install the Azure CLI [DevOps extension](https://github.
29
31
 
30
32
  Add to your Podfile
31
33
  ```Ruby
32
- plugin 'cocoapods-azure-universal-packages', {
33
- :organization => '{{ORGANIZATION_URL}}'
34
+ plugin 'cocoapods-azure-universal-packages2', {
35
+ organization: '{{ORGANIZATION_URL}}'
34
36
  }
35
37
  ```
36
38
  replacing `{{ORGANIZATION_URL}}` with the base URL of your Azure Artifacts feed (for example: `https://pkgs.dev.azure.com/myorg`).
@@ -38,10 +40,10 @@ replacing `{{ORGANIZATION_URL}}` with the base URL of your Azure Artifacts feed
38
40
  Then, in your podspec set the pod's source to
39
41
  ```Ruby
40
42
  # For project scoped feeds:
41
- spec.source = { :http => '{{ORGANIZATION_URL}}/{{PROJECT}}/_apis/packaging/feeds/{{FEED}}/upack/packages/{{PACKAGE}}/versions/{{VERSION}}' }
43
+ spec.source = { http: '{{ORGANIZATION_URL}}/{{PROJECT}}/_apis/packaging/feeds/{{FEED}}/upack/packages/{{PACKAGE}}/versions/{{VERSION}}' }
42
44
 
43
45
  # For organization scoped feeds:
44
- spec.source = { :http => '{{ORGANIZATION_URL}}/_apis/packaging/feeds/{{FEED}}/upack/packages/{{PACKAGE}}/versions/{{VERSION}}' }
46
+ spec.source = { http: '{{ORGANIZATION_URL}}/_apis/packaging/feeds/{{FEED}}/upack/packages/{{PACKAGE}}/versions/{{VERSION}}' }
45
47
  ```
46
48
  where:
47
49
  - `{{ORGANIZATION_URL}}` is the URL of your feed's organization
@@ -66,14 +68,8 @@ rake tests
66
68
 
67
69
  ## Contributing
68
70
 
69
- This project welcomes contributions and suggestions. Most contributions require you to agree to a
70
- Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
71
- the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
71
+ Feel free to contribute by reporting issues or creating pull requests
72
72
 
73
- When you submit a pull request, a CLA bot will automatically determine whether you need to provide
74
- a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
75
- provided by the bot. You will only need to do this once across all repos using our CLA.
73
+ ## Licence
76
74
 
77
- This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
78
- For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
79
- contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
75
+ MIT
@@ -36,7 +36,7 @@ module Pod
36
36
 
37
37
  if !aup_uri_components.nil?
38
38
  download_azure_universal_package!(aup_uri_components.merge({ 'organization' => organization }))
39
-
39
+
40
40
  # Extract the file if it's the only one in the package
41
41
  package_files = target_path.glob('*')
42
42
  if package_files.count == 1 && package_files.first.file?
@@ -57,6 +57,7 @@ module Pod
57
57
  :dmg
58
58
  end
59
59
  end
60
+
60
61
  extract_with_type(file, file_type) unless file_type.nil?
61
62
  end
62
63
  else
@@ -1,3 +1,3 @@
1
1
  module CocoapodsAzureUniversalPackages
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.3'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  module CocoapodsAzureUniversalPackages
2
2
  class << self
3
3
 
4
- Pod::HooksManager.register('cocoapods-azure-universal-packages', :pre_install) do |context, options|
4
+ Pod::HooksManager.register('cocoapods-azure-universal-packages2', :pre_install) do |context, options|
5
5
  CocoapodsAzureUniversalPackages.pre_install(options)
6
6
  end
7
7
 
@@ -0,0 +1,3 @@
1
+ require 'cocoapods-azure-universal-packages2/azure_universal_package_downloader'
2
+ require 'cocoapods-azure-universal-packages2/gem_version'
3
+ require 'cocoapods-azure-universal-packages2/pre_install'
@@ -1 +1 @@
1
- require 'cocoapods-azure-universal-packages'
1
+ require 'cocoapods-azure-universal-packages2'
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-azure-universal-packages2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
- - Microsoft Corporation
7
+ - Aurimas Šeputis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
@@ -100,14 +100,13 @@ executables: []
100
100
  extensions: []
101
101
  extra_rdoc_files: []
102
102
  files:
103
- - LICENSE
104
103
  - README.md
105
- - lib/cocoapods-azure-universal-packages.rb
106
- - lib/cocoapods-azure-universal-packages/azure_universal_package_downloader.rb
107
- - lib/cocoapods-azure-universal-packages/gem_version.rb
108
- - lib/cocoapods-azure-universal-packages/pre_install.rb
104
+ - lib/cocoapods-azure-universal-packages2.rb
105
+ - lib/cocoapods-azure-universal-packages2/azure_universal_package_downloader.rb
106
+ - lib/cocoapods-azure-universal-packages2/gem_version.rb
107
+ - lib/cocoapods-azure-universal-packages2/pre_install.rb
109
108
  - lib/cocoapods_plugin.rb
110
- homepage: https://github.com/microsoft/cocoapods-azure-universal-packages
109
+ homepage: https://github.com/rbviz/cocoapods-azure-universal-packages2
111
110
  licenses:
112
111
  - MIT
113
112
  metadata: {}
data/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE
@@ -1,3 +0,0 @@
1
- require 'cocoapods-azure-universal-packages/azure_universal_package_downloader'
2
- require 'cocoapods-azure-universal-packages/gem_version'
3
- require 'cocoapods-azure-universal-packages/pre_install'