nyaa 0.3.0 → 1.0.2
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.
- data/.gitignore +3 -0
- data/Gemfile +2 -1
- data/README.md +31 -11
- data/Rakefile +7 -4
- data/bin/nyaa +70 -41
- data/lib/nyaa.rb +26 -3
- data/lib/nyaa/browser.rb +122 -163
- data/lib/nyaa/cli.rb +75 -0
- data/lib/nyaa/constants.rb +124 -0
- data/lib/nyaa/downloader.rb +65 -0
- data/lib/nyaa/search.rb +113 -0
- data/lib/nyaa/torrent.rb +65 -0
- data/lib/nyaa/ui.rb +260 -0
- data/lib/nyaa/version.rb +2 -1
- data/nyaa.gemspec +1 -3
- data/screenshots/v1.0.0_browse.png +0 -0
- data/screenshots/v1.0.0_help.png +0 -0
- data/screenshots/v1.0.0_search.png +0 -0
- metadata +14 -32
- data/.gitattributes +0 -1
- data/.travis.yml +0 -5
- data/AUTHORS +0 -4
- data/Gemfile.lock +0 -24
- data/HACKING +0 -13
- data/test/lib/nyaa/browser_test.rb +0 -4
- data/test/lib/nyaa/version_test.rb +0 -7
- data/test/test_helper.rb +0 -2
data/lib/nyaa/version.rb
CHANGED
data/nyaa.gemspec
CHANGED
@@ -9,14 +9,12 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.description = 'Browse and download from NyaaTorrents from the command-line. Supports categories and filters.'
|
10
10
|
|
11
11
|
s.authors = ['David Palma']
|
12
|
-
s.email = '
|
12
|
+
s.email = 'david@davidpalma.me'
|
13
13
|
|
14
14
|
s.files = `git ls-files`.split("\n")
|
15
15
|
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
16
|
-
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
17
16
|
s.require_path = ['lib']
|
18
17
|
|
19
|
-
s.add_runtime_dependency 'trollop', '~> 1.16.2'
|
20
18
|
s.add_runtime_dependency 'formatador', '~> 0.2.3'
|
21
19
|
s.add_runtime_dependency 'nokogiri', '~> 1.5.5'
|
22
20
|
s.add_runtime_dependency 'rest-client', '~> 1.6.7'
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nyaa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,24 +9,8 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: trollop
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 1.16.2
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 1.16.2
|
30
14
|
- !ruby/object:Gem::Dependency
|
31
15
|
name: formatador
|
32
16
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,33 +61,34 @@ dependencies:
|
|
77
61
|
version: 1.6.7
|
78
62
|
description: Browse and download from NyaaTorrents from the command-line. Supports
|
79
63
|
categories and filters.
|
80
|
-
email:
|
64
|
+
email: david@davidpalma.me
|
81
65
|
executables:
|
82
66
|
- nyaa
|
83
67
|
extensions: []
|
84
68
|
extra_rdoc_files: []
|
85
69
|
files:
|
86
|
-
- .gitattributes
|
87
70
|
- .gitignore
|
88
|
-
- .travis.yml
|
89
|
-
- AUTHORS
|
90
71
|
- Gemfile
|
91
|
-
- Gemfile.lock
|
92
|
-
- HACKING
|
93
72
|
- LICENSE
|
94
73
|
- README.md
|
95
74
|
- Rakefile
|
96
75
|
- bin/nyaa
|
97
76
|
- lib/nyaa.rb
|
98
77
|
- lib/nyaa/browser.rb
|
78
|
+
- lib/nyaa/cli.rb
|
79
|
+
- lib/nyaa/constants.rb
|
80
|
+
- lib/nyaa/downloader.rb
|
81
|
+
- lib/nyaa/search.rb
|
82
|
+
- lib/nyaa/torrent.rb
|
83
|
+
- lib/nyaa/ui.rb
|
99
84
|
- lib/nyaa/version.rb
|
100
85
|
- nyaa.gemspec
|
101
86
|
- screenshots/screenshot_1.png
|
102
87
|
- screenshots/screenshot_2.png
|
103
88
|
- screenshots/screenshot_3.png
|
104
|
-
-
|
105
|
-
-
|
106
|
-
-
|
89
|
+
- screenshots/v1.0.0_browse.png
|
90
|
+
- screenshots/v1.0.0_help.png
|
91
|
+
- screenshots/v1.0.0_search.png
|
107
92
|
homepage: https://github.com/mistofvongola/nyaa
|
108
93
|
licenses: []
|
109
94
|
post_install_message:
|
@@ -124,11 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
109
|
version: '0'
|
125
110
|
requirements: []
|
126
111
|
rubyforge_project:
|
127
|
-
rubygems_version: 1.8.
|
112
|
+
rubygems_version: 1.8.25
|
128
113
|
signing_key:
|
129
114
|
specification_version: 3
|
130
115
|
summary: The nyaa gem is a CLI to NyaaTorrents.
|
131
|
-
test_files:
|
132
|
-
- test/lib/nyaa/browser_test.rb
|
133
|
-
- test/lib/nyaa/version_test.rb
|
134
|
-
- test/test_helper.rb
|
116
|
+
test_files: []
|
data/.gitattributes
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
*.rb diff=ruby
|
data/.travis.yml
DELETED
data/AUTHORS
DELETED
data/Gemfile.lock
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
nyaa (0.1.2)
|
5
|
-
formatador (~> 0.2.3)
|
6
|
-
nokogiri (~> 1.5.5)
|
7
|
-
rest-client (~> 1.6.7)
|
8
|
-
trollop (~> 1.16.2)
|
9
|
-
|
10
|
-
GEM
|
11
|
-
remote: http://rubygems.org/
|
12
|
-
specs:
|
13
|
-
formatador (0.2.3)
|
14
|
-
mime-types (1.19)
|
15
|
-
nokogiri (1.5.5)
|
16
|
-
rest-client (1.6.7)
|
17
|
-
mime-types (>= 1.16)
|
18
|
-
trollop (1.16.2)
|
19
|
-
|
20
|
-
PLATFORMS
|
21
|
-
ruby
|
22
|
-
|
23
|
-
DEPENDENCIES
|
24
|
-
nyaa!
|
data/HACKING
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
Contributing
|
2
|
-
======================
|
3
|
-
|
4
|
-
Coding Style
|
5
|
-
------------
|
6
|
-
|
7
|
-
1. All code should be indented with spaces. This is effectively the following VIM modeline:
|
8
|
-
/* vim: set ai ts=2 sw=2 et: */
|
9
|
-
|
10
|
-
2. Recommend removing trailing whitespace. Here is an example for .vimrc
|
11
|
-
autocmd BufWritePre *.py normal m`:%s/\s\+$//e ``
|
12
|
-
|
13
|
-
3. Wrap lines at 80 characters MAXIMUM
|
data/test/test_helper.rb
DELETED