earlgrey 0.0.14 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65c301807050c57123110ae6f49ca194084836b1
4
- data.tar.gz: c2971e809b71d8966b05d0d9af0e147b74d9cff7
3
+ metadata.gz: 9d7fb300c3c71332a9c40faf927b1477b588593c
4
+ data.tar.gz: ffb47cc5861696af54c6427c82ef1da51790c7b8
5
5
  SHA512:
6
- metadata.gz: 3e0ec4554e0216c1d3b1f2c023dadd684f38ae00b2526502b00102d1730575748f60f0bd3e3db27abc3e4b770056ad5d554aaf63a1c07b19e45daee641dc1f81
7
- data.tar.gz: 6e34a68b52fac4afaeba8068e6691d500a34ed33b43e1f4647263b6d7c1874553ff46b97f6b7bd0275e8ed09e4aab5337800c86ef2b9477ffe4545712e8c354e
6
+ metadata.gz: 0ff4eb41e7a980fe55e7d25ebca85f63d02fc321d224a9a28fbf6bf82b7e3d155ab2454819f8cbf29d36ca333d52a402a5e5ab9d157dc17216099f738eb081da
7
+ data.tar.gz: f301f51cf914857b3dfec7276dec862318a8d26b3a00a94942b6871f2b8342d97270676a94eab53aed2b9110f5e9de3791d085a6fa59a942ab715d1e0fcde94c
data/lib/earlgrey/cli.rb CHANGED
@@ -23,7 +23,7 @@ module EarlGrey
23
23
  method_option :project, aliases: '-p', type: :string, required: false, desc: 'Project'
24
24
  method_option :scheme, aliases: '-s', type: :string, required: false, desc: 'EarlGreyTestTarget.xcscheme'
25
25
  method_option :swift, type: :boolean, default: true
26
- method_option :swift_version, type: :string, default: '3.0', enum: %w[2.2 3.0]
26
+ method_option :swift_version, type: :string, default: '3.0', enum: %w[2.3 3.0]
27
27
  method_option :target, aliases: '-t', type: :string, required: true, desc: 'EarlGreyTestTarget'
28
28
 
29
29
  PROJECT = 'project'.freeze
@@ -14,8 +14,6 @@
14
14
  // limitations under the License.
15
15
  //
16
16
 
17
- import EarlGrey
18
-
19
17
  public func grey_allOfMatchers(args: AnyObject...) -> GREYMatcher! {
20
18
  return GREYAllOf(matchers: args)
21
19
  }
@@ -24,7 +22,7 @@ public func grey_anyOfMatchers(args: AnyObject...) -> GREYMatcher! {
24
22
  return GREYAnyOf(matchers: args)
25
23
  }
26
24
 
