chanCrawlerGem 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.env_template +4 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/chanCrawlerGem.gemspec +51 -0
- data/example.rb +5 -0
- data/lib/chanCrawlerGem.rb +115 -0
- data/lib/chanCrawlerGem/version.rb +5 -0
- metadata +216 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: dbabf298d0219b42b41b9e55921258622b7480962006f4afde7688597fffccaf
|
4
|
+
data.tar.gz: 85fb16eb26bb05c83cca31fb453115a2cb24375a80e9ac8e4419625c33f7ca7e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7727b8c55f2ad5a38c3efb847762b033e7b8cf49c4cd20b021c5f088daf30ba7d86fbbbd26fdbad007fa4f9a6c442f69f09e573bf722b9e2e40a7238dd58fcdd
|
7
|
+
data.tar.gz: 8327e4c58555768cdc2a320766a889e6e3a8c4ea101da97352e480fbb67a3b45939d230acc782d4bb7f0bb2c728f9b9c203a4c0bf7051a34246a502528a0aaf4
|
data/.env_template
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
BASE_URL='http://boards.4chan.org/' # This is the value that you should set for 4chan.org, you can try to set another chan board, haven't tried that yet tho
|
2
|
+
BOARDS='g,sci' # You need to list the board in which you want to search for content as they are here, delimited by commas without space
|
3
|
+
DEST_FOLDER='/path/to/some_folder/here/' # This is the path to a folder where you want the content to be downloaded to
|
4
|
+
KEY_WORDS='graphs,wow,doge' # Here you should list the words that should be contained in the thread title. If a thread contains the word, all the contents will be downloaded
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at iulia@stessa.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2021 Iulia Chtian
|
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,52 @@
|
|
1
|
+
# ChanCrawlerGem
|
2
|
+
|
3
|
+
This gem scowers 4chan (or any chan copy theoretically) searching for threads that
|
4
|
+
contains key words specified by you on boards specified by you and downloads
|
5
|
+
all the images, gifs and webms to a specified folder
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem 'chanCrawlerGem'
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install chanCrawlerGem
|
21
|
+
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
Set up a .env following the pattern described in the .env_template and then run ChanCrawlerGem.give_me_the_documents
|
25
|
+
as shown in the example.rb file. In facut, simply running the example.rb file after creating the .env will work just fine
|
26
|
+
|
27
|
+
So just to be clear here's a step by step:
|
28
|
+
### Step 1 Create .env file
|
29
|
+
|
30
|
+
For this step use the .env_template provided and fill in the desired values
|
31
|
+
|
32
|
+
### Step 2 Create a downloads directory
|
33
|
+
|
34
|
+
Create the directory and put it's path in the DEST_FOLDER variable
|
35
|
+
|
36
|
+
### Step 3 Create the script
|
37
|
+
|
38
|
+
Create a simple script that requires the gem and runs the "give_me_the_documents" method like so
|
39
|
+
|
40
|
+
```ruby
|
41
|
+
require 'chanCrawlerGem'
|
42
|
+
|
43
|
+
ChanCrawlerGem.give_me_the_documents
|
44
|
+
```
|
45
|
+
|
46
|
+
## License
|
47
|
+
|
48
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
49
|
+
|
50
|
+
## Code of Conduct
|
51
|
+
|
52
|
+
Everyone interacting in the ChanCrawlerGem project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/chanCrawlerGem/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'chanCrawlerGem'
|
6
|
+
|
7
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
8
|
+
# with your gem easier. You can also use a different console, if you like.
|
9
|
+
|
10
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
+
# require "pry"
|
12
|
+
# Pry.start
|
13
|
+
|
14
|
+
require 'irb'
|
15
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'chanCrawlerGem/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'chanCrawlerGem'
|
9
|
+
spec.version = ChanCrawlerGem::VERSION
|
10
|
+
spec.authors = ['Lithiil']
|
11
|
+
spec.email = ['tudorjamal@gmail.com']
|
12
|
+
|
13
|
+
spec.summary = 'Test'
|
14
|
+
spec.description = 'test'
|
15
|
+
spec.homepage = 'https://github.com/chanCrawler'
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
19
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
20
|
+
if spec.respond_to?(:metadata)
|
21
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
22
|
+
|
23
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
24
|
+
spec.metadata['source_code_uri'] = 'https://github.com/chanCrawler'
|
25
|
+
spec.metadata['changelog_uri'] = 'https://github.com/chanCrawler'
|
26
|
+
else
|
27
|
+
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
28
|
+
'public gem pushes.'
|
29
|
+
end
|
30
|
+
|
31
|
+
# Specify which files should be added to the gem when it is released.
|
32
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
33
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
34
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
35
|
+
end
|
36
|
+
spec.bindir = 'exe'
|
37
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
38
|
+
spec.require_paths = ['lib']
|
39
|
+
|
40
|
+
spec.add_development_dependency 'bundler', '~> 1.17'
|
41
|
+
spec.add_development_dependency 'dotenv'
|
42
|
+
spec.add_development_dependency 'down'
|
43
|
+
spec.add_development_dependency 'fileutils'
|
44
|
+
spec.add_development_dependency 'httparty'
|
45
|
+
spec.add_development_dependency 'json'
|
46
|
+
spec.add_development_dependency 'nokogiri'
|
47
|
+
spec.add_development_dependency 'open-uri'
|
48
|
+
spec.add_development_dependency 'pry'
|
49
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
50
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
51
|
+
end
|
data/example.rb
ADDED
@@ -0,0 +1,115 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'chanCrawlerGem/version'
|
4
|
+
require 'dotenv/load'
|
5
|
+
require 'httparty'
|
6
|
+
require 'pry'
|
7
|
+
require 'nokogiri'
|
8
|
+
require 'open-uri'
|
9
|
+
require 'down'
|
10
|
+
require 'fileutils'
|
11
|
+
|
12
|
+
module ChanCrawlerGem
|
13
|
+
class Error < StandardError; end
|
14
|
+
Dotenv.require_keys('BASE_URL', 'BOARDS', 'DEST_FOLDER', 'KEY_WORDS')
|
15
|
+
|
16
|
+
class Collector
|
17
|
+
attr_reader :boards, :key_words, :relevant_links
|
18
|
+
|
19
|
+
def initialize(boards, key_words)
|
20
|
+
@relevant_links = []
|
21
|
+
@boards = boards
|
22
|
+
@@base_url = ENV['BASE_URL']
|
23
|
+
@key_words = key_words
|
24
|
+
end
|
25
|
+
|
26
|
+
def board_catalog_urls
|
27
|
+
# puts 'Getting catalogs'
|
28
|
+
catalogs = {}
|
29
|
+
boards.each { |board| catalogs[board] = "http://a.4cdn.org/#{board}/catalog.json" }
|
30
|
+
catalogs
|
31
|
+
end
|
32
|
+
|
33
|
+
def thread_relevant?(thread)
|
34
|
+
return false if thread['com'].nil?
|
35
|
+
|
36
|
+
# puts "Checking thread relevancy for #{thread['com']}"
|
37
|
+
@key_words.each do |word|
|
38
|
+
return false unless thread['com']
|
39
|
+
.downcase
|
40
|
+
.include?(word.downcase) && thread['images']
|
41
|
+
.positive?
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
def analyze_threads(threads, board)
|
46
|
+
# puts 'Analyzing thread list'
|
47
|
+
threads.each do |thread|
|
48
|
+
if thread_relevant?(thread)
|
49
|
+
relevant_links.push "#{@@base_url}#{board}/thread/#{thread['no']}"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
def get_relevant_threads
|
55
|
+
# puts 'Retrieving relevant threads'
|
56
|
+
catalogs = board_catalog_urls
|
57
|
+
catalogs.each do |board, catalog|
|
58
|
+
catalog_content = JSON.parse(HTTParty.get(catalog).body)
|
59
|
+
next if catalog_content.count < 1
|
60
|
+
|
61
|
+
catalog_content.each do |page|
|
62
|
+
next unless page['threads'].count.positive?
|
63
|
+
|
64
|
+
analyze_threads(page['threads'], board)
|
65
|
+
end
|
66
|
+
end
|
67
|
+
# puts 'Relevant threads retrieved'
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
class DownloadManager
|
72
|
+
attr_reader :download_dest
|
73
|
+
|
74
|
+
def initialize(download_destination)
|
75
|
+
@download_dest = download_destination
|
76
|
+
end
|
77
|
+
|
78
|
+
def get_thread_contents(thread)
|
79
|
+
# puts "Parsing #{thread} for content"
|
80
|
+
document = Nokogiri::HTML(URI.open(thread))
|
81
|
+
results = document.css('.board .fileThumb')
|
82
|
+
result_links = results.map { |t| t[:href] }
|
83
|
+
end
|
84
|
+
|
85
|
+
def download_thread_contents(urls)
|
86
|
+
urls.each do |url|
|
87
|
+
download(url) if already_present?(url) == false
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
def download(resource_url)
|
92
|
+
puts "Downloading #{resource_url}"
|
93
|
+
tmpfile = Down.download("http:#{resource_url}")
|
94
|
+
FileUtils.mv(tmpfile.path, "#{download_dest}#{tmpfile
|
95
|
+
.original_filename}")
|
96
|
+
puts 'Downloaded successfully'
|
97
|
+
end
|
98
|
+
|
99
|
+
def already_present?(item_name)
|
100
|
+
name = item_name.slice(15, item_name.length)
|
101
|
+
false unless File.file?("#{download_dest}/#{name}")
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
def self.give_me_the_documents
|
106
|
+
collector = ChanCrawlerGem::Collector.new(ENV['BOARDS'].split(','),
|
107
|
+
ENV['KEY_WORDS'].split(','))
|
108
|
+
collector.get_relevant_threads
|
109
|
+
downloader = ChanCrawlerGem::DownloadManager.new(ENV['DEST_FOLDER'])
|
110
|
+
collector.relevant_links.each do |thread|
|
111
|
+
downloader.download_thread_contents(downloader
|
112
|
+
.get_thread_contents(thread))
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
metadata
ADDED
@@ -0,0 +1,216 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chanCrawlerGem
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Lithiil
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-04-09 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.17'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.17'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: dotenv
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: down
|
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: fileutils
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: httparty
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: json
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: nokogiri
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: open-uri
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rake
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '10.0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '10.0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rspec
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '3.0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '3.0'
|
167
|
+
description: test
|
168
|
+
email:
|
169
|
+
- tudorjamal@gmail.com
|
170
|
+
executables: []
|
171
|
+
extensions: []
|
172
|
+
extra_rdoc_files: []
|
173
|
+
files:
|
174
|
+
- ".env_template"
|
175
|
+
- ".gitignore"
|
176
|
+
- ".rspec"
|
177
|
+
- ".travis.yml"
|
178
|
+
- CODE_OF_CONDUCT.md
|
179
|
+
- Gemfile
|
180
|
+
- LICENSE.txt
|
181
|
+
- README.md
|
182
|
+
- Rakefile
|
183
|
+
- bin/console
|
184
|
+
- bin/setup
|
185
|
+
- chanCrawlerGem.gemspec
|
186
|
+
- example.rb
|
187
|
+
- lib/chanCrawlerGem.rb
|
188
|
+
- lib/chanCrawlerGem/version.rb
|
189
|
+
homepage: https://github.com/chanCrawler
|
190
|
+
licenses:
|
191
|
+
- MIT
|
192
|
+
metadata:
|
193
|
+
allowed_push_host: https://rubygems.org
|
194
|
+
homepage_uri: https://github.com/chanCrawler
|
195
|
+
source_code_uri: https://github.com/chanCrawler
|
196
|
+
changelog_uri: https://github.com/chanCrawler
|
197
|
+
post_install_message:
|
198
|
+
rdoc_options: []
|
199
|
+
require_paths:
|
200
|
+
- lib
|
201
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
|
+
requirements:
|
208
|
+
- - ">="
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: '0'
|
211
|
+
requirements: []
|
212
|
+
rubygems_version: 3.0.6
|
213
|
+
signing_key:
|
214
|
+
specification_version: 4
|
215
|
+
summary: Test
|
216
|
+
test_files: []
|