cocoapods-amicable 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cocoapods_amicable.rb +17 -17
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf1fafa880240e0edcb2ef1da4205bbc1608bcf8262db9a6b6fa6e9b563fb025
4
- data.tar.gz: d6b2910671ecd58e3969997024d958efae2824757f6b28df6b1b690df9d7ec99
3
+ metadata.gz: 8a2e5477e835ce82dceffcb314fb7c7cac810077eb0fcef2f28429c9156da46a
4
+ data.tar.gz: 68569580890edee8487ab502d9180568d5ebf827cfd7749b17844f05a9292115
5
5
  SHA512:
6
- metadata.gz: 634ec21252d8f2d3e8b960f1561e684d62cb6636e3bb0685764608541ff03c77ae2a86e419ddabf1547b990e7226a6c4fa79ee92dbedd8c358aff1bb699c1bf7
7
- data.tar.gz: c991e87bf3199494b9278f4ec0b36414b5bf0807a40322fb156e0ef6427a8e179fb4848a6fa277552a93a934cd01d0b6eefe08726a068a572217abdabca8237d
6
+ metadata.gz: 3c4400a36a9ece13f6c0d6fe450df35823d9e69edd0eb0fd4197d13767cdd43f020af7bd066ad67bc6d24e20d5a1248ccff54c9c7b83fae6fae731f2d36f711c
7
+ data.tar.gz: 10323ea6b2995f4293dde816ab019e4fa4adee0078dcde1675ad4a94f0ff64fbe3e10bbba8200d2cee267d1faa6d69fc5133194680d091fd91fab4d51083c839
@@ -53,8 +53,8 @@ module CocoaPodsAmicable
53
53
  def write_sha1_file
54
54
  return unless name = podfile_basename
55
55
  sha1_file_path.open('w') do |f|
56
- f.write <<~EOS
57
- #{checksum} #{name}
56
+ f.write <<-EOS
57
+ #{checksum} #{name}
58
58
  EOS
59
59
  end
60
60
  end
@@ -75,25 +75,25 @@ module CocoaPodsAmicable
75
75
  end
76
76
 
77
77
  def update_check_manifest_script_phase(build_phase)
78
- build_phase.shell_script = <<~SH
79
- set -e
80
- set -u
81
- set -o pipefail
78
+ build_phase.shell_script = <<-SH
79
+ set -e
80
+ set -u
81
+ set -o pipefail
82
82
 
83
- fail() {
84
- # print error to STDERR
85
- echo "error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation." $@ >&2
86
- exit 1
87
- }
83
+ fail() {
84
+ # print error to STDERR
85
+ echo "error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation." $@ >&2
86
+ exit 1
87
+ }
88
88
 
89
- diff -q "${PODS_PODFILE_DIR_PATH}/Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null || fail "The manifest in the sandbox differs from your lockfile."
89
+ diff -q "${PODS_PODFILE_DIR_PATH}/Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null || fail "The manifest in the sandbox differs from your lockfile."
90
90
 
91
- if [ -f "${PODS_ROOT}/Podfile.sha1" ]; then
92
- (cd "${PODS_PODFILE_DIR_PATH}" && shasum --algorithm 1 --status --check "${PODS_ROOT}/Podfile.sha1") || fail "Your Podfile has been changed since the last time you ran 'pod install'."
93
- fi
91
+ if [ -f "${PODS_ROOT}/Podfile.sha1" ]; then
92
+ (cd "${PODS_PODFILE_DIR_PATH}" && shasum --algorithm 1 --status --check "${PODS_ROOT}/Podfile.sha1") || fail "Your Podfile has been changed since the last time you ran 'pod install'."
93
+ fi
94
94
 
95
- # This output is used by Xcode 'outputs' to avoid re-running this script phase.
96
- echo "SUCCESS" > "${SCRIPT_OUTPUT_FILE_0}"
95
+ # This output is used by Xcode 'outputs' to avoid re-running this script phase.
96
+ echo "SUCCESS" > "${SCRIPT_OUTPUT_FILE_0}"
97
97
  SH
98
98
 
99
99
  build_phase.input_paths = %w[
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-amicable
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
  - Samuel Giddins
@@ -57,9 +57,9 @@ require_paths:
57
57
  - lib
58
58
  required_ruby_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ">="
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '0'
62
+ version: '2.1'
63
63
  required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="