rhack 1.2.7 → 1.2.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MDg3YTNjNmNlNzk5NTk1NDNkM2VkOGE4ZTVlZDkwZjQ2ODA3NTk3NA==
5
- data.tar.gz: !binary |-
6
- NTNjYjI2NzZjMTc2MDg4ZDEwYmMwYmNlMThhZWMwMjc5ODRkZDY3Mw==
2
+ SHA1:
3
+ metadata.gz: 59733c3e455fc7bc060d4d5aaa5c72d867902175
4
+ data.tar.gz: 0b5ba10c17f10d1a61abdd54b2825b997aa33ae5
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NDA5ZGVkZjI5MWFkNTQyNjc1YzYxNDM2NjJmZTZiMjE3N2YwMjJkYTFiN2Iw
10
- Yjc4ODQ5OGI2Y2Y4MzYxNWZmOWViN2Q0YzYxOTQ1MzEwYmIxOTBkNjY1NDUy
11
- ZTJkZjA0ODNhZTJjODgxMTQ4ZmExMWNhNTljYzgwNDJjZGU1ZDk=
12
- data.tar.gz: !binary |-
13
- OWY3ODAzZmM0NDZmMjEwNGI3ODU2MWM3ZGE4OGE0ZDVmNWI5YzJkYWIwZjI0
14
- ZDMwYTFkMzVhMjA3ZjYyMDNmOTdjNGFlNzdiZGY2ZGQ1MzExNzQzNGJjYjIz
15
- MTI5MjNmNjM5MjliZWFjYTJlYzczMTM0YTU0MDNiNmM2ZDg4NGI=
6
+ metadata.gz: 6e2ac91fcc005974dbf5ede8276398197b60bee078a00f058f2d96f50e6cc22106bf9a18593aaaadddb8fd21555cdce05eb556563a5add4f86bfc1c94a01a897
7
+ data.tar.gz: 8d02020626a8cc572dc700208b885f0c29e1dade67d62a2f80decffc28a07ecd359e56741b4acc086f37a3204ba657125d7dff348732f520cd5766316b0bea3d
data/ext/curb/extconf.rb CHANGED
@@ -2,6 +2,9 @@ require 'mkmf'
2
2
 
3
3
  dir_config('curl')
4
4
 
5
+ # https://github.com/sparklemotion/nokogiri/issues/680
6
+ $CFLAGS << ' -Wno-format-security'
7
+
5
8
  if find_executable('curl-config')
6
9
  $CFLAGS << " #{`curl-config --cflags`.strip} -g"
7
10
  if ENV['STATIC_BUILD']
data/lib/rhack/page.rb CHANGED
@@ -513,6 +513,7 @@ module RHACK
513
513
  ### Pages with specific processing
514
514
 
515
515
  class XmlPage < Page
516
+ __init__
516
517
 
517
518
  # override this in a subclass
518
519
  # MUST return self if successful
@@ -530,6 +531,7 @@ module RHACK
530
531
 
531
532
 
532
533
  class HtmlPage < Page
534
+ __init__
533
535
 
534
536
  # override this in a subclass
535
537
  # MUST return self if successful
@@ -547,6 +549,7 @@ module RHACK
547
549
 
548
550
 
549
551
  class JsonPage < Page
552
+ __init__
550
553
 
551
554
  # override this in a subclass
552
555
  # MUST return self if successful
@@ -564,6 +567,7 @@ module RHACK
564
567
 
565
568
 
566
569
  class HashPage < Page
570
+ __init__
567
571
 
568
572
  # override this in a subclass
569
573
  # MUST return self if successful
data/lib/rhack/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RHACK
2
- VERSION = '1.2.7'
2
+ VERSION = '1.2.8'
3
3
  end
data/rhack.gemspec CHANGED
@@ -16,13 +16,13 @@ Gem::Specification.new do |spec|
16
16
  spec.files = `git ls-files`.split($/)
17
17
  spec.require_paths = ["lib"]
18
18
 
19
- spec.add_runtime_dependency "activesupport"
19
+ spec.add_runtime_dependency "activesupport", "~> 3"
20
20
  #spec.add_runtime_dependency "redis"
21
- spec.add_runtime_dependency "rmtools", ">= 2.3.6"
22
- spec.add_runtime_dependency "libxml-ruby"
21
+ spec.add_runtime_dependency "rmtools", "~> 2.3"
22
+ spec.add_runtime_dependency "libxml-ruby", "~> 2.7"
23
23
 
24
24
  spec.extensions << 'ext/curb/extconf.rb'
25
25
 
26
- spec.add_development_dependency "bundler"
27
- spec.add_development_dependency "rake"
26
+ spec.add_development_dependency "bundler", "~> 0"
27
+ spec.add_development_dependency "rake", "~> 0"
28
28
  end
metadata CHANGED
@@ -1,86 +1,86 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.7
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Baev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-29 00:00:00.000000000 Z
11
+ date: 2014-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rmtools
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 2.3.6
33
+ version: '2.3'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 2.3.6
40
+ version: '2.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: libxml-ruby
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '2.7'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '2.7'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description: ! 'RHACK is Ruby Http ACcess Kit: curl-based web-client framework created
83
+ description: 'RHACK is Ruby Http ACcess Kit: curl-based web-client framework created
84
84
  for developing web-scrapers/bots.\n\nFeatures:\nAsynchronous, still EventMachine
85
85
  independent\nFast as on simple queries as on high load\n3 levels of flexible configuration\nWeb-client
86
86
  abstraction for creating scrapers included'
@@ -176,12 +176,12 @@ require_paths:
176
176
  - lib
177
177
  required_ruby_version: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - ! '>='
179
+ - - '>='
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
- - - ! '>='
184
+ - - '>='
185
185
  - !ruby/object:Gem::Version
186
186
  version: '0'
187
187
  requirements: []
@@ -191,3 +191,4 @@ signing_key:
191
191
  specification_version: 4
192
192
  summary: Curl-based web-client framework created for developing web-scrapers/bots
193
193
  test_files: []
194
+ has_rdoc: