the_mask 0.2.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 52659c1a94c839e53e22a7f8f102f669131a9c57
4
+ data.tar.gz: 68868c3f8b546f9dd2f2e97f281b56886b3b9bc9
5
+ SHA512:
6
+ metadata.gz: 08ae3c783d2502c83ba962cc4ddb37f32dfb3bd992a33f32f1a7a2f7f5fa681772453804d1e3e11feca3e278b1d2962f19851b801698f31962e10fb26f6411bf
7
+ data.tar.gz: c5b7ec9fc1bc9f64694fe61701f9f7e7d67c9161b39cbadfaa6813596c124d5681ecec4ff96d2529c7e8d7538ed84eaff9b258268adfc005873483a0378ebb03
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /.idea/
11
+ .DS_Store
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.2
4
+ before_install: gem install bundler -v 1.10.6
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in the_mask.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Saoud Khalifah
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,61 @@
1
+ # TheMask
2
+
3
+ ![alt tag](http://i.imgur.com/gecDZon.jpg)
4
+
5
+ Tired of issues involved with data mining? Put on The Mask and try data mining designed for the next generation.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'the_mask'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install the_mask
22
+
23
+ ## Usage
24
+
25
+ `mask_connect = TheMask::Connect.new(read_timeout: 4, open_timeout: 4, max_tries: 4)
26
+ mask_connect.open_url 'http://www.abcdefg.com'
27
+ `
28
+
29
+ This will return the body data from the supplied URL.
30
+
31
+ Available options:
32
+ `read_timeout` = Read timeout in seconds (default: 3)
33
+ `open_timeout` = Open timeout in seconds (default: 3)
34
+ `timeout` = Timeout for whole procedure in seconds (default: 5)
35
+ `max_tries` = Maximum attempts in reading the page (default: 3)
36
+ `min_page_length` = Minimum page length in bytes, if not satisfied, reattempt retrieval (default: 100 bytes)
37
+ `reset_ua` = Reset user agent on every request. (default: true)
38
+ `force` = Force continuous opening of page until data is retrieved (default: false)
39
+
40
+ Proxy options example:
41
+ `mask_connect = TheMask::Connect.new(proxy: { ip: '127.0.0.1', port: 8080, username: 'asd333', password: 'asd333' })`
42
+
43
+ Or supply multiple proxies with an array:
44
+ `mask_connect = TheMask::Connect.new(proxies: ['111.11.1.1:80', '10.10.101.10:800', '192.10.10.1:80:sdad:asdasd'])`
45
+
46
+
47
+ ## Development
48
+
49
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
50
+
51
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
52
+
53
+ ## Contributing
54
+
55
+ Bug reports and pull requests are welcome on GitHub at https://github.com/saouddk/the_mask. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
56
+
57
+
58
+ ## License
59
+
60
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
61
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "the_mask"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,13 @@
1
+ module TheMask
2
+ class Connect
3
+ attr_accessor :socket
4
+
5
+ def initialize(options = {})
6
+ @socket = TheMask::Socket.new options
7
+ end
8
+
9
+ def open_url(url)
10
+ @socket.open_url url
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,35 @@
1
+ module TheMask
2
+ class ProxyList
3
+ class Proxy
4
+ attr_accessor :ip, :port, :username, :password
5
+
6
+ def initialize(string = '')
7
+ unless string.empty?
8
+ # Proxy string format = ip:port:username:password
9
+ split_str = string.split ":"
10
+ @ip = split_str[0].to_s
11
+ @port = split_str[1].to_i
12
+ @username = split_str[2].to_s unless split_str[2].nil?
13
+ @password = split_str[3].to_s unless split_str[3].nil?
14
+ else
15
+ @ip = nil
16
+ @port = 0
17
+ @username = nil
18
+ @password = nil
19
+ end
20
+ end
21
+
22
+ end
23
+
24
+ def initialize(arr = [])
25
+ @proxy_list ||= []
26
+ arr.each{ |element| @proxy_list << [TheMask::ProxyList::Proxy.new(element), 0] } unless arr.empty?
27
+ end
28
+
29
+ def get_proxy
30
+ @proxy_list = @proxy_list.sort_by(&:last) # Least used proxy
31
+ @proxy_list[0] = [@proxy_list[0][0], @proxy_list[0][1] + 1]
32
+ @proxy_list[0][0]
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,103 @@
1
+ module TheMask
2
+ class Socket
3
+ #TODO: Move from Mechanize to native Sockets ;)
4
+ DEFAULT_OPEN_TIMEOUT = 3 #seconds
5
+ DEFAULT_READ_TIMEOUT = 3 #seconds
6
+ GENERAL_TIMEOUT = 5 #seconds
7
+ MAXIMUM_TRIES = 3
8
+ MINIMUM_PAGE_LENGTH = 100 #bytes
9
+ FORCE_READ = false
10
+ RESET_USER_AGENT = true
11
+
12
+ def initialize(options = {})
13
+ @proxies = nil
14
+ @timeout = options[:timeout] || GENERAL_TIMEOUT
15
+ @max_tries = options[:max_tries] || MAXIMUM_TRIES
16
+ @force = options[:force] || FORCE_READ
17
+ @min_page_length = options[:min_page_length] || MINIMUM_PAGE_LENGTH
18
+ @reset_user_agent = options[:reset_ua] || RESET_USER_AGENT
19
+
20
+ @agent = Mechanize.new
21
+
22
+ @agent.open_timeout = options[:open_timeout] || DEFAULT_OPEN_TIMEOUT
23
+ @agent.read_timeout = options[:read_timeout] || DEFAULT_READ_TIMEOUT
24
+
25
+ unless options[:proxies]
26
+ if options[:proxy]
27
+ if options[:proxy][:username] && options[:proxy][:password]
28
+ @agent.set_proxy options[:proxy][:ip], options[:proxy][:port], options[:proxy][:username], options[:proxy][:password]
29
+ else
30
+ @agent.set_proxy options[:proxy][:ip], options[:proxy][:port]
31
+ end
32
+ end
33
+ else
34
+ @proxies = TheMask::ProxyList.new(options[:proxies])
35
+ end
36
+
37
+ @agent.user_agent = TheMask.get_random_user_agent_str unless @reset_user_agent
38
+ end
39
+
40
+ def open_url(url)
41
+ read_proc = Proc.new do
42
+ tries = 0
43
+ page_data = nil
44
+ begin
45
+ tries += 1
46
+
47
+ if !@force && tries > @max_tries
48
+ raise "TheMask: maximum tries reached for URL = #{url} after #{tries} tries. Check the availability of the host or your proxy settings."
49
+ end
50
+
51
+ @agent.user_agent = TheMask.get_random_user_agent_str if @reset_user_agent
52
+
53
+ unless @proxies.nil?
54
+ proxy = @proxies.get_proxy
55
+
56
+ if proxy.username && proxy.password
57
+ @agent.set_proxy proxy.ip, proxy.port, proxy.username, proxy.password
58
+ else
59
+ @agent.set_proxy proxy.ip, proxy.port
60
+ end
61
+ end
62
+
63
+ Timeout::timeout(@timeout) do
64
+ page_data = @agent.get url
65
+ end
66
+ rescue Errno::ETIMEDOUT => e
67
+ retry
68
+ rescue Net::HTTP::Persistent::Error => e
69
+ retry
70
+ rescue Timeout::Error => e
71
+ retry
72
+ rescue SignalException => e
73
+ retry
74
+ rescue Net::HTTPNotFound => e
75
+ retry
76
+ rescue URI::InvalidURIError => e
77
+ retry
78
+ rescue Mechanize::ResponseCodeError => e
79
+ retry
80
+ rescue Net::OpenTimeout => e
81
+ retry
82
+ rescue Net::HTTPInternalServerError => e
83
+ retry
84
+ rescue
85
+ retry
86
+ end
87
+ page_data
88
+ end
89
+
90
+ if @force
91
+ while true
92
+ data = read_proc.call
93
+
94
+ unless data.nil? || data.body.to_s.empty? || data.body.to_s.length < @min_page_length
95
+ return data.body
96
+ end
97
+ end
98
+ end
99
+
100
+ read_proc.call.body
101
+ end
102
+ end
103
+ end
@@ -0,0 +1,57 @@
1
+ module TheMask
2
+ #TODO: Add User Agents by OS, Browser or Device
3
+
4
+ USER_AGENT_STRINGS =
5
+ [
6
+ "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11",
7
+ "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0",
8
+ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17",
9
+ "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)",
10
+ "Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1",
11
+ "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FunWebProducts; .NET CLR 1.1.4322; PeoplePal 6.2)",
12
+ "Mozilla/5.0 (Windows NT 5.1; rv:5.0.1) Gecko/20100101 Firefox/5.0.1",
13
+ "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
14
+ "Opera/9.80 (Windows NT 5.1; U; en) Presto/2.10.289 Version/12.01",
15
+ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11",
16
+ "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)",
17
+ "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) )",
18
+ "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)",
19
+ "Mozilla/5.0 (Windows NT 6.1; rv:2.0b7pre) Gecko/20100921 Firefox/4.0b7pre",
20
+ "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)",
21
+ "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11",
22
+ "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)",
23
+ "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11",
24
+ "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1",
25
+ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11",
26
+ "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.0) Opera 7.02 Bork-edition [en]",
27
+ "Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.02",
28
+ "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11",
29
+ "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0",
30
+ "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MRA 5.8 (build 4157); .NET CLR 2.0.50727; AskTbPTV/5.11.3.15590)",
31
+ "Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0",
32
+ "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11",
33
+ "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0",
34
+ "Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20100101 Firefox/16.0",
35
+ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2",
36
+ "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)",
37
+ "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.91 Safari/537.11",
38
+ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17",
39
+ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0",
40
+ "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0",
41
+ "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler ; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727)",
42
+ "Mozilla/5.0 (iPad; CPU OS 6_0_1 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A523 Safari/8536.25",
43
+ "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6",
44
+ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11",
45
+ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20100101 Firefox/16.0",
46
+ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11",
47
+ "Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0",
48
+ "Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0",
49
+ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10; rv:33.0) Gecko/20100101 Firefox/31.0",
50
+ "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36",
51
+ "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10; rv:33.0) Gecko/20100101 Firefox/33.0"
52
+ ]
53
+
54
+ def self.get_random_user_agent_str
55
+ USER_AGENT_STRINGS[rand(0..USER_AGENT_STRINGS.length-1)]
56
+ end
57
+ end
@@ -0,0 +1,3 @@
1
+ module TheMask
2
+ VERSION = "0.2.0"
3
+ end
data/lib/the_mask.rb ADDED
@@ -0,0 +1,11 @@
1
+ require 'mechanize'
2
+
3
+ require 'the_mask/version'
4
+
5
+ module TheMask
6
+ end
7
+
8
+ require 'the_mask/user_agents'
9
+ require 'the_mask/proxy_list'
10
+ require 'the_mask/socket'
11
+ require 'the_mask/connect'
Binary file
Binary file
Binary file
data/the_mask.gemspec ADDED
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'the_mask/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "the_mask"
8
+ spec.version = TheMask::VERSION
9
+ spec.authors = ["Saoud Khalifah"]
10
+ spec.email = ["saouddk@gmail.com"]
11
+
12
+ spec.summary = %q{Socket obfuscation for purposes of data mining/gathering.}
13
+ spec.description = %q{TheMask provides functionality for the purposes of data mining.}
14
+ spec.homepage = "http://github.com/saouddk/the_mask"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency 'bundler', '~> 1.10'
23
+ spec.add_development_dependency 'rake', '~> 10.0'
24
+ spec.add_development_dependency 'rspec', '~> 0'
25
+
26
+ spec.add_dependency 'mechanize', '~> 2.7'
27
+ end
metadata ADDED
@@ -0,0 +1,120 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: the_mask
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Saoud Khalifah
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-09-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: mechanize
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.7'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.7'
69
+ description: TheMask provides functionality for the purposes of data mining.
70
+ email:
71
+ - saouddk@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - ".rspec"
78
+ - ".travis.yml"
79
+ - CODE_OF_CONDUCT.md
80
+ - Gemfile
81
+ - LICENSE.txt
82
+ - README.md
83
+ - Rakefile
84
+ - bin/console
85
+ - bin/setup
86
+ - lib/the_mask.rb
87
+ - lib/the_mask/connect.rb
88
+ - lib/the_mask/proxy_list.rb
89
+ - lib/the_mask/socket.rb
90
+ - lib/the_mask/user_agents.rb
91
+ - lib/the_mask/version.rb
92
+ - the_mask-0.1.0.gem
93
+ - the_mask-0.1.1.gem
94
+ - the_mask-0.1.2.gem
95
+ - the_mask.gemspec
96
+ homepage: http://github.com/saouddk/the_mask
97
+ licenses:
98
+ - MIT
99
+ metadata: {}
100
+ post_install_message:
101
+ rdoc_options: []
102
+ require_paths:
103
+ - lib
104
+ required_ruby_version: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ required_rubygems_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
114
+ requirements: []
115
+ rubyforge_project:
116
+ rubygems_version: 2.4.5
117
+ signing_key:
118
+ specification_version: 4
119
+ summary: Socket obfuscation for purposes of data mining/gathering.
120
+ test_files: []