movieDB 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e6fee2ee8054177e2d5a65420ce7badcdd35a4a
4
- data.tar.gz: 0f74c601c36a82da5e99ca428a420b2452759a71
3
+ metadata.gz: cb3e2e01f275f062bcc50c824d5b7b72c5d628f0
4
+ data.tar.gz: 1657959d2bbeee2c73b819257b3142ef46eaa06c
5
5
  SHA512:
6
- metadata.gz: caa2a1210d8b243fd4bedee202e01e64b2d4487dff4a959b8869da73fbfaae3a9d25fcfc2919028ca0aed89eb46ec6596ab3ab0dd26fbfba941d14fe6dc5fa0e
7
- data.tar.gz: 59122f893548d1e0e19e2aae88b538509e7237f66dc42ded9e5f83be09580fd5824b8ef025122ed875eababc2ffdc610e92befb9c2bdd8d6fac9360ab967216a
6
+ metadata.gz: 080f7247eed09318069a90b96fdba2980e4e65f51d552f4da442acbf37925e0c436c78ddf756a7178fe9017c94b9f545ec009f7d84f200252dbedcb0f06e14d5
7
+ data.tar.gz: 57a911a9026c1fe1b298687825ba2d11390d06c73c9011c43a71f604b24a14d52cc9739863e0dda3ee74c3c73708d6e63903d92cd92a6369a52e605caf0da313
data/README.md CHANGED
@@ -23,4 +23,5 @@ Or install it yourself as:
23
23
 
24
24
  $ gem install movieDB
25
25
 
26
+ ## Usage
26
27
 
@@ -47,7 +47,7 @@ unless defined? MovieDB::Movie
47
47
  DEFAULT_BAFTA_WINS = 1
48
48
  DEFAULT_WORLDWIDE_GROSS = "$9750 Million"
49
49
 
50
- def initialize(attributes={})
50
+ def initialize(attributes = {})
51
51
  movie_attr = %w(title cast director released_date film_release writer unique_id
52
52
  genre academy_award_nomination academy_award_wins golden_globe_nominations
53
53
  golden_globe_wins bafta_nomination bafta_wins worldwide_gross)
@@ -0,0 +1,15 @@
1
+ # encoding: UTF-8
2
+
3
+ module MovieDB
4
+ class GenreParser
5
+
6
+ def initialize
7
+ begin
8
+ open_genre_file = File.open("#{File.dirname(__FILE__)}/genres/en.txt").readlines.map(&:chomp)
9
+ rescue
10
+ Errno::ENONENT
11
+ end
12
+ end
13
+ end
14
+ end
15
+
@@ -1,3 +1,3 @@
1
1
  module MovieDB
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["kotn_ep1@hotmail.com"]
11
11
  spec.description = %q{Collect Movie Information. Perform Data Analysis}
12
12
  spec.summary = %q{Movie Statistic and Data Analysis}
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/keeperofthenecklace/movieDB"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -21,6 +21,9 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency "bundler", "~> 1.3"
22
22
  spec.add_development_dependency "rake"
23
23
  spec.add_development_dependency "rspec"
24
+ spec.add_development_dependency 'imdb'
25
+ spec.add_development_dependency 'highline'
26
+ spec.add_development_dependency 'yaml'
24
27
  spec.add_development_dependency 'fakeweb'
25
28
  spec.add_dependency "activesupport", ">= 4.0.0"
26
29
  spec.add_dependency "simple_bdd"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: movieDB
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Albert_McKeever
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-04 00:00:00.000000000 Z
11
+ date: 2013-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,6 +52,48 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: imdb
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: highline
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: yaml
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
55
97
  - !ruby/object:Gem::Dependency
56
98
  name: fakeweb
57
99
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +150,7 @@ files:
108
150
  - Rakefile
109
151
  - lib/movieDB.rb
110
152
  - lib/movieDB/base.rb
153
+ - lib/movieDB/genre_parser.rb
111
154
  - lib/movieDB/genres/en.txt
112
155
  - lib/movieDB/movie_error.rb
113
156
  - lib/movieDB/person.rb
@@ -118,7 +161,7 @@ files:
118
161
  - spec/movieDB_spec.rb
119
162
  - spec/person_spec.rb
120
163
  - spec/spec_helper.rb
121
- homepage: ''
164
+ homepage: https://github.com/keeperofthenecklace/movieDB
122
165
  licenses:
123
166
  - MIT
124
167
  metadata: {}