unified_db 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,7 +46,7 @@ module UnifiedDB
46
46
  end
47
47
 
48
48
  def format_posters(posters)
49
- list = posters.select { |poster| ['season', 'poster'].include? poster.banner_type }
49
+ list = posters.select { |poster| ['season', 'poster'].include? poster.banner_type && poster.banner_type2 != 'seasonwide' }
50
50
  list.sort { |a,b| b.banner_type <=> a.banner_type }.collect(&:url)
51
51
  end
52
52
 
@@ -1,5 +1,5 @@
1
1
  module UnifiedDB
2
2
 
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,125 +1,89 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: unified_db
3
- version: !ruby/object:Gem::Version
4
- hash: 23
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- - 0
10
- version: 0.2.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Bernard Potocki
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-06-21 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-06-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: yajl-ruby
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70171269163420 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: imdb
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70171269163420
25
+ - !ruby/object:Gem::Dependency
26
+ name: imdb
27
+ requirement: &70171269162080 !ruby/object:Gem::Requirement
38
28
  none: false
39
- requirements:
29
+ requirements:
40
30
  - - ~>
41
- - !ruby/object:Gem::Version
42
- hash: 23
43
- segments:
44
- - 0
45
- - 6
46
- - 8
31
+ - !ruby/object:Gem::Version
47
32
  version: 0.6.8
48
33
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: httparty
52
34
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70171269162080
36
+ - !ruby/object:Gem::Dependency
37
+ name: httparty
38
+ requirement: &70171269161520 !ruby/object:Gem::Requirement
54
39
  none: false
55
- requirements:
56
- - - "="
57
- - !ruby/object:Gem::Version
58
- hash: 61
59
- segments:
60
- - 0
61
- - 8
62
- - 1
40
+ requirements:
41
+ - - =
42
+ - !ruby/object:Gem::Version
63
43
  version: 0.8.1
64
44
  type: :runtime
65
- version_requirements: *id003
66
- - !ruby/object:Gem::Dependency
67
- name: imdb_party
68
45
  prerelease: false
69
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70171269161520
47
+ - !ruby/object:Gem::Dependency
48
+ name: imdb_party
49
+ requirement: &70171269160800 !ruby/object:Gem::Requirement
70
50
  none: false
71
- requirements:
72
- - - "="
73
- - !ruby/object:Gem::Version
74
- hash: 5
75
- segments:
76
- - 0
77
- - 6
78
- - 1
51
+ requirements:
52
+ - - =
53
+ - !ruby/object:Gem::Version
79
54
  version: 0.6.1
80
55
  type: :runtime
81
- version_requirements: *id004
82
- - !ruby/object:Gem::Dependency
83
- name: tvdb_party
84
56
  prerelease: false
85
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *70171269160800
58
+ - !ruby/object:Gem::Dependency
59
+ name: tvdb_party
60
+ requirement: &70171269159980 !ruby/object:Gem::Requirement
86
61
  none: false
87
- requirements:
88
- - - "="
89
- - !ruby/object:Gem::Version
90
- hash: 3
91
- segments:
92
- - 0
93
- - 6
94
- - 2
62
+ requirements:
63
+ - - =
64
+ - !ruby/object:Gem::Version
95
65
  version: 0.6.2
96
66
  type: :runtime
97
- version_requirements: *id005
98
- - !ruby/object:Gem::Dependency
99
- name: rspec
100
67
  prerelease: false
101
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *70171269159980
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: &70171269159260 !ruby/object:Gem::Requirement
102
72
  none: false
103
- requirements:
73
+ requirements:
104
74
  - - ~>
105
- - !ruby/object:Gem::Version
106
- hash: 3
107
- segments:
108
- - 2
109
- - 0
110
- version: "2.0"
75
+ - !ruby/object:Gem::Version
76
+ version: '2.0'
111
77
  type: :development
112
- version_requirements: *id006
78
+ prerelease: false
79
+ version_requirements: *70171269159260
113
80
  description: Scrapper for multiple Movie Databases
114
- email:
81
+ email:
115
82
  - bernard.potocki@imanel.org
116
83
  executables: []
117
-
118
84
  extensions: []
119
-
120
85
  extra_rdoc_files: []
121
-
122
- files:
86
+ files:
123
87
  - .gitignore
124
88
  - .travis.yml
125
89
  - Gemfile
@@ -143,38 +107,29 @@ files:
143
107
  - unified_db.gemspec
144
108
  homepage: http://github.com/imanel/unifieddb
145
109
  licenses: []
146
-
147
110
  post_install_message:
148
111
  rdoc_options: []
149
-
150
- require_paths:
112
+ require_paths:
151
113
  - lib
152
- required_ruby_version: !ruby/object:Gem::Requirement
114
+ required_ruby_version: !ruby/object:Gem::Requirement
153
115
  none: false
154
- requirements:
155
- - - ">="
156
- - !ruby/object:Gem::Version
157
- hash: 3
158
- segments:
159
- - 0
160
- version: "0"
161
- required_rubygems_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ! '>='
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
162
121
  none: false
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- hash: 3
167
- segments:
168
- - 0
169
- version: "0"
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
170
126
  requirements: []
171
-
172
127
  rubyforge_project:
173
- rubygems_version: 1.8.22
128
+ rubygems_version: 1.8.11
174
129
  signing_key:
175
130
  specification_version: 3
176
131
  summary: Scrapper for multiple Movie Databases
177
- test_files:
132
+ test_files:
178
133
  - spec/spec_helper.rb
179
134
  - spec/support/do_sort.rb
180
135
  - spec/unified_db/backend/imdb_spec.rb