intentmedia-capybara-webkit 0.7.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/.gitignore +17 -0
  2. data/.rspec +2 -0
  3. data/Appraisals +7 -0
  4. data/CONTRIBUTING.md +38 -0
  5. data/Gemfile +8 -0
  6. data/Gemfile.lock +65 -0
  7. data/LICENSE +19 -0
  8. data/README.md +67 -0
  9. data/Rakefile +78 -0
  10. data/bin/Info.plist +22 -0
  11. data/capybara-webkit.gemspec +24 -0
  12. data/extconf.rb +2 -0
  13. data/gemfiles/1.0.gemfile +7 -0
  14. data/gemfiles/1.0.gemfile.lock +65 -0
  15. data/gemfiles/1.1.gemfile +7 -0
  16. data/gemfiles/1.1.gemfile.lock +65 -0
  17. data/lib/capybara-webkit.rb +1 -0
  18. data/lib/capybara/driver/webkit.rb +113 -0
  19. data/lib/capybara/driver/webkit/browser.rb +216 -0
  20. data/lib/capybara/driver/webkit/node.rb +118 -0
  21. data/lib/capybara/driver/webkit/socket_debugger.rb +43 -0
  22. data/lib/capybara/webkit.rb +11 -0
  23. data/lib/capybara_webkit_builder.rb +40 -0
  24. data/spec/browser_spec.rb +178 -0
  25. data/spec/driver_rendering_spec.rb +80 -0
  26. data/spec/driver_spec.rb +1048 -0
  27. data/spec/integration/driver_spec.rb +20 -0
  28. data/spec/integration/session_spec.rb +137 -0
  29. data/spec/self_signed_ssl_cert.rb +42 -0
  30. data/spec/spec_helper.rb +25 -0
  31. data/src/Body.h +12 -0
  32. data/src/ClearCookies.cpp +18 -0
  33. data/src/ClearCookies.h +11 -0
  34. data/src/Command.cpp +15 -0
  35. data/src/Command.h +29 -0
  36. data/src/CommandFactory.cpp +29 -0
  37. data/src/CommandFactory.h +16 -0
  38. data/src/CommandParser.cpp +68 -0
  39. data/src/CommandParser.h +29 -0
  40. data/src/Connection.cpp +82 -0
  41. data/src/Connection.h +36 -0
  42. data/src/Evaluate.cpp +84 -0
  43. data/src/Evaluate.h +22 -0
  44. data/src/Execute.cpp +16 -0
  45. data/src/Execute.h +12 -0
  46. data/src/Find.cpp +19 -0
  47. data/src/Find.h +13 -0
  48. data/src/FrameFocus.cpp +66 -0
  49. data/src/FrameFocus.h +28 -0
  50. data/src/GetCookies.cpp +22 -0
  51. data/src/GetCookies.h +14 -0
  52. data/src/Header.cpp +18 -0
  53. data/src/Header.h +11 -0
  54. data/src/Headers.cpp +11 -0
  55. data/src/Headers.h +12 -0
  56. data/src/JavascriptInvocation.cpp +14 -0
  57. data/src/JavascriptInvocation.h +19 -0
  58. data/src/NetworkAccessManager.cpp +25 -0
  59. data/src/NetworkAccessManager.h +18 -0
  60. data/src/NetworkCookieJar.cpp +101 -0
  61. data/src/NetworkCookieJar.h +15 -0
  62. data/src/Node.cpp +14 -0
  63. data/src/Node.h +13 -0
  64. data/src/Render.cpp +19 -0
  65. data/src/Render.h +12 -0
  66. data/src/Reset.cpp +20 -0
  67. data/src/Reset.h +12 -0
  68. data/src/Response.cpp +19 -0
  69. data/src/Response.h +13 -0
  70. data/src/Server.cpp +25 -0
  71. data/src/Server.h +21 -0
  72. data/src/SetCookie.cpp +18 -0
  73. data/src/SetCookie.h +11 -0
  74. data/src/SetProxy.cpp +24 -0
  75. data/src/SetProxy.h +11 -0
  76. data/src/Source.cpp +20 -0
  77. data/src/Source.h +19 -0
  78. data/src/Status.cpp +13 -0
  79. data/src/Status.h +12 -0
  80. data/src/UnsupportedContentHandler.cpp +32 -0
  81. data/src/UnsupportedContentHandler.h +18 -0
  82. data/src/Url.cpp +15 -0
  83. data/src/Url.h +12 -0
  84. data/src/Visit.cpp +21 -0
  85. data/src/Visit.h +15 -0
  86. data/src/WebPage.cpp +226 -0
  87. data/src/WebPage.h +54 -0
  88. data/src/body.cpp +11 -0
  89. data/src/capybara.js +205 -0
  90. data/src/find_command.h +24 -0
  91. data/src/main.cpp +34 -0
  92. data/src/webkit_server.pro +71 -0
  93. data/src/webkit_server.qrc +5 -0
  94. data/templates/Command.cpp +10 -0
  95. data/templates/Command.h +12 -0
  96. data/webkit_server.pro +4 -0
  97. metadata +246 -0
