earlgrey 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/earlgrey/configure_earlgrey.rb +10 -2
- data/lib/earlgrey/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96fff4c2f7e23d27d24016442b8081b6cfa21e0d
|
4
|
+
data.tar.gz: fdc9e54507c28e8ba68c3418ef8aee783905d39b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5220b0b3c0020599d4ac5863394a007774d84fce9a51741c570d5c310022665294967bbb973446fecd74fd0ff03bbfb3b57acd6eec492e7a21e5a4d8419cc6a6
|
7
|
+
data.tar.gz: aa40833895f89d3a1d60a8acf2bfd186d65f52f09088fbbd6c13013fb746f4873e2885c6fc25d30e072bf1b5ea012e97c511411a654c10d860b1a6745a9ee261
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
#
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2017 Google Inc.
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -378,7 +378,15 @@ module EarlGrey
|
|
378
378
|
src_swift_name = 'EarlGrey.swift'
|
379
379
|
src_swift = File.join(src_root, "Swift-#{swift_version}", src_swift_name)
|
380
380
|
|
381
|
-
|
381
|
+
unless File.exist? src_swift
|
382
|
+
puts_magenta "EarlGrey.swift for version #{swift_version} not found. " \
|
383
|
+
'Falling back to version 3.0.'
|
384
|
+
swift_fallback = 'Swift-3.0'
|
385
|
+
src_swift = File.join(src_root, swift_fallback, src_swift_name)
|
386
|
+
unless File.exist?(src_swift)
|
387
|
+
raise "Unable to locate #{swift_fallback} file at path #{src_swift}."
|
388
|
+
end
|
389
|
+
end
|
382
390
|
dst_swift = File.join(dst_root, src_swift_name)
|
383
391
|
|
384
392
|
FileUtils.copy src_swift, dst_swift
|
data/lib/earlgrey/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: earlgrey
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- khandpur
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2017-
|
14
|
+
date: 2017-08-29 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: colored
|
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
151
|
rubyforge_project:
|
152
|
-
rubygems_version: 2.6.
|
152
|
+
rubygems_version: 2.6.11
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: EarlGrey installer gem
|