calabash-cucumber-ios-cn 0.0.2 → 0.0.3

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmFiZDc2YzM1NjQ3ODNhNzg2MGIzZGUwZDU3ZTYwYTI2ZDE3ZjAyMA==
4
+ ZDk5Y2QzNDQ2NDJmOGFhY2FmM2Q1ZmI1YzhjNmQ3MmU3N2M5MWM1Ng==
5
5
  data.tar.gz: !binary |-
6
- NzVmYmE5ZmIxZmI5NzNiMGE0ZTIyNGJlZmM1NzExNjIwYWQzMjY4OA==
6
+ YTRhNjMxMmJiM2UwMzhlYjBlYjhlNjkyODdhYjg0OGFhMGMxYzQzZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MmMwNGI0MDQ3NmExOTNlYzIyYjY4OTFiNDEyN2NmN2Q1NzliZGEyY2I0Y2Rk
10
- OTJmMTAyYzA5ODY1NWRlM2YyMDc5OWQ3N2RiYWE3MzFjZWY5Y2JhMTU1ZWEy
11
- NzBhNzI5Y2NmMjA0NmUxZjFmODYzNDU5ZTBmMjVmMmY5MTIzMGE=
9
+ Mzg2MTUxYmMxODU0ZDQ4NGYyNDcwMDA2ZGVjYmJkM2NiMjg3ZWMyMGQyNzc3
10
+ Yzk3Y2MyMDRhYjYwMDYyZTE3MDVmNzZkYWM2NThkNTUzN2Q2MThhNDQzZDAw
11
+ ZTFlMzgxZTI1N2RhMGY5NDQ4YzA4MGRkOGJhOTYxYTkxNGM1NWQ=
12
12
  data.tar.gz: !binary |-
13
- NmQzNDUyZWYzZTdhYmE4M2IxMzY5MGZmNWE2Y2E0MzA1Y2QzYTkwOGEzODYy
14
- OTE4YWRjMDEzMWE2ODI2YWFjY2ZhMTlmOWUyNjFiNDQzN2Q1ZTFmYmZhMTll
15
- ZGIzY2M4NGIyMDhkYmE4ODIwNWY0MmFlYmZiZmRiOGFiNzljYjA=
13
+ MzM5N2MyNWFkNjdhYmY2NjQzNzE3NzIxNGE3MWRlZmE3NTk0MDYyYzNjMDRh
14
+ Mjk2NDJkM2UyN2I0YzE0MmMzYmNiMTU0ODBhZmU2YTA0OGJiODI0ZGY4YjFl
15
+ NDUxMDc2Yjc2MzI5MGUwMGZhMmUwNjU5YzBiMTMxMGYyY2I2MjE=
@@ -13,7 +13,7 @@ Then /^我点按"([^\"]*)"$/ do |name|
13
13
  macro %Q|I press "#{name}"|
14
14
  end
15
15
 
16
- Then /^我点按"([^\"]*)"右(\d+)%下(\d+)$/ do |x,y,name|
16
+ Then /^我点按"([^\"]*)"右(\d+)%下(\d+)$/ do |name,x,y|
17
17
  macro %Q|I press #{x}% right and #{y}% down from "#{name}"|
18
18
  end
19
19
 
@@ -62,11 +62,11 @@ end
62
62
 
63
63
  ## -- Entering text -- ##
64
64
 
65
- Then /^我在"([^\"]*)"中输入"([^\"]*)"$/ do |text_to_type, field_name|
65
+ Then /^我在"([^\"]*)"中输入"([^\"]*)"$/ do |field_name, text_to_type|
66
66
  macro %Q|I enter "#{text_to_type}" into the "#{field_name}" field|
67
67
  end
68
68
 
69
- Then /^我在文本框"([^\"]*)"中输入"([^\"]*)"$/ do |text_to_type, field_name|
69
+ Then /^我在文本框"([^\"]*)"中输入"([^\"]*)"$/ do |field_name, text_to_type|
70
70
  macro %Q|I enter "#{text_to_type}" into the "#{field_name}" text field|
71
71
  end
72
72
 
@@ -75,7 +75,7 @@ Then /^我在"([^\"]*)"中填写"([^\"]*)"$/ do |text_field, text_to_type|
75
75
  macro %Q|I fill in "#{text_field}" with "#{text_to_type}"|
76
76
  end
77
77
 
78
- Then /^我用软键盘输入"([^\"]*)""([^\"]*)"文本框$/ do |text_to_type, field_name|
78
+ Then /^我用软键盘在文本框"([^\"]*)"中输入"([^\"]*)"$/ do |field_name, text_to_type|
79
79
  macro %Q|I use the native keyboard to enter "#{text_to_type}" into the "#{field_name}" text field|
80
80
  end
81
81
 
@@ -83,11 +83,11 @@ Then /^我在文本框中填写:$/ do |table|
83
83
  step %Q|I fill in text fields as follows:|, table
84
84
  end
85
85
 
86
- Then /^我在第(\d+)个文本框中输入"([^\"]*)"$/ do |text, index|
86
+ Then /^我在第(\d+)个文本框中输入"([^\"]*)"$/ do |index, text|
87
87
  macro %Q|I enter "#{text}" into text field number #{index}|
88
88
  end
89
89
 
90
- Then /^我用软键盘在第(\d+)个文本框中输入"([^\"]*)"$/ do |text_to_type, index|
90
+ Then /^我用软键盘在第(\d+)个文本框中输入"([^\"]*)"$/ do |index, text_to_type|
91
91
  macro %Q|I use the native keyboard to enter "#{text_to_type}" into text field number #{index}|
92
92
  end
93
93
 
@@ -171,7 +171,7 @@ Then /^我向(左|右|上|下)划第(\d+)个的x:(\d+),y:(\d+)$/ do |dir, index,
171
171
  macro %Q|I swipe #{dir} on number #{index} at x #{x} and y #{y}|
172
172
  end
173
173
 
174
- Then /^我在"([^\"]*)"上向(左|右|上|下)划$/ do |dir, mark|
174
+ Then /^我在"([^\"]*)"上向(左|右|上|下)划$/ do |mark, dir|
175
175
  dir = DIRs[dir]
176
176
  macro %Q|I swipe #{dir} on "#{mark}"|
177
177
  end
@@ -2,8 +2,8 @@ module Calabash
2
2
  module Cucumber
3
3
  module IOS
4
4
  module CN
5
- VERSION = '0.0.2'
6
- FRAMEWORK_VERSION = '0.0.2'
5
+ VERSION = '0.0.3'
6
+ FRAMEWORK_VERSION = '0.0.3'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calabash-cucumber-ios-cn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Li Jie