brandeins-dl 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/brandeins-dl/version.rb +1 -1
- data/lib/brandeins-dl.rb +4 -4
- metadata +3 -3
data/Rakefile
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'bundler/gem_tasks'
|
2
2
|
require 'rake/testtask'
|
3
|
+
require './lib/brandeins-dl/version'
|
3
4
|
|
4
5
|
Rake::TestTask.new do |t|
|
5
6
|
t.pattern = 'test/*_test.rb'
|
@@ -10,7 +11,6 @@ task :build do
|
|
10
11
|
end
|
11
12
|
|
12
13
|
task :publish do
|
13
|
-
require 'lib/brandeins-dl/version'
|
14
14
|
version = BrandEins::VERSION
|
15
15
|
sh "gem push brandeins-dl-#{version}.gem"
|
16
16
|
end
|
data/lib/brandeins-dl/version.rb
CHANGED
data/lib/brandeins-dl.rb
CHANGED
@@ -28,11 +28,11 @@ module BrandEins
|
|
28
28
|
b1 = BrandEins::Downloader.new(options.path)
|
29
29
|
b1.get_magazine(options.year, options.volume)
|
30
30
|
end
|
31
|
-
end
|
32
31
|
|
33
|
-
|
34
|
-
|
35
|
-
|
32
|
+
desc 'version', 'Displays current version'
|
33
|
+
def version
|
34
|
+
puts BrandEins::VERSION
|
35
|
+
end
|
36
36
|
end
|
37
37
|
|
38
38
|
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.6
|
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: -785877748697607790
|
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: -785877748697607790
|
91
91
|
segments:
|
92
92
|
- 0
|
93
93
|
version: "0"
|