cine-passion 0.10.0 → 0.10.2

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 (3) hide show
  1. data/History.txt +4 -0
  2. data/lib/cine_passion.rb +3 -3
  3. metadata +5 -5
data/History.txt CHANGED
@@ -44,3 +44,7 @@
44
44
 
45
45
  * version() return library version
46
46
  * Better MovieGetInfo() (Work now)
47
+
48
+ === 0.10.2 / 2010-09-07
49
+
50
+ * Correct MovieGetInfo to make search By ID
data/lib/cine_passion.rb CHANGED
@@ -20,7 +20,7 @@ include REXML
20
20
  class CinePassion
21
21
  attr_reader :xml_data, :movies_info, :result_nb, :status, :quota, :apikey, :siteurl, :proxyinfo, :lang
22
22
 
23
- VERSION = '0.10.0'
23
+ VERSION = '0.10.2'
24
24
 
25
25
  def version()
26
26
  return VERSION
@@ -105,13 +105,13 @@ class CinePassion
105
105
 
106
106
  # Execute a MovieSearch on scraper
107
107
  def MovieSearch(search, query="Title", format="XML")
108
- DataLoadFromSite(GenerateURLMovieSearch(search, query="Title", format="XML"))
108
+ DataLoadFromSite(GenerateURLMovieSearch(search, query=query, format=format))
109
109
  @xml_data
110
110
  end
111
111
 
112
112
  # Execute a MovieGetInfo on scraper
113
113
  def MovieGetInfo(search, query="ID", format="XML")
114
- DataLoadFromSite(GenerateURLMovieSearch(search, query="Title", format="XML"))
114
+ DataLoadFromSite(GenerateURLMovieGetInfo(search, query=query, format=format))
115
115
  @xml_data
116
116
  end
117
117
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cine-passion
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 51
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 0
10
- version: 0.10.0
9
+ - 2
10
+ version: 0.10.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nicolas Ledez
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-06 00:00:00 +02:00
18
+ date: 2010-09-07 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -80,7 +80,7 @@ licenses: []
80
80
  post_install_message: |
81
81
  **************************************************
82
82
 
83
- Thank you for installing cine-passion-0.10.0
83
+ Thank you for installing cine-passion-0.10.2
84
84
 
85
85
  Please request a APIKEY to make real requests.
86
86