libgen_api 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44501aa543f10a08cf2824a7874d7aa58afd2c4bcdc0443179e1a099de8ec9e8
4
- data.tar.gz: 4d24e8293a18129b95976c4ea6acdb73ef502bcf2329d29ff3d50f1ba0287afd
3
+ metadata.gz: e1b18fd4f17c9db6876be5b58031da3cd0806d7f148d769d50dadbc4ca9601ed
4
+ data.tar.gz: 33e81320e681dda5de00d846235b4b256b9bc3b94c695ad242b6c9756b33fef2
5
5
  SHA512:
6
- metadata.gz: da763aedbf5abdc50ae6488396a9c69704729f745cd7091d031826cdadaf08efaf4a4cd711c7bcc283d3a7b0296db6e1e9e4a2e1680f6ebaeb8a7266f7e163e9
7
- data.tar.gz: baea8a346012e5db6e399fb00abec2ed89fb557506e36cbb7dbdbaeac065e4b857f1a42c74cec3935dc90ae75e3b3773ee563988f73f1256474b281ef0623b60
6
+ metadata.gz: ed08da53eb029be9d93dc22556572f8f3b51c32c94b91a871471cee2b2c8a5111834a69aeddedaab389c943ab71f764c6ebf4c8502c4ff2f289ebd41a482f9b9
7
+ data.tar.gz: 8e80d0bdea3558579fad82de7ddae47c0c3af167abe86e7a02a1833b95b09a199f939a226358c23e91e512992074b77f18db3d5e834dbc1d880c161a55187ba3
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Welcome to the `libgen_api` gem!
4
4
 
5
- This gem allows you to search library genesis easily and relatively quicky.
5
+ This gem allows you to search library genesis easily and relatively quickly.
6
6
 
7
7
  ## Advice
8
8
 
@@ -39,7 +39,7 @@ This method will return in order the id's of the books shown in your search resu
39
39
  Books can be retrieved using their ids.
40
40
 
41
41
  The method `get_book()` can be used to retrieve an individual books information where as the method `get_books()` can be used to retrieve multiple books.
42
- `get_book()` has two parameters, `id` and `fields`. `id` is any books id number whilst `fields` contains an array of which fields you are interested in looking at. A list of fields can be found [here](http://garbage.world/posts/libgen/). By default the `title`, `author` and `md5` fields are requested. It returns a hash with each selected field being a key that can be used to access its value.
42
+ `get_book()` has two parameters, `id` and `fields`. `id` is any books id number whilst `fields` contains an array of which fields you are interested in looking at. A list of fields can be found [here](http://garbage.world/posts/libgen/) and [here](https://forum.mhut.org/viewtopic.php?f=17&t=6874). By default the `title`, `author` and `md5` fields are requested. It returns a hash with each selected field being a key that can be used to access its value.
43
43
 
44
44
  `get_books()` works basically the same excepts its first argument is `ids` which accepts an array of ids. It returns an array of hashes for each book requested.
45
45
 
@@ -88,4 +88,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
88
88
 
89
89
  ## Thanks
90
90
 
91
- I'd like to thank the creators of [libgen.js](https://github.com/dunn/libgen.js/) and the author of [this](http://garbage.world/posts/libgen/) and of course the creators and maintainters of Library Genesis. They were all very helpfull in creating this gem.
91
+ I'd like to thank Alex Dunn the author of [this](http://garbage.world/posts/libgen/) and [libgen.js](https://github.com/dunn/libgen.js/), not to mention the creators and maintainers of Library Genesis. They were all very helpful in creating this gem.
@@ -1,3 +1,3 @@
1
1
  module LibgenApi
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = "An API that can be used to search Library Genesis"
13
13
  spec.description = "An API that can be used to search Library Genesis. In the early stages."
14
- spec.homepage = "https://github.com/Sag0Sag0/libgen_api"
14
+ spec.homepage = "https://gitlab.com/libgen1/libgen_api"
15
15
  spec.license = "MIT"
16
16
 
17
17
  # Specify which files should be added to the gem when it is released.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libgen_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sag0Sag0
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-28 00:00:00.000000000 Z
11
+ date: 2019-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -104,7 +104,6 @@ files:
104
104
  - ".gitignore"
105
105
  - CHANGELOG.md
106
106
  - Gemfile
107
- - Gemfile.lock
108
107
  - LICENSE.txt
109
108
  - README.md
110
109
  - Rakefile
@@ -113,7 +112,7 @@ files:
113
112
  - lib/libgen_api.rb
114
113
  - lib/libgen_api/version.rb
115
114
  - libgen_api.gemspec
116
- homepage: https://github.com/Sag0Sag0/libgen_api
115
+ homepage: https://gitlab.com/libgen1/libgen_api
117
116
  licenses:
118
117
  - MIT
119
118
  metadata: {}