27
- public func EarlGrey(file: String = __FILE__, line: UInt = __LINE__) -> EarlGreyImpl! {
25
+ public func EarlGrey(file: String = #file, line: UInt = #line) -> EarlGreyImpl! {
28
26
  return EarlGreyImpl.invokedFromFile(file, lineNumber: line)
29
27
  }
30
28
 
@@ -78,7 +76,7 @@ public func GREYAssertNotEqualObjects<T : Equatable>(@autoclosure left: () -> T?
78
76
  public func GREYFail(reason: String) {
79
77
  greyFailureHandler.handleException(GREYFrameworkException(name: kGREYAssertionFailedException,
80
78
  reason: reason),
81
- details: "")
79
+ details: "")
82
80
  }
83
81
 
84
82
  @available(*, deprecated=1.2.0, message="Please use GREYFAIL::withDetails instead.")
@@ -95,18 +93,18 @@ public func GREYFailWithDetails(reason: String, details: String) {
95
93
  }
96
94
 
97
95
  private func GREYAssert(@autoclosure expression: () -> BooleanType,
98
- _ reason: String, details: String) {
99
- GREYSetCurrentAsFailable()
100
- if !expression().boolValue {
101
- greyFailureHandler.handleException(GREYFrameworkException(name: kGREYAssertionFailedException,
102
- reason: reason),
103
- details: details)
104
- }
96
+ _ reason: String, details: String) {
97
+ GREYSetCurrentAsFailable()
98
+ if !expression().boolValue {
99
+ greyFailureHandler.handleException(GREYFrameworkException(name: kGREYAssertionFailedException,
100
+ reason: reason),
101
+ details: details)
102
+ }
105
103
  }
106
104
 
107
- private func GREYSetCurrentAsFailable(file: String = __FILE__, line: UInt = __LINE__) {
105
+ private func GREYSetCurrentAsFailable(file: String = #file, line: UInt = #line) {
108
106
  let greyFailureHandlerSelector =
109
- Selector("GREYFailureHandler.setInvocationFile(__FILE__, andInvocationLine:__LINE__)")
107
+ #selector(GREYFailureHandler.setInvocationFile(_:andInvocationLine:))
110
108
  if greyFailureHandler.respondsToSelector(greyFailureHandlerSelector) {
111
109
  greyFailureHandler.setInvocationFile!(file, andInvocationLine: line)
112
110
  }
@@ -0,0 +1,111 @@
1
+ //
2
+ // Copyright 2016 Google Inc.
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ //
16
+
17
+ public func grey_allOfMatchers(args: AnyObject...) -> GREYMatcher! {
18
+ return GREYAllOf(matchers: args)
19
+ }
20
+
21
+ public func grey_anyOfMatchers(args: AnyObject...) -> GREYMatcher! {
22
+ return GREYAnyOf(matchers: args)
23
+ }
24
+
25
+ public func EarlGrey(file: String = #file, line: UInt = #line) -> EarlGreyImpl! {
26
+ return EarlGreyImpl.invokedFromFile(file, lineNumber: line)
27
+ }
28
+
29
+ public func GREYAssert(@autoclosure expression: () -> BooleanType, reason: String) {
30
+ GREYAssert(expression, reason, details: "Expected expression to be true")
31
+ }
32
+
33
+ public func GREYAssertTrue(@autoclosure expression: () -> BooleanType, reason: String) {
34
+ GREYAssert(expression().boolValue,
35
+ reason,
36
+ details: "Expected the boolean expression to be true")
37
+ }
38
+
39
+ public func GREYAssertFalse(@autoclosure expression: () -> BooleanType, reason: String) {
40
+ GREYAssert(!expression().boolValue,
41
+ reason,
42
+ details: "Expected the boolean expression to be false")
43
+ }
44
+
45
+ public func GREYAssertNotNil(@autoclosure expression: () -> Any?, reason: String) {
46
+ GREYAssert(expression() != nil, reason, details: "Expected expression to be not nil")
47
+ }
48
+
49
+ public func GREYAssertNil(@autoclosure expression: () -> Any?, reason: String) {
50
+ GREYAssert(expression() == nil, reason, details: "Expected expression to be nil")
51
+ }
52
+
53
+ public func GREYAssertEqual(@autoclosure left: () -> AnyObject?,
54
+ @autoclosure _ right: () -> AnyObject?, reason: String) {
55
+ GREYAssert(left() === right(), reason, details: "Expected left term to be equal to right term")
56
+ }
57
+
58
+ public func GREYAssertNotEqual(@autoclosure left: () -> AnyObject?,
59
+ @autoclosure _ right: () -> AnyObject?, reason: String) {
60
+ GREYAssert(left() !== right(), reason, details: "Expected left term to not be equal to right" +
61
+ " term")
62
+ }
63
+
64
+ public func GREYAssertEqualObjects<T : Equatable>(@autoclosure left: () -> T?,
65
+ @autoclosure _ right: () -> T?, reason: String) {
66
+ GREYAssert(left() == right(), reason, details: "Expected object of the left term to be equal" +
67
+ " to the object of the right term")
68
+ }
69
+
70
+ public func GREYAssertNotEqualObjects<T : Equatable>(@autoclosure left: () -> T?,
71
+ @autoclosure _ right: () -> T?, reason: String) {
72
+ GREYAssert(left() != right(), reason, details: "Expected object of the left term to not be" +
73
+ " equal to the object of the right term")
74
+ }
75
+
76
+ public func GREYFail(reason: String) {
77
+ greyFailureHandler.handleException(GREYFrameworkException(name: kGREYAssertionFailedException,
78
+ reason: reason),
79
+ details: "")
80
+ }
81
+
82
+ @available(*, deprecated=1.2.0, message="Please use GREYFAIL::withDetails instead.")
83
+ public func GREYFail(reason: String, details: String) {
84
+ greyFailureHandler.handleException(GREYFrameworkException(name: kGREYAssertionFailedException,
85
+ reason: reason),
86
+ details: details)
87
+ }
88
+
89
+ public func GREYFailWithDetails(reason: String, details: String) {
90
+ greyFailureHandler.handleException(GREYFrameworkException(name: kGREYAssertionFailedException,
91
+ reason: reason),
92
+ details: details)
93
+ }
94
+
95
+ private func GREYAssert(@autoclosure expression: () -> BooleanType,
96
+ _ reason: String, details: String) {
97
+ GREYSetCurrentAsFailable()
98
+ if !expression().boolValue {
99
+ greyFailureHandler.handleException(GREYFrameworkException(name: kGREYAssertionFailedException,
100
+ reason: reason),
101
+ details: details)
102
+ }
103
+ }
104
+
105
+ private func GREYSetCurrentAsFailable(file: String = #file, line: UInt = #line) {
106
+ let greyFailureHandlerSelector =
107
+ #selector(GREYFailureHandler.setInvocationFile(_:andInvocationLine:))
108
+ if greyFailureHandler.respondsToSelector(greyFailureHandlerSelector) {
109
+ greyFailureHandler.setInvocationFile!(file, andInvocationLine: line)
110
+ }
111
+ }
@@ -14,98 +14,123 @@
14
14
  // limitations under the License.
15
15
  //
16
16
 
17
- public func grey_allOfMatchers(args: AnyObject...) -> GREYMatcher! {
18
- return GREYAllOf(matchers: args)
19
- }
20
-
21
- public func grey_anyOfMatchers(args: AnyObject...) -> GREYMatcher! {
22
- return GREYAnyOf(matchers: args)
23
- }
24
-
25
- public func EarlGrey(file: String = #file, line: UInt = #line) -> EarlGreyImpl! {
26
- return EarlGreyImpl.invokedFromFile(file, lineNumber: line)
27
- }
28
-
29
- public func GREYAssert(@autoclosure expression: () -> BooleanType, reason: String) {
17
+ public func GREYAssert(_ expression: @autoclosure () -> Bool, reason: String) {
30
18
  GREYAssert(expression, reason, details: "Expected expression to be true")
31
19
  }
32
20
 
33
- public func GREYAssertTrue(@autoclosure expression: () -> BooleanType, reason: String) {
34
- GREYAssert(expression().boolValue,
35
- reason,
36
- details: "Expected the boolean expression to be true")
21
+ public func GREYAssertTrue(_ expression: @autoclosure () -> Bool, reason: String) {
22
+ GREYAssert(expression(), reason, details: "Expected the boolean expression to be true")
37
23
  }
38
24
 
39
- public func GREYAssertFalse(@autoclosure expression: () -> BooleanType, reason: String) {
40
- GREYAssert(!expression().boolValue,
41
- reason,
42
- details: "Expected the boolean expression to be false")
25
+ public func GREYAssertFalse(_ expression: @autoclosure () -> Bool, reason: String) {
26
+ GREYAssert(!expression(), reason, details: "Expected the boolean expression to be false")
43
27
  }
44
28
 
45
- public func GREYAssertNotNil(@autoclosure expression: () -> Any?, reason: String) {
29
+ public func GREYAssertNotNil(_ expression: @autoclosure ()-> Any?, reason: String) {
46
30
  GREYAssert(expression() != nil, reason, details: "Expected expression to be not nil")
47
31
  }
48
32
 
49
- public func GREYAssertNil(@autoclosure expression: () -> Any?, reason: String) {
33
+ public func GREYAssertNil(_ expression: @autoclosure () -> Any?, reason: String) {
50
34
  GREYAssert(expression() == nil, reason, details: "Expected expression to be nil")
51
35
  }
52
36
 
53
- public func GREYAssertEqual(@autoclosure left: () -> AnyObject?,
54
- @autoclosure _ right: () -> AnyObject?, reason: String) {
37
+ public func GREYAssertEqual(_ left: @autoclosure () -> AnyObject?,
38
+ _ right: @autoclosure () -> AnyObject?, reason: String) {
55
39
  GREYAssert(left() === right(), reason, details: "Expected left term to be equal to right term")
56
40
  }
57
41
 
58
- public func GREYAssertNotEqual(@autoclosure left: () -> AnyObject?,
59
- @autoclosure _ right: () -> AnyObject?, reason: String) {
60
- GREYAssert(left() !== right(), reason, details: "Expected left term to not be equal to right" +
61
- " term")
42
+ public func GREYAssertNotEqual(_ left: @autoclosure () -> AnyObject?,
43
+ _ right: @autoclosure () -> AnyObject?, reason: String) {
44
+ GREYAssert(left() !== right(), reason, details: "Expected left term to not equal the right term")
62
45
  }
63
46
 
64
- public func GREYAssertEqualObjects<T : Equatable>(@autoclosure left: () -> T?,
65
- @autoclosure _ right: () -> T?, reason: String) {
47
+ public func GREYAssertEqualObjects<T: Equatable>( _ left: @autoclosure () -> T?,
48
+ _ right: @autoclosure () -> T?, reason: String) {
66
49
  GREYAssert(left() == right(), reason, details: "Expected object of the left term to be equal" +
67
50
  " to the object of the right term")
68
51
  }
69
52
 
70
- public func GREYAssertNotEqualObjects<T : Equatable>(@autoclosure left: () -> T?,
71
- @autoclosure _ right: () -> T?, reason: String) {
72
- GREYAssert(left() != right(), reason, details: "Expected object of the left term to not be" +
73
- " equal to the object of the right term")
53
+ public func GREYAssertNotEqualObjects<T: Equatable>( _ left: @autoclosure () -> T?,
54
+ _ right: @autoclosure () -> T?, reason: String) {
55
+ GREYAssert(left() != right(), reason, details: "Expected object of the left term to not" +
56
+ " equal the object of the right term")
74
57
  }
75
58
 
76
- public func GREYFail(reason: String) {
77
- greyFailureHandler.handleException(GREYFrameworkException(name: kGREYAssertionFailedException,
78
- reason: reason),
79
- details: "")
59
+ public func GREYFail(_ reason: String) {
60
+ EarlGrey.handle(exception: GREYFrameworkException(name: kGREYAssertionFailedException,
61
+ reason: reason),
62
+ details: "")
80
63
  }
81
64
 
82
- @available(*, deprecated=1.2.0, message="Please use GREYFAIL::withDetails instead.")
83
- public func GREYFail(reason: String, details: String) {
84
- greyFailureHandler.handleException(GREYFrameworkException(name: kGREYAssertionFailedException,
85
- reason: reason),
86
- details: details)
65
+ public func GREYFailWithDetails(_ reason: String, details: String) {
66
+ EarlGrey.handle(exception: GREYFrameworkException(name: kGREYAssertionFailedException,
67
+ reason: reason),
68
+ details: details)
87
69
  }
88
70
 
89
- public func GREYFailWithDetails(reason: String, details: String) {
90
- greyFailureHandler.handleException(GREYFrameworkException(name: kGREYAssertionFailedException,
91
- reason: reason),
92
- details: details)
93
- }
94
-
95
- private func GREYAssert(@autoclosure expression: () -> BooleanType,
71
+ private func GREYAssert(_ expression: @autoclosure () -> Bool,
96
72
  _ reason: String, details: String) {
97
73
  GREYSetCurrentAsFailable()
98
- if !expression().boolValue {
99
- greyFailureHandler.handleException(GREYFrameworkException(name: kGREYAssertionFailedException,
100
- reason: reason),
101
- details: details)
74
+ if !expression() {
75
+ EarlGrey.handle(exception: GREYFrameworkException(name: kGREYAssertionFailedException,
76
+ reason: reason),
77
+ details: details)
102
78
  }
103
79
  }
104
80
 
105
- private func GREYSetCurrentAsFailable(file: String = #file, line: UInt = #line) {
81
+ private func GREYSetCurrentAsFailable() {
106
82
  let greyFailureHandlerSelector =
107
- #selector(GREYFailureHandler.setInvocationFile(_:andInvocationLine:))
108
- if greyFailureHandler.respondsToSelector(greyFailureHandlerSelector) {
109
- greyFailureHandler.setInvocationFile!(file, andInvocationLine: line)
83
+ #selector(GREYFailureHandler.setInvocationFile(_:andInvocationLine:))
84
+ if greyFailureHandler.responds(to: greyFailureHandlerSelector) {
85
+ greyFailureHandler.setInvocationFile!(#file, andInvocationLine:#line)
86
+ }
87
+ }
88
+
89
+ class EarlGrey: NSObject {
90
+ public class func select(elementWithMatcher matcher:GREYMatcher,
91
+ file: String = #file,
92
+ line: UInt = #line) -> GREYElementInteraction {
93
+ return EarlGreyImpl.invoked(fromFile: file, lineNumber: line).selectElement(with: matcher)
94
+ }
95
+
96
+ public class func setFailureHandler(handler: GREYFailureHandler,
97
+ file: String = #file,
98
+ line: UInt = #line) {
99
+ return EarlGreyImpl.invoked(fromFile: file, lineNumber: line).setFailureHandler(handler)
100
+ }
101
+
102
+ public class func handle(exception: GREYFrameworkException,
103
+ details: String,
104
+ file: String = #file,
105
+ line: UInt = #line) {
106
+ return EarlGreyImpl.invoked(fromFile: file, lineNumber: line).handle(exception,
107
+ details: details)
108
+ }
109
+
110
+ @discardableResult public class func rotateDeviceTo(orientation: UIDeviceOrientation,
111
+ errorOrNil: UnsafeMutablePointer<NSError?>!,
112
+ file: String = #file,
113
+ line: UInt = #line)
114
+ -> Bool {
115
+ return EarlGreyImpl.invoked(fromFile: file, lineNumber: line)
116
+ .rotateDevice(to: orientation,
117
+ errorOrNil: errorOrNil)
118
+ }
119
+ }
120
+
121
+ extension GREYInteraction {
122
+ @discardableResult public func assert(_ matcher: @autoclosure () -> GREYMatcher) -> Self {
123
+ return self.assert(with:matcher())
124
+ }
125
+
126
+ @discardableResult public func assert(_ matcher: @autoclosure () -> GREYMatcher,
127
+ error:UnsafeMutablePointer<NSError?>!) -> Self {
128
+ return self.assert(with: matcher(), error: error)
129
+ }
130
+
131
+
132
+ @discardableResult public func using(searchAction: GREYAction,
133
+ onElementWithMatcher matcher: GREYMatcher) -> Self {
134
+ return self.usingSearch(searchAction, onElementWith: matcher)
110
135
  }
111
136
  }
@@ -14,5 +14,5 @@
14
14
  # limitations under the License.
15
15
 
16
16
  module EarlGrey
17
- VERSION = '0.0.14'.freeze unless defined? ::EarlGrey::VERSION
17
+ VERSION = '0.1.0'.freeze unless defined? ::EarlGrey::VERSION
18
18
  end
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: 0.0.14
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - khandpur
@@ -10,118 +10,118 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-10-08 00:00:00.000000000 Z
13
+ date: 2016-11-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: colored
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - '>='
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: '1.2'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - '>='
26
+ - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  version: '1.2'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: xcodeproj
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - '>='
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
35
  version: 1.3.0
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - '>='
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: 1.3.0
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: thor
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - '>='
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
49
  version: 0.19.1
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - '>='
54
+ - - ">="
55
55
  - !ruby/object:Gem::Version
56
56
  version: 0.19.1
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: rspec
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - '>='
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: 3.4.0
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - '>='
68
+ - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: 3.4.0
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: rubocop
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - '>='
75
+ - - ">="
76
76
  - !ruby/object:Gem::Version
77
77
  version: 0.39.0
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - '>='
82
+ - - ">="
83
83
  - !ruby/object:Gem::Version
84
84
  version: 0.39.0
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: coveralls
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - ~>
89
+ - - "~>"
90
90
  - !ruby/object:Gem::Version
91
91
  version: 0.8.13
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - ~>
96
+ - - "~>"
97
97
  - !ruby/object:Gem::Version
98
98
  version: 0.8.13
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: pry
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - ~>
103
+ - - "~>"
104
104
  - !ruby/object:Gem::Version
105
105
  version: 0.10.3
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
- - - ~>
110
+ - - "~>"
111
111
  - !ruby/object:Gem::Version
112
112
  version: 0.10.3
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: rake
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - ~>
117
+ - - "~>"
118
118
  - !ruby/object:Gem::Version
119
119
  version: '11.1'
120
120
  type: :development
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - ~>
124
+ - - "~>"
125
125
  - !ruby/object:Gem::Version
126
126
  version: '11.1'
127
127
  description: Command line tool for installing EarlGrey into an iOS Unit Testing target
@@ -138,6 +138,7 @@ files:
138
138
  - lib/earlgrey/earlgrey.rb
139
139
  - lib/earlgrey/files/BridgingHeader.h
140
140
  - lib/earlgrey/files/Swift-2.2/EarlGrey.swift
141
+ - lib/earlgrey/files/Swift-2.3/EarlGrey.swift
141
142
  - lib/earlgrey/files/Swift-3.0/EarlGrey.swift
142
143
  - lib/earlgrey/version.rb
143
144
  homepage: https://github.com/google/EarlGrey
@@ -150,12 +151,12 @@ require_paths:
150
151
  - lib
151
152
  required_ruby_version: !ruby/object:Gem::Requirement
152
153
  requirements:
153
- - - '>='
154
+ - - ">="
154
155
  - !ruby/object:Gem::Version
155
156
  version: '2'
156
157
  required_rubygems_version: !ruby/object:Gem::Requirement
157
158
  requirements:
158
- - - '>='
159
+ - - ">="
159
160
  - !ruby/object:Gem::Version
160
161
  version: '0'
161
162
  requirements: []