earlgrey 0.0.10 → 0.0.11
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f36bc6a721d75e8ee68ee2244ba849b43f99b7a
|
4
|
+
data.tar.gz: 3d333da0ebd4ce8ff9bb7bdb1ae59381f8733d03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af56e22da2a799917b2f593c22381318a156940ac4fdb598a6fdc18607601c6097cd51b240259b70c1c3f6b3dfe023fc6de66e15d7fb9053ea6b5c1dd5d5a998
|
7
|
+
data.tar.gz: 903de92e97084430438a070b7f6d7d476aa4458ee591092a7441e39ef33e6e4e573717e73c115e55328cdea430e429e23d9df96e9e48fce98a0ea4c872ac0418
|
@@ -17,15 +17,15 @@
|
|
17
17
|
import EarlGrey
|
18
18
|
|
19
19
|
public func grey_allOfMatchers(args: AnyObject...) -> GREYMatcher! {
|
20
|
-
return GREYAllOf
|
20
|
+
return GREYAllOf(matchers: args)
|
21
21
|
}
|
22
22
|
|
23
23
|
public func grey_anyOfMatchers(args: AnyObject...) -> GREYMatcher! {
|
24
|
-
return GREYAnyOf
|
24
|
+
return GREYAnyOf(matchers: args)
|
25
25
|
}
|
26
26
|
|
27
|
-
public func EarlGrey() -> EarlGreyImpl! {
|
28
|
-
return EarlGreyImpl.invokedFromFile(
|
27
|
+
public func EarlGrey(file: String = __FILE__, line: UInt = __LINE__) -> EarlGreyImpl! {
|
28
|
+
return EarlGreyImpl.invokedFromFile(file, lineNumber: line)
|
29
29
|
}
|
30
30
|
|
31
31
|
public func GREYAssert(@autoclosure expression: () -> BooleanType, reason: String) {
|
@@ -104,10 +104,10 @@ private func GREYAssert(@autoclosure expression: () -> BooleanType,
|
|
104
104
|
}
|
105
105
|
}
|
106
106
|
|
107
|
-
private func GREYSetCurrentAsFailable() {
|
107
|
+
private func GREYSetCurrentAsFailable(file: String = __FILE__, line: UInt = __LINE__) {
|
108
108
|
let greyFailureHandlerSelector =
|
109
109
|
Selector("GREYFailureHandler.setInvocationFile(__FILE__, andInvocationLine:__LINE__)")
|
110
110
|
if greyFailureHandler.respondsToSelector(greyFailureHandlerSelector) {
|
111
|
-
greyFailureHandler.setInvocationFile!(
|
111
|
+
greyFailureHandler.setInvocationFile!(file, andInvocationLine: line)
|
112
112
|
}
|
113
113
|
}
|
@@ -15,15 +15,15 @@
|
|
15
15
|
//
|
16
16
|
|
17
17
|
public func grey_allOfMatchers(args: AnyObject...) -> GREYMatcher! {
|
18
|
-
return GREYAllOf
|
18
|
+
return GREYAllOf(matchers: args)
|
19
19
|
}
|
20
20
|
|
21
21
|
public func grey_anyOfMatchers(args: AnyObject...) -> GREYMatcher! {
|
22
|
-
return GREYAnyOf
|
22
|
+
return GREYAnyOf(matchers: args)
|
23
23
|
}
|
24
24
|
|
25
|
-
public func EarlGrey() -> EarlGreyImpl! {
|
26
|
-
return EarlGreyImpl.invokedFromFile(
|
25
|
+
public func EarlGrey(file: String = #file, line: UInt = #line) -> EarlGreyImpl! {
|
26
|
+
return EarlGreyImpl.invokedFromFile(file, lineNumber: line)
|
27
27
|
}
|
28
28
|
|
29
29
|
public func GREYAssert(@autoclosure expression: () -> BooleanType, reason: String) {
|
@@ -102,10 +102,10 @@ private func GREYAssert(@autoclosure expression: () -> BooleanType,
|
|
102
102
|
}
|
103
103
|
}
|
104
104
|
|
105
|
-
private func GREYSetCurrentAsFailable() {
|
105
|
+
private func GREYSetCurrentAsFailable(file: String = #file, line: UInt = #line) {
|
106
106
|
let greyFailureHandlerSelector =
|
107
107
|
#selector(GREYFailureHandler.setInvocationFile(_:andInvocationLine:))
|
108
108
|
if greyFailureHandler.respondsToSelector(greyFailureHandlerSelector) {
|
109
|
-
greyFailureHandler.setInvocationFile!(
|
109
|
+
greyFailureHandler.setInvocationFile!(file, andInvocationLine: line)
|
110
110
|
}
|
111
111
|
}
|
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: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- khandpur
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-09-
|
13
|
+
date: 2016-09-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: colored
|