SwedishTV 0.0.2 → 0.0.3

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.
Files changed (2) hide show
  1. data/lib/swe_tv.rb +5 -4
  2. metadata +3 -3
@@ -52,7 +52,7 @@ require 'cgi'
52
52
 
53
53
  $debug = false
54
54
 
55
- USERFILE = File.expand_path(File.join(ENV['HOME'], "/.swe_tv"))
55
+ USERFILE = File.expand_path(File.join(ENV['HOME'] || ENV['USERPROFILE'], "/.swe_tv"))
56
56
 
57
57
  CACHEDIR = File.join(Dir.tmpdir, "swe_tv_cache")
58
58
  FileUtils::mkdir(CACHEDIR) unless File.exist?(CACHEDIR)
@@ -69,9 +69,10 @@ CHANNELS = {
69
69
  'TV 1000' => 33,
70
70
  'Cinema' => 34,
71
71
  'Canal+' => 11,
72
- 'C+ Gul' =>12,
73
- 'C+ Bla' =>55,
74
- 'C+ Zap' =>140,
72
+ 'C+Film1' =>12,
73
+ 'C+Film2' =>55,
74
+ 'C+Sport' =>140,
75
+ 'C+More' =>201,
75
76
  'MTV' =>14,
76
77
  'MTV2' =>74,
77
78
  'Eurospo' =>9,
metadata CHANGED
@@ -3,13 +3,13 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: SwedishTV
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.2
7
- date: 2005-08-30 00:00:00 +02:00
6
+ version: 0.0.3
7
+ date: 2005-09-11 00:00:00 +02:00
8
8
  summary: Shows Swedish TV channel schedules in web browser.
9
9
  require_paths:
10
10
  - lib
11
11
  email: niklas@frykholm.se
12
- homepage: http://www.frykholm.se/
12
+ homepage: http://swe-tv.rubyforge.org/
13
13
  rubyforge_project:
14
14
  description:
15
15
  autorequire: