brandeins-dl 0.0.6 → 0.0.7
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/bin/brandeins +1 -1
- data/lib/brandeins-dl/version.rb +1 -1
- data/lib/brandeins-dl.rb +7 -5
- metadata +3 -3
data/bin/brandeins
CHANGED
data/lib/brandeins-dl/version.rb
CHANGED
data/lib/brandeins-dl.rb
CHANGED
|
@@ -12,6 +12,13 @@ end
|
|
|
12
12
|
module BrandEins
|
|
13
13
|
|
|
14
14
|
class CLI < Thor
|
|
15
|
+
map '--version' => :version
|
|
16
|
+
|
|
17
|
+
desc '--version', 'Displays current version'
|
|
18
|
+
def version
|
|
19
|
+
puts BrandEins::VERSION
|
|
20
|
+
end
|
|
21
|
+
|
|
15
22
|
desc 'download_all', 'Download all magazines of the defined year'
|
|
16
23
|
method_option :year, :type => :numeric, :required => true
|
|
17
24
|
method_option :path, :type => :string, :required => true
|
|
@@ -28,11 +35,6 @@ module BrandEins
|
|
|
28
35
|
b1 = BrandEins::Downloader.new(options.path)
|
|
29
36
|
b1.get_magazine(options.year, options.volume)
|
|
30
37
|
end
|
|
31
|
-
|
|
32
|
-
desc 'version', 'Displays current version'
|
|
33
|
-
def version
|
|
34
|
-
puts BrandEins::VERSION
|
|
35
|
-
end
|
|
36
38
|
end
|
|
37
39
|
|
|
38
40
|
class Downloader
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: brandeins-dl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.0.
|
|
5
|
+
version: 0.0.7
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Gregory Igelmund
|
|
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
78
78
|
requirements:
|
|
79
79
|
- - ">="
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
|
-
hash:
|
|
81
|
+
hash: 3024033610115375201
|
|
82
82
|
segments:
|
|
83
83
|
- 0
|
|
84
84
|
version: "0"
|
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
87
87
|
requirements:
|
|
88
88
|
- - ">="
|
|
89
89
|
- !ruby/object:Gem::Version
|
|
90
|
-
hash:
|
|
90
|
+
hash: 3024033610115375201
|
|
91
91
|
segments:
|
|
92
92
|
- 0
|
|
93
93
|
version: "0"
|