rhack 1.2.1 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/README.md +21 -9
- data/ext/curb/curb.c +977 -977
- data/ext/curb/curb.h +52 -52
- data/ext/curb/curb_config.h +270 -270
- data/ext/curb/curb_easy.c +3437 -3434
- data/ext/curb/curb_easy.h +94 -94
- data/ext/curb/curb_errors.c +647 -647
- data/ext/curb/curb_errors.h +129 -129
- data/ext/curb/curb_macros.h +162 -162
- data/ext/curb/curb_multi.c +704 -702
- data/ext/curb/curb_multi.h +26 -26
- data/ext/curb/curb_postfield.c +523 -523
- data/ext/curb/curb_postfield.h +40 -40
- data/ext/curb/curb_upload.c +80 -80
- data/ext/curb/curb_upload.h +30 -30
- data/ext/curb-original/curb.c +977 -977
- data/ext/curb-original/curb.h +52 -52
- data/ext/curb-original/curb_config.h +238 -238
- data/ext/curb-original/curb_easy.c +3404 -3404
- data/ext/curb-original/curb_easy.h +90 -90
- data/ext/curb-original/curb_errors.c +647 -647
- data/ext/curb-original/curb_errors.h +129 -129
- data/ext/curb-original/curb_macros.h +159 -159
- data/ext/curb-original/curb_multi.c +633 -633
- data/ext/curb-original/curb_multi.h +26 -26
- data/ext/curb-original/curb_postfield.c +523 -523
- data/ext/curb-original/curb_postfield.h +40 -40
- data/ext/curb-original/curb_upload.c +80 -80
- data/ext/curb-original/curb_upload.h +30 -30
- data/lib/rhack/clients/base.rb +61 -10
- data/lib/rhack/clients/oauth.rb +4 -4
- data/lib/rhack/curl/easy.rb +1 -0
- data/lib/rhack/curl/global.rb +2 -0
- data/lib/rhack/curl/response.rb +4 -2
- data/lib/rhack/frame.rb +70 -32
- data/lib/rhack/js/browser/env.js +697 -697
- data/lib/rhack/js/browser/jquery.js +7180 -7180
- data/lib/rhack/js/browser/xmlsax.js +1564 -1564
- data/lib/rhack/js/browser/xmlw3cdom_1.js +1443 -1443
- data/lib/rhack/js/browser/xmlw3cdom_2.js +2744 -2744
- data/lib/rhack/page.rb +227 -68
- data/lib/rhack/scout.rb +52 -26
- data/lib/rhack/scout_squad.rb +10 -2
- data/lib/rhack/version.rb +1 -1
- data/rhack.gemspec +1 -1
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MDg3YTNjNmNlNzk5NTk1NDNkM2VkOGE4ZTVlZDkwZjQ2ODA3NTk3NA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NTNjYjI2NzZjMTc2MDg4ZDEwYmMwYmNlMThhZWMwMjc5ODRkZDY3Mw==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NDA5ZGVkZjI5MWFkNTQyNjc1YzYxNDM2NjJmZTZiMjE3N2YwMjJkYTFiN2Iw
|
10
|
+
Yjc4ODQ5OGI2Y2Y4MzYxNWZmOWViN2Q0YzYxOTQ1MzEwYmIxOTBkNjY1NDUy
|
11
|
+
ZTJkZjA0ODNhZTJjODgxMTQ4ZmExMWNhNTljYzgwNDJjZGU1ZDk=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OWY3ODAzZmM0NDZmMjEwNGI3ODU2MWM3ZGE4OGE0ZDVmNWI5YzJkYWIwZjI0
|
14
|
+
ZDMwYTFkMzVhMjA3ZjYyMDNmOTdjNGFlNzdiZGY2ZGQ1MzExNzQzNGJjYjIz
|
15
|
+
MTI5MjNmNjM5MjliZWFjYTJlYzczMTM0YTU0MDNiNmM2ZDg4NGI=
|
data/README.md
CHANGED
@@ -17,20 +17,32 @@ RHACK is Ruby Http ACcess Kit: curl-based web-client framework created for devel
|
|
17
17
|
|
18
18
|
It's still randomly documented since it's just my working tool.
|
19
19
|
|
20
|
-
#### Main goals for 1.x
|
21
|
-
|
22
|
-
* More agile response postprocessing configuration. Instead of using :json, :hash etc as a flag, define some "before filters" in the Page and chain them.
|
23
|
-
* Route :xhr option to the Scout; add some transparent control on user-agents: desktop, mobile, randomly predefined...
|
24
|
-
|
25
20
|
#### Main goals for 2.0
|
26
|
-
(if it would ever come)
|
27
21
|
|
28
|
-
*
|
29
|
-
*
|
30
|
-
*
|
22
|
+
* Documented examples with Scout, Frame and Client
|
23
|
+
* Tests for Scout and Frame to interpret requests
|
24
|
+
* Tests for Scout, Page and Page subclasses to process fictive results
|
25
|
+
* Add some transparent control on user-agents: desktop, mobile, randomly predefined...
|
31
26
|
|
32
27
|
### CHANGES
|
33
28
|
|
29
|
+
##### Version 1.2.5
|
30
|
+
|
31
|
+
* ::Scout
|
32
|
+
* Added #retry! method and fixed raise/retry workflow
|
33
|
+
|
34
|
+
* ::Page
|
35
|
+
* Added #retry? method to organize retry behaviour in subclasses
|
36
|
+
* RHACK#ReloadablePage is deprecated now
|
37
|
+
|
38
|
+
* Config
|
39
|
+
* rhack.yml generator: `rake rhack:config`
|
40
|
+
* Commented out "db" part and suppress require "rhack/storage" without Redis being loaded
|
41
|
+
|
42
|
+
* Curl
|
43
|
+
* 5xx HTTP response will call on_server_error callback instead of on_failure
|
44
|
+
* Fixed Segmentation Fault on `void curl_multi_free()'
|
45
|
+
|
34
46
|
##### Version 1.1.8
|
35
47
|
|
36
48
|
* ::Page
|