javlibrary 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -2
- data/lib/javlibrary.rb +3 -5
- data/lib/javlibrary/version.rb +2 -2
- metadata +2 -9
- data/javlibrary-0.1.0.gem +0 -0
- data/lib/javlibrary/database.rb +0 -0
- data/lib/javlibrary/downloader.rb +0 -0
- data/lib/javlibrary/info_hash.rb +0 -0
- data/lib/javlibrary/init.rb +0 -0
- data/lib/javlibrary/name.rb +0 -1
- data/lib/javlibrary/video.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3101b3dd6329e991a1a290369f6f98822bf02fcd
|
4
|
+
data.tar.gz: 94c0e8d84b8d5505bc149caf341818bae1894a01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f81d76064fbd6cd72274541a1a7c01efc8a760efc23ce831d454e70b6cbaab04b40ec8a26bd8cc9675412d530d3d7dd9615ead212813405ef383cd8aee732e3e
|
7
|
+
data.tar.gz: 3efcc492cfacc4ff71f9468f207cb3fc66a41ab05cb3d4e0be8731a16efa2bb6598431a5bdb5e3cbe62f0a6bd72ff5cc0f982329ba14847762788696d55f8290
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Javlibrary
|
2
2
|
|
3
|
-
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/javlibrary`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
@@ -20,7 +22,7 @@ Or install it yourself as:
|
|
20
22
|
|
21
23
|
## Usage
|
22
24
|
|
23
|
-
|
25
|
+
TODO: Write usage instructions here
|
24
26
|
|
25
27
|
## Development
|
26
28
|
|
@@ -36,3 +38,4 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/Yuanha
|
|
36
38
|
## License
|
37
39
|
|
38
40
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
data/lib/javlibrary.rb
CHANGED
@@ -6,8 +6,7 @@ require 'nokogiri'
|
|
6
6
|
require 'mysql2'
|
7
7
|
require 'pp'
|
8
8
|
|
9
|
-
class
|
10
|
-
|
9
|
+
class Javlibrary
|
11
10
|
JAVLIBRARY_URL = [ "jav11b.com", "javlibrary.com" ]
|
12
11
|
|
13
12
|
def initialize(database_name = 'javlibrary', user = 'root', pwd = 'default')
|
@@ -104,8 +103,8 @@ class JavlibrarySpider
|
|
104
103
|
|
105
104
|
video_array = video_array.each_slice(5000).to_a
|
106
105
|
|
107
|
-
actor_hash =
|
108
|
-
genre_hash =
|
106
|
+
actor_hash = actor_hash()
|
107
|
+
genre_hash = genre_hash()
|
109
108
|
thread_pool = Array::new
|
110
109
|
|
111
110
|
video_array.each do |group|
|
@@ -166,7 +165,6 @@ class JavlibrarySpider
|
|
166
165
|
|
167
166
|
def genres_insert
|
168
167
|
client = client()
|
169
|
-
p client
|
170
168
|
genres = genres()
|
171
169
|
genres.each do |e|
|
172
170
|
begin
|
data/lib/javlibrary/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
VERSION = "0.2.
|
1
|
+
class Javlibrary
|
2
|
+
VERSION = "0.2.7"
|
3
3
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: javlibrary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuanhao Sun
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -125,16 +125,9 @@ files:
|
|
125
125
|
- Rakefile
|
126
126
|
- bin/console
|
127
127
|
- bin/setup
|
128
|
-
- javlibrary-0.1.0.gem
|
129
128
|
- javlibrary.gemspec
|
130
129
|
- lib/javlibrary.rb
|
131
|
-
- lib/javlibrary/database.rb
|
132
|
-
- lib/javlibrary/downloader.rb
|
133
|
-
- lib/javlibrary/info_hash.rb
|
134
|
-
- lib/javlibrary/init.rb
|
135
|
-
- lib/javlibrary/name.rb
|
136
130
|
- lib/javlibrary/version.rb
|
137
|
-
- lib/javlibrary/video.rb
|
138
131
|
homepage: https://syhdaily.com
|
139
132
|
licenses:
|
140
133
|
- MIT
|
data/javlibrary-0.1.0.gem
DELETED
Binary file
|
data/lib/javlibrary/database.rb
DELETED
File without changes
|
File without changes
|
data/lib/javlibrary/info_hash.rb
DELETED
File without changes
|
data/lib/javlibrary/init.rb
DELETED
File without changes
|
data/lib/javlibrary/name.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
|
data/lib/javlibrary/video.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
|