podcatcher 3.2.12 → 4.0.0.pre

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 319f2c5fe43d0740b0afdb2e5de2bb3fbcbd1968
4
- data.tar.gz: 54b75a33eb7a9267a668824df91d4f10a3f62dd0
3
+ metadata.gz: bb43dfb7229e47166c4006fc6b759fd7eccfecc8
4
+ data.tar.gz: 8119f2080a94031b65d23f7da016d91a72d74d38
5
5
  SHA512:
6
- metadata.gz: b0bc4920eaf829f6030d58a49d68e822857bf84411e145df42b47643397d2ec8b36c9b13bf96bb1fc582366400d5c6e1622559fe9eb7154ca0c5e1e911048ab3
7
- data.tar.gz: b495c5d10a542ed50dced4e430db95d1908482c24e806321f6cf07f20ce0c574663b40692511e8b851fb0f6de070d5f0c06e8acd4b7e60c7bb64f9d8ccc79cf2
6
+ metadata.gz: fddb629c817e89c84eadb6fcca10f1bb610466d6a83bd01c1655dd241175584898c74b33055f448c8c2aac346eef97ae38bb72e9ba1a33eabf031925ffd803e8
7
+ data.tar.gz: 8d7ab83bdafd7f9dc2561d212c8504047a5891ddb046ba351e0a398b3b6dd8b968b5e3583fed7db893f8a902eaf326911d89d9657b8ad6039514884c7b3e65eb
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.txt CHANGED
@@ -36,7 +36,7 @@ $ gem install podcatcher --trust-policy HighSecurity
36
36
  $
37
37
  $ # Check the used version
38
38
  $ podcatcher --version
39
- 3.2.12
39
+ 4.0.0.pre
40
40
  $
41
41
  $ # Optionally enable podcatcher MAN pages on Unix-like systems
42
42
  $ gem install gem-man # do this once
data/bin/podcatcher CHANGED
@@ -6,7 +6,7 @@
6
6
  # Author: Doga Armangil, armangild@yahoo.com
7
7
 
8
8
  PODCATCHER_WEBSITE = 'https://github.com/doga/podcatcher'
9
- PODCATCHER_VERSION = '3.2.12'
9
+ PODCATCHER_VERSION = '4.0.0.pre'
10
10
 
11
11
  # todo: allow files to be selected not only by its MIME type, but also other attributes. Example: --content '^video/ width:680-1024 height:400'
12
12
  # todo: --proxy option
@@ -43,7 +43,7 @@ include REXML
43
43
  PODCATCHER_ENV = :production
44
44
 
45
45
  USER_AGENT = "podcatcher/#{PODCATCHER_VERSION} Ruby/#{RUBY_VERSION} #{RUBY_PLATFORM}"
46
- UPDATE_CHECK_INTERVAL = 6 #months
46
+ UPDATE_CHECK_INTERVAL = 6 # months
47
47
 
48
48
  opt = OpenStruct.new
49
49
  opt.PLAYLIST_TYPES = [:m3u, :smil, :pls, :asx, :tox, :xspf]
@@ -72,14 +72,16 @@ reliable method, as RubyTorrent is still in alpha phase.
72
72
  Concurrency is not handled: simultaneous executions of this program should
73
73
  target different directories.
74
74
 
75
- Visit $website for more information.
75
+ As of version 4, the default target directory is ~/.podcatcher instead of
76
+ the current directory.
77
+
78
+ Visit https://github.com/doga/podcatcher for more information.
76
79
 
77
80
  Usage: #{$0} [options] [arguments]
78
81
  END
79
82
 
80
- opt.DESCRIPTION.gsub! '$website', PODCATCHER_WEBSITE
81
-
82
- opt.dir = Pathname.new Dir.pwd
83
+ opt.dir = Pathname.new(Dir.home) + '.podcatcher'
84
+ opt.dir.mkdir unless opt.dir.exist?
83
85
  opt.CACHEDIR= 'cache'
84
86
  opt.cachedir = opt.dir + opt.CACHEDIR
85
87
  opt.memsize = 1_000
@@ -113,7 +115,7 @@ option_parser = OptionParser.new() do |c|
113
115
  c.separator "Options:"
114
116
  c.on("-d", "--dir DIR",
115
117
  "Directory for storing application state.",
116
- "Default value is current directory.\n") do |e|
118
+ "Default value is ~/.podcatcher\n") do |e|
117
119
  contained=false
118
120
  #cache directory inside old state directory?
119
121
  statedir=opt.dir
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "PODCATCHER\-ARGUMENTS\-FORMAT" "5" "March 2016" "" "podcatcher v3.2.12 manual"
4
+ .TH "PODCATCHER\-ARGUMENTS\-FORMAT" "5" "March 2016" "" "podcatcher v4.0 manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpodcatcher\-arguments\-format\fR \- podcatcher arguments file format
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "PODCATCHER\-OPTIONS\-FORMAT" "5" "March 2016" "" "podcatcher v3.2.12 manual"
4
+ .TH "PODCATCHER\-OPTIONS\-FORMAT" "5" "March 2016" "" "podcatcher v4.0 manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpodcatcher\-options\-format\fR \- podcatcher options file format
data/man/podcatcher.1 CHANGED
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "PODCATCHER" "1" "March 2016" "" "podcatcher v3.2.12 manual"
4
+ .TH "PODCATCHER" "1" "March 2016" "" "podcatcher v4.0 manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpodcatcher\fR \- podcast client for the command line
@@ -36,6 +36,9 @@ BitTorrent is supported both internally (through the RubyTorrent library) and ex
36
36
  .P
37
37
  Concurrency is not handled: simultaneous executions of this program should target different directories\.
38
38
  .
39
+ .P
40
+ As of version 4, the default target directory is ~/\.podcatcher instead of the current directory\.
41
+ .
39
42
  .SH "OPTIONS"
40
43
  .
41
44
  .TP
@@ -51,7 +54,10 @@ This option is ignored if this directory is inside the state directory, or if th
51
54
  .
52
55
  .TP
53
56
  \fB\-s\fR, \fB\-\-size\fR \fISIZE\fR
54
- Size, in megabytes, of the cache directory (specified by the \fB\-\-cachedir\fR option)\. 0 means unbounded\. Default value is 512\. This option also sets the upper limit for the amount of content that can be downloaded in one session\.
57
+ Size, in megabytes, of the cache directory\. 0 means unbounded\. Default value is 512\.
58
+ .
59
+ .IP
60
+ This option also sets the upper limit for the amount of content that can be downloaded in one session\.
55
61
  .
56
62
  .IP
57
63
  Content downloaded during previous sessions may be deleted by podcatcher in order to make place for new content\.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: podcatcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.12
4
+ version: 4.0.0.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doga Armangil
@@ -31,7 +31,7 @@ cert_chain:
31
31
  DcNXARPdnPlz0VQedZo89pKjngah8Nur01/wD97Q18Mr/av3H4Bg1sTF+RZAplU3
32
32
  RX+xYPJjPMyjrD73KZ5UNtXo5jOP1T85SqXOl6ICfedTVgZMk9mzK8+PkP1croHi
33
33
  -----END CERTIFICATE-----
34
- date: 2016-03-06 00:00:00.000000000 Z
34
+ date: 2016-03-07 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: ronn
@@ -78,9 +78,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
78
  version: 1.8.2
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - ">"
82
82
  - !ruby/object:Gem::Version
83
- version: '0'
83
+ version: 1.3.1
84
84
  requirements: []
85
85
  rubyforge_project:
86
86
  rubygems_version: 2.5.1
metadata.gz.sig CHANGED
Binary file