metadata ADDED
@@ -0,0 +1,246 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: intentmedia-capybara-webkit
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.7.2.1
6
+ platform: ruby
7
+ authors:
8
+ - thoughtbot
9
+ - Joe Ferris
10
+ - Jason Morrison
11
+ - Tristan Dunn
12
+ - Joshua Clayton
13
+ - Yuichi Tateno
14
+ - Aaron Gibralter
15
+ - Vasily Reys
16
+ - petrushka
17
+ - John Bintz
18
+ - Chad Pytel
19
+ - Christopher Meiklejohn
20
+ - John Barker
21
+ - Jeremy Wells
22
+ - Chris Griego
23
+ - Shigeya Suzuki
24
+ autorequire:
25
+ bindir: bin
26
+ cert_chain: []
27
+
28
+ date: 2011-10-20 00:00:00 -04:00
29
+ default_executable:
30
+ dependencies:
31
+ - !ruby/object:Gem::Dependency
32
+ name: capybara
33
+ version_requirements: &id001 !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: 1.0.0
39
+ - - <
40
+ - !ruby/object:Gem::Version
41
+ version: "1.2"
42
+ requirement: *id001
43
+ prerelease: false
44
+ type: :runtime
45
+ - !ruby/object:Gem::Dependency
46
+ name: rspec
47
+ version_requirements: &id002 !ruby/object:Gem::Requirement
48
+ none: false
49
+ requirements:
50
+ - - ~>
51
+ - !ruby/object:Gem::Version
52
+ version: 2.6.0
53
+ requirement: *id002
54
+ prerelease: false
55
+ type: :development
56
+ - !ruby/object:Gem::Dependency
57
+ name: sinatra
58
+ version_requirements: &id003 !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: "0"
64
+ requirement: *id003
65
+ prerelease: false
66
+ type: :development
67
+ - !ruby/object:Gem::Dependency
68
+ name: mini_magick
69
+ version_requirements: &id004 !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: "0"
75
+ requirement: *id004
76
+ prerelease: false
77
+ type: :development
78
+ - !ruby/object:Gem::Dependency
79
+ name: rake
80
+ version_requirements: &id005 !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: "0"
86
+ requirement: *id005
87
+ prerelease: false
88
+ type: :development
89
+ - !ruby/object:Gem::Dependency
90
+ name: appraisal
91
+ version_requirements: &id006 !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: "0"
97
+ requirement: *id006
98
+ prerelease: false
99
+ type: :development
100
+ description:
101
+ email: support@thoughtbot.com
102
+ executables: []
103
+
104
+ extensions:
105
+ - extconf.rb
106
+ extra_rdoc_files: []
107
+
108
+ files:
109
+ - .gitignore
110
+ - .rspec
111
+ - Appraisals
112
+ - CONTRIBUTING.md
113
+ - Gemfile
114
+ - Gemfile.lock
115
+ - LICENSE
116
+ - README.md
117
+ - Rakefile
118
+ - bin/Info.plist
119
+ - capybara-webkit.gemspec
120
+ - extconf.rb
121
+ - gemfiles/1.0.gemfile
122
+ - gemfiles/1.0.gemfile.lock
123
+ - gemfiles/1.1.gemfile
124
+ - gemfiles/1.1.gemfile.lock
125
+ - lib/capybara-webkit.rb
126
+ - lib/capybara/driver/webkit.rb
127
+ - lib/capybara/driver/webkit/browser.rb
128
+ - lib/capybara/driver/webkit/node.rb
129
+ - lib/capybara/driver/webkit/socket_debugger.rb
130
+ - lib/capybara/webkit.rb
131
+ - lib/capybara_webkit_builder.rb
132
+ - spec/browser_spec.rb
133
+ - spec/driver_rendering_spec.rb
134
+ - spec/driver_spec.rb
135
+ - spec/integration/driver_spec.rb
136
+ - spec/integration/session_spec.rb
137
+ - spec/self_signed_ssl_cert.rb
138
+ - spec/spec_helper.rb
139
+ - src/Body.h
140
+ - src/ClearCookies.cpp
141
+ - src/ClearCookies.h
142
+ - src/Command.cpp
143
+ - src/Command.h
144
+ - src/CommandFactory.cpp
145
+ - src/CommandFactory.h
146
+ - src/CommandParser.cpp
147
+ - src/CommandParser.h
148
+ - src/Connection.cpp
149
+ - src/Connection.h
150
+ - src/Evaluate.cpp
151
+ - src/Evaluate.h
152
+ - src/Execute.cpp
153
+ - src/Execute.h
154
+ - src/Find.cpp
155
+ - src/Find.h
156
+ - src/FrameFocus.cpp
157
+ - src/FrameFocus.h
158
+ - src/GetCookies.cpp
159
+ - src/GetCookies.h
160
+ - src/Header.cpp
161
+ - src/Header.h
162
+ - src/Headers.cpp
163
+ - src/Headers.h
164
+ - src/JavascriptInvocation.cpp
165
+ - src/JavascriptInvocation.h
166
+ - src/NetworkAccessManager.cpp
167
+ - src/NetworkAccessManager.h
168
+ - src/NetworkCookieJar.cpp
169
+ - src/NetworkCookieJar.h
170
+ - src/Node.cpp
171
+ - src/Node.h
172
+ - src/Render.cpp
173
+ - src/Render.h
174
+ - src/Reset.cpp
175
+ - src/Reset.h
176
+ - src/Response.cpp
177
+ - src/Response.h
178
+ - src/Server.cpp
179
+ - src/Server.h
180
+ - src/SetCookie.cpp
181
+ - src/SetCookie.h
182
+ - src/SetProxy.cpp
183
+ - src/SetProxy.h
184
+ - src/Source.cpp
185
+ - src/Source.h
186
+ - src/Status.cpp
187
+ - src/Status.h
188
+ - src/UnsupportedContentHandler.cpp
189
+ - src/UnsupportedContentHandler.h
190
+ - src/Url.cpp
191
+ - src/Url.h
192
+ - src/Visit.cpp
193
+ - src/Visit.h
194
+ - src/WebPage.cpp
195
+ - src/WebPage.h
196
+ - src/body.cpp
197
+ - src/capybara.js
198
+ - src/find_command.h
199
+ - src/main.cpp
200
+ - src/webkit_server.pro
201
+ - src/webkit_server.qrc
202
+ - templates/Command.cpp
203
+ - templates/Command.h
204
+ - webkit_server.pro
205
+ has_rdoc: true
206
+ homepage: http://github.com/thoughtbot/capybara-webkit
207
+ licenses: []
208
+
209
+ post_install_message:
210
+ rdoc_options: []
211
+
212
+ require_paths:
213
+ - lib
214
+ required_ruby_version: !ruby/object:Gem::Requirement
215
+ none: false
216
+ requirements:
217
+ - - ">="
218
+ - !ruby/object:Gem::Version
219
+ hash: 2
220
+ segments:
221
+ - 0
222
+ version: "0"
223
+ required_rubygems_version: !ruby/object:Gem::Requirement
224
+ none: false
225
+ requirements:
226
+ - - ">="
227
+ - !ruby/object:Gem::Version
228
+ hash: 2
229
+ segments:
230
+ - 0
231
+ version: "0"
232
+ requirements: []
233
+
234
+ rubyforge_project:
235
+ rubygems_version: 1.5.1
236
+ signing_key:
237
+ specification_version: 3
238
+ summary: Headless Webkit driver for Capybara
239
+ test_files:
240
+ - spec/browser_spec.rb
241
+ - spec/driver_rendering_spec.rb
242
+ - spec/driver_spec.rb
243
+ - spec/integration/driver_spec.rb
244
+ - spec/integration/session_spec.rb
245
+ - spec/self_signed_ssl_cert.rb
246
+ - spec/spec_helper.rb