fastlane-plugin-carthage_cache 0.1.0 → 0.1.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: b53c46797d58111a6d471f25db24a117576f299b
4
- data.tar.gz: 833d9822601a1b255dbbdd017a2158dc66324f6a
3
+ metadata.gz: 8fe7ced486e2ae193192ef8219478222d5c383f1
4
+ data.tar.gz: a80074e78297f8442f83c761c57ea9b3e34de63f
5
5
  SHA512:
6
- metadata.gz: 304f0f9726fff984de3e816ae3f104c8735e5b35d041a32d975aaa89e1f89d54607ef5b813d3325a395c73b9a780f2b07ccc18318b099a66b2c1946108d28ca6
7
- data.tar.gz: e0bde721a2b510b43bc7579c0be9271843f71b64ce04a46a90fdf53306d0850a5b1733c1c477c764d39b008907f43d2d745257ea15243f0bfecf2d57ccf9dcb1
6
+ metadata.gz: fa7178e1f10942f1b82c6861a6008ba0be2408298d478f3a01b35d8523eaef08fa38530947972cc7f15bae3a0636a19a05583798fff2b97e5e70183a8ce26ed1
7
+ data.tar.gz: 73cf292b38d6ff8f4e069c3946b3f4690ad4ee83f0499d56a3c6148c9e940a14f17acab1441492b50954fc354234a0718e7adefc397415b381a918a470cb5c56
@@ -0,0 +1,33 @@
1
+ module Fastlane
2
+ module Actions
3
+ class CarthageCacheExistAction < Action
4
+ def self.run(params)
5
+ UI.message("Checking Amazon S3 for matching Carthage cache...")
6
+ check = `bundle exec carthage_cache exist --bucket-name #{params[:bucket]} -s 2>&1`.chomp
7
+ check == "true"
8
+ end
9
+
10
+ def self.description
11
+ %q{Check if Carthage cache exists for Cartfile.resolved in Amazon S3}
12
+ end
13
+
14
+ def self.authors
15
+ [%q{bfcrampton}]
16
+ end
17
+
18
+ def self.available_options
19
+ [
20
+ FastlaneCore::ConfigItem.new(key: :bucket,
21
+ env_name: "CARTHAGE_CACHE_BUCKET",
22
+ description: "Amazon S3 bucket name which caches your Carthage build",
23
+ optional: false,
24
+ type: String)
25
+ ]
26
+ end
27
+
28
+ def self.is_supported?(platform)
29
+ [:ios, :mac, :tvos, :watchos].include?(platform)
30
+ end
31
+ end
32
+ end
33
+ end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module CarthageCache
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-carthage_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thi Doan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-04 00:00:00.000000000 Z
11
+ date: 2016-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: carthage_cache
@@ -89,6 +89,7 @@ files:
89
89
  - LICENSE
90
90
  - README.md
91
91
  - lib/fastlane/plugin/carthage_cache.rb
92
+ - lib/fastlane/plugin/carthage_cache/actions/carthage_cache_exist.rb
92
93
  - lib/fastlane/plugin/carthage_cache/actions/carthage_cache_install.rb
93
94
  - lib/fastlane/plugin/carthage_cache/actions/carthage_cache_publish.rb
94
95
  - lib/fastlane/plugin/carthage_cache/helper/carthage_cache_helper.rb