frank-cucumber 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,2 +1,9 @@
1
1
  require 'bundler'
2
2
  Bundler::GemHelper.install_tasks
3
+
4
+ task :edit_version do
5
+ exec "vim #{File.dirname(__FILE__)}/lib/frank-cucumber/version.rb"
6
+ end
7
+
8
+ task :ev => :edit_version
9
+
@@ -29,6 +29,7 @@
29
29
  %label(for="query") Selector
30
30
  %input#query(placeholder="label marked:'Search'")
31
31
  %button#flash_button Flash
32
+ %button#shelley_flash_button Flash using Shelley
32
33
  %td
33
34
  #refresh
34
35
  %img#loading(src="images/ajax-loader.gif")
@@ -29,6 +29,7 @@
29
29
  <label for='query'>Selector</label>
30
30
  <input id='query' placeholder="label marked:'Search'" />
31
31
  <button id='flash_button'>Flash</button>
32
+ <button id='shelley_flash_button'>Flash using Shelley</button>
32
33
  </div>
33
34
  </td>
34
35
  <td>
@@ -380,9 +380,10 @@ $(document).ready(function() {
380
380
 
381
381
 
382
382
 
383
- function sendFlashCommand( selector ) {
383
+ function sendFlashCommand( selector, use_shelley ) {
384
384
  var command = {
385
385
  query: selector,
386
+ selector_engine: use_shelley ? 'shelley_compat' : 'uiquery',
386
387
  operation: {
387
388
  method_name: 'flash',
388
389
  arguments: []
@@ -394,7 +395,7 @@ $(document).ready(function() {
394
395
  type: "POST",
395
396
  dataType: "json",
396
397
  data: JSON.stringify( command ),
397
- url: symbiote.baseUrlFor( "/map" ),
398
+ url: symbiote.baseUrlFor( '/map' ),
398
399
  success: function(data) {
399
400
  if( isErrorResponse( data ) ) {
400
401
  displayErrorResponse( data );
@@ -481,7 +482,11 @@ $(document).ready(function() {
481
482
  });
482
483
 
483
484
  $('#flash_button').click( function(){
484
- sendFlashCommand( $("input#query").val() );
485
+ sendFlashCommand( $("input#query").val(), false );
486
+ });
487
+
488
+ $('#shelley_flash_button').click( function(){
489
+ sendFlashCommand( $("input#query").val(), true );
485
490
  });
486
491
 
487
492
 
Binary file
@@ -1,5 +1,5 @@
1
1
  module Frank
2
2
  module Cucumber
3
- VERSION = "0.8.3"
3
+ VERSION = "0.8.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,80 +1,104 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: frank-cucumber
3
- version: !ruby/object:Gem::Version
4
- version: 0.8.3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 55
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 8
9
+ - 4
10
+ version: 0.8.4
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Pete Hodgson
9
14
  - Derek Longmuir
10
15
  autorequire:
11
16
  bindir: bin
12
17
  cert_chain: []
13
- date: 2011-11-14 00:00:00.000000000Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
18
+
19
+ date: 2011-11-15 00:00:00 Z
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
16
22
  name: cucumber
17
- requirement: &2156701760 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
18
25
  none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: '0'
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
23
33
  type: :runtime
24
- prerelease: false
25
- version_requirements: *2156701760
26
- - !ruby/object:Gem::Dependency
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
27
36
  name: rspec
28
- requirement: &2156701180 !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
29
39
  none: false
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: '2.0'
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 2
46
+ - 0
47
+ version: "2.0"
34
48
  type: :runtime
35
- prerelease: false
36
- version_requirements: *2156701180
37
- - !ruby/object:Gem::Dependency
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
38
51
  name: sim_launcher
39
- requirement: &2156700660 !ruby/object:Gem::Requirement
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
40
54
  none: false
41
- requirements:
42
- - - ! '>='
43
- - !ruby/object:Gem::Version
44
- version: '0'
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
61
+ version: "0"
45
62
  type: :runtime
46
- prerelease: false
47
- version_requirements: *2156700660
48
- - !ruby/object:Gem::Dependency
63
+ version_requirements: *id003
64
+ - !ruby/object:Gem::Dependency
49
65
  name: plist
50
- requirement: &2156700140 !ruby/object:Gem::Requirement
66
+ prerelease: false
67
+ requirement: &id004 !ruby/object:Gem::Requirement
51
68
  none: false
52
- requirements:
53
- - - ! '>='
54
- - !ruby/object:Gem::Version
55
- version: '0'
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ hash: 3
73
+ segments:
74
+ - 0
75
+ version: "0"
56
76
  type: :runtime
57
- prerelease: false
58
- version_requirements: *2156700140
59
- - !ruby/object:Gem::Dependency
77
+ version_requirements: *id004
78
+ - !ruby/object:Gem::Dependency
60
79
  name: json
61
- requirement: &2156699640 !ruby/object:Gem::Requirement
80
+ prerelease: false
81
+ requirement: &id005 !ruby/object:Gem::Requirement
62
82
  none: false
63
- requirements:
64
- - - ! '>='
65
- - !ruby/object:Gem::Version
66
- version: '0'
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ hash: 3
87
+ segments:
88
+ - 0
89
+ version: "0"
67
90
  type: :runtime
68
- prerelease: false
69
- version_requirements: *2156699640
91
+ version_requirements: *id005
70
92
  description: Use cucumber to test native iOS apps via Frank
71
- email:
93
+ email:
72
94
  - gems@thepete.net
73
- executables:
95
+ executables:
74
96
  - frank-skeleton
75
97
  extensions: []
98
+
76
99
  extra_rdoc_files: []
77
- files:
100
+
101
+ files:
78
102
  - .gitignore
79
103
  - Gemfile
80
104
  - Rakefile
@@ -121,26 +145,36 @@ files:
121
145
  - lib/frank-cucumber/version.rb
122
146
  homepage: http://rubygems.org/gems/frank-cucumber
123
147
  licenses: []
148
+
124
149
  post_install_message:
125
150
  rdoc_options: []
126
- require_paths:
151
+
152
+ require_paths:
127
153
  - lib
128
- required_ruby_version: !ruby/object:Gem::Requirement
154
+ required_ruby_version: !ruby/object:Gem::Requirement
129
155
  none: false
130
- requirements:
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: '0'
134
- required_rubygems_version: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ hash: 3
160
+ segments:
161
+ - 0
162
+ version: "0"
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
135
164
  none: false
136
- requirements:
137
- - - ! '>='
138
- - !ruby/object:Gem::Version
139
- version: '0'
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ hash: 3
169
+ segments:
170
+ - 0
171
+ version: "0"
140
172
  requirements: []
173
+
141
174
  rubyforge_project:
142
- rubygems_version: 1.8.10
175
+ rubygems_version: 1.8.11
143
176
  signing_key:
144
177
  specification_version: 3
145
178
  summary: Use cucumber to test native iOS apps via Frank
146
179
  test_files: []
180
+