popcorn 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -13,5 +13,5 @@ group :development do
13
13
  gem "bundler", "~> 1.0.0"
14
14
  gem "jeweler", "~> 1.6.0"
15
15
  gem "rcov", ">= 0"
16
- gem "fakefs", ">= 0.3.2"
16
+ gem "fakefs", "~> 0.3.2"
17
17
  end
data/Gemfile.lock CHANGED
@@ -30,7 +30,7 @@ PLATFORMS
30
30
 
31
31
  DEPENDENCIES
32
32
  bundler (~> 1.0.0)
33
- fakefs (>= 0.3.2)
33
+ fakefs (~> 0.3.2)
34
34
  imdb_party (~> 0.6.1)
35
35
  jeweler (~> 1.6.0)
36
36
  rcov
data/README.rdoc CHANGED
@@ -3,6 +3,23 @@
3
3
  Popcorn is a movie management program written in Ruby. Popcorn will help you
4
4
  organize your movie collection automatically.
5
5
 
6
+ = Usage
7
+
8
+ Popcorn create a configuration file at ~/.popcorn. Tell popcorn where you want
9
+ your movie library to be.
10
+
11
+ popcorn library ~/movies
12
+
13
+ After popcorn is configured, you can import movies to your library very easily.
14
+
15
+ popcorn import "Star Trek Wrath of Khan.mkv"
16
+
17
+ Popcorn will automatically move your movie into the library directory with a
18
+ sane directory structure, and if it finds poster art it will download that as
19
+ well. Popcorn can be used to create a collection of movies that are properly
20
+ organized and named. By default it uses a directory structure that XBMC is
21
+ familiar with, so you get a gorgeous movie library with thumbnails.
22
+
6
23
  == Contributing to popcorn
7
24
 
8
25
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -5,12 +5,13 @@ require 'yaml'
5
5
  class Settings
6
6
 
7
7
  @conf_file = Pathname("~/.popcorn").expand_path
8
+ @default_library = Pathname("~/popcorn").expand_path
8
9
 
9
10
  class << self
10
11
  attr_accessor :conf_file, :library
11
12
 
12
13
  def write_settings(options={})
13
- defaults = { :library => "~/tmp/popcorn" }
14
+ defaults = { :library => @default_library.to_s }
14
15
  options = defaults.merge(options)
15
16
  puts "Writing file."
16
17
  @conf_file.open("w") do |f|
data/popcorn.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{popcorn}
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Blaine Pace}]
@@ -53,7 +53,7 @@ Gem::Specification.new do |s|
53
53
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
54
54
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
55
55
  s.add_development_dependency(%q<rcov>, [">= 0"])
56
- s.add_development_dependency(%q<fakefs>, [">= 0.3.2"])
56
+ s.add_development_dependency(%q<fakefs>, ["~> 0.3.2"])
57
57
  else
58
58
  s.add_dependency(%q<thor>, ["~> 0.14.6"])
59
59
  s.add_dependency(%q<imdb_party>, ["~> 0.6.1"])
@@ -61,7 +61,7 @@ Gem::Specification.new do |s|
61
61
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
62
62
  s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
63
63
  s.add_dependency(%q<rcov>, [">= 0"])
64
- s.add_dependency(%q<fakefs>, [">= 0.3.2"])
64
+ s.add_dependency(%q<fakefs>, ["~> 0.3.2"])
65
65
  end
66
66
  else
67
67
  s.add_dependency(%q<thor>, ["~> 0.14.6"])
@@ -70,7 +70,7 @@ Gem::Specification.new do |s|
70
70
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
71
71
  s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
72
72
  s.add_dependency(%q<rcov>, [">= 0"])
73
- s.add_dependency(%q<fakefs>, [">= 0.3.2"])
73
+ s.add_dependency(%q<fakefs>, ["~> 0.3.2"])
74
74
  end
75
75
  end
76
76
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: popcorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-09-07 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &73514330 !ruby/object:Gem::Requirement
16
+ requirement: &70296439075580 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.14.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *73514330
24
+ version_requirements: *70296439075580
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: imdb_party
27
- requirement: &73514060 !ruby/object:Gem::Requirement
27
+ requirement: &70296439073220 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.6.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *73514060
35
+ version_requirements: *70296439073220
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &73513760 !ruby/object:Gem::Requirement
38
+ requirement: &70296439070740 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 2.3.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *73513760
46
+ version_requirements: *70296439070740
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
- requirement: &73513460 !ruby/object:Gem::Requirement
49
+ requirement: &70296439047060 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.0.0
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *73513460
57
+ version_requirements: *70296439047060
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: jeweler
60
- requirement: &73513170 !ruby/object:Gem::Requirement
60
+ requirement: &70296439045680 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.6.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *73513170
68
+ version_requirements: *70296439045680
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rcov
71
- requirement: &73512910 !ruby/object:Gem::Requirement
71
+ requirement: &70296439043820 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,18 +76,18 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *73512910
79
+ version_requirements: *70296439043820
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: fakefs
82
- requirement: &73512610 !ruby/object:Gem::Requirement
82
+ requirement: &70296439041720 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
- - - ! '>='
85
+ - - ~>
86
86
  - !ruby/object:Gem::Version
87
87
  version: 0.3.2
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *73512610
90
+ version_requirements: *70296439041720
91
91
  description: Popcorn handles movie library management for you.
92
92
  email: blainepace@gmail.com
93
93
  executables:
@@ -130,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  segments:
132
132
  - 0
133
- hash: -967413059
133
+ hash: -727389974721737669
134
134
  required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  none: false
136
136
  requirements: