cine-passion 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +12 -0
- data/{Manifest → Manifest.txt} +4 -6
- data/README.txt +70 -0
- data/Rakefile +24 -22
- data/lib/cine_passion.rb +18 -2
- data/lib/cine_passion_config.rb.sample +1 -2
- data/test/test_cine_passion.rb +11 -8
- metadata +63 -48
- data/README.rdoc +0 -47
- data/SuiteTests +0 -4
- data/cine-passion.gemspec +0 -33
- data/example/example1.rb +0 -8
- data.tar.gz.sig +0 -4
- metadata.gz.sig +0 -1
data/History.txt
ADDED
data/{Manifest → Manifest.txt}
RENAMED
@@ -1,15 +1,13 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
History.txt
|
2
|
+
Manifest.txt
|
3
|
+
README.txt
|
3
4
|
Rakefile
|
4
|
-
SuiteTests
|
5
|
-
cine-passion.gemspec
|
6
|
-
example/example1.rb
|
7
5
|
lib/cine_passion.rb
|
8
6
|
lib/cine_passion_config.rb.sample
|
7
|
+
test/test_cine_passion.rb
|
9
8
|
test/data/cinepassion-scraper-test-00-no-response.xml
|
10
9
|
test/data/cinepassion-scraper-test-01-one-response.xml
|
11
10
|
test/data/cinepassion-scraper-test-02-mutiple-response.xml
|
12
11
|
test/data/exploded/cinepassion-scraper-test-00-no-response.xml
|
13
12
|
test/data/exploded/cinepassion-scraper-test-01-one-response.xml
|
14
13
|
test/data/exploded/cinepassion-scraper-test-02-mutiple-response.xml
|
15
|
-
test/test_cine_passion.rb
|
data/README.txt
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
= cine-passion
|
2
|
+
|
3
|
+
* http://github.com/nledez/ruby-scraper-cine-passion
|
4
|
+
* http://rubyforge.org/projects/cine-passion/
|
5
|
+
|
6
|
+
== DESCRIPTION:
|
7
|
+
|
8
|
+
Cine Passion is a powerfull movies scraper.
|
9
|
+
This lib allow you to get information about a movie in Ruby without manipulating XML.
|
10
|
+
|
11
|
+
If you want try scraper online :
|
12
|
+
http://passion-xbmc.org/scraper/
|
13
|
+
|
14
|
+
If you have any question about this scraper you have a forum :
|
15
|
+
http://passion-xbmc.org/scraper-cine-passion-support-francais/
|
16
|
+
|
17
|
+
== FEATURES/PROBLEMS:
|
18
|
+
|
19
|
+
* Extract XML information to build ruby objects
|
20
|
+
|
21
|
+
* Does not work actualy for images
|
22
|
+
|
23
|
+
== SYNOPSIS:
|
24
|
+
|
25
|
+
FIX (code sample of usage)
|
26
|
+
|
27
|
+
== REQUIREMENTS:
|
28
|
+
|
29
|
+
In my project, you can't find Cine Passion API Key.
|
30
|
+
|
31
|
+
In fact you need a key your own side, you can request one here :
|
32
|
+
http://passion-xbmc.org/demande-clef-api-api-key-request/
|
33
|
+
|
34
|
+
See INSTALL
|
35
|
+
|
36
|
+
== INSTALL:
|
37
|
+
|
38
|
+
* gem install cine-passion
|
39
|
+
* cd /lib/to/gem/cine-passion
|
40
|
+
* cp lib/cine_passion_config.rb.sample lib/cine_passion_config.rb
|
41
|
+
* edit lib/cine_passion_config.rb # And replace APIKEY
|
42
|
+
|
43
|
+
== DEVELOPERS:
|
44
|
+
|
45
|
+
After checking out the source, run:
|
46
|
+
|
47
|
+
$ rake newb
|
48
|
+
|
49
|
+
This task will install any missing dependencies, run the tests/specs,
|
50
|
+
and generate the RDoc.
|
51
|
+
|
52
|
+
* XML Sample files
|
53
|
+
To start devel on my project I made sample files. You can found them on test/data folder. At this time I have theres :
|
54
|
+
cinepassion-scraper-test-00-no-response.xml -> No response from scraper
|
55
|
+
cinepassion-scraper-test-01-one-response.xml -> One result from scraper
|
56
|
+
cinepassion-scraper-test-02-mutiple-response.xml -> Many result from scraper
|
57
|
+
|
58
|
+
In "exploded" directory, I have "translate" files in human readable format (only with indentation ;) ). Do not use there files.
|
59
|
+
|
60
|
+
* Demo mode
|
61
|
+
By default if you not create a lib/cine_passion_config.rb you are in demo mode :
|
62
|
+
- Query: "noresult" => Return cinepassion-scraper-test-00-no-response.xml
|
63
|
+
- Query: "Home" => Return cinepassion-scraper-test-01-one-response.xml
|
64
|
+
- Query: "The Men Who Stare At Goats" => Return cinepassion-scraper-test-02-mutiple-response.xml
|
65
|
+
- Other query => Random result of above
|
66
|
+
|
67
|
+
== LICENSE:
|
68
|
+
|
69
|
+
Ruby Licence:
|
70
|
+
http://www.ruby-lang.org/en/LICENSE.txt
|
data/Rakefile
CHANGED
@@ -1,26 +1,28 @@
|
|
1
|
-
|
2
|
-
require '
|
3
|
-
require 'rubygems'
|
4
|
-
require 'rake'
|
5
|
-
require 'echoe'
|
1
|
+
gem 'hoe', '>=2.0.0'
|
2
|
+
require 'hoe'
|
6
3
|
|
7
|
-
|
8
|
-
|
9
|
-
p.url = "http://github.com/nledez/ruby-scraper-cine-passion"
|
10
|
-
p.author = "Nicolas Ledez"
|
11
|
-
p.email = "gem.cinepassion@ledez.net"
|
12
|
-
p.ignore_pattern = ["tmp/*", "scripts/*", "coverage/*", "html/*", "html/*/*", "html/*/*/*", "lib/cine_passion_config.rb"]
|
13
|
-
p.development_dependencies = []
|
14
|
-
end
|
4
|
+
$:.unshift 'lib'
|
5
|
+
require 'cine_passion'
|
15
6
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
7
|
+
Hoe.spec 'cine-passion' do
|
8
|
+
self.summary = "Ruby binding for Cine Passion scraper"
|
9
|
+
self.description = "Use Cine Passion scraper http://passion-xbmc.org/scraper-cine-passion-support-francais/ http://passion-xbmc.org/scraper/."
|
10
|
+
self.url = "http://github.com/nledez/ruby-scraper-cine-passion"
|
11
|
+
self.author = "Nicolas Ledez"
|
12
|
+
self.email = "gem.cinepassion@ledez.net"
|
13
|
+
self.post_install_message = <<-POST_INSTALL_MESSAGE
|
14
|
+
#{'*'*50}
|
15
|
+
|
16
|
+
Thank you for installing cine-passion-#{CinePassion::VERSION}
|
21
17
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
18
|
+
Please be copy lib/lib/cine_passion_config.rb.sample to lib/cine_passion_config.rb
|
19
|
+
And replace APIKEY with your own.
|
20
|
+
|
21
|
+
You can request one here :
|
22
|
+
http://passion-xbmc.org/demande-clef-api-api-key-request/
|
23
|
+
|
24
|
+
#{'*'*50}
|
25
|
+
POST_INSTALL_MESSAGE
|
26
26
|
end
|
27
|
+
|
28
|
+
# vim: syntax=ruby
|
data/lib/cine_passion.rb
CHANGED
@@ -16,11 +16,27 @@ require 'net/http'
|
|
16
16
|
require 'rexml/document'
|
17
17
|
include REXML
|
18
18
|
|
19
|
-
|
19
|
+
begin
|
20
|
+
require 'cine_passion_config'
|
21
|
+
rescue LoadError => load_error
|
22
|
+
# Define default variables
|
23
|
+
SITEURL="http://scraper-cine-passion-demo.ledez.net"
|
24
|
+
APIKEY="fake-7945cb-fake"
|
25
|
+
|
26
|
+
puts '*'*50
|
27
|
+
puts File.join(File.dirname(__FILE__), 'cine_passion_config.rb') + " is missing"
|
28
|
+
puts " Please see README to create it"
|
29
|
+
puts "currently I use theres values :"
|
30
|
+
puts "SITEURL: #{SITEURL}"
|
31
|
+
puts "APIKEY; #{APIKEY}"
|
32
|
+
puts '*'*50
|
33
|
+
end
|
20
34
|
|
21
35
|
class CinePassion
|
22
36
|
attr_reader :xml_data, :movie_info, :result_nb, :status, :quota
|
23
37
|
|
38
|
+
VERSION = '0.6.0'
|
39
|
+
|
24
40
|
# This class does not require parameters
|
25
41
|
# First action is reset object
|
26
42
|
def initialize
|
@@ -72,7 +88,7 @@ class CinePassion
|
|
72
88
|
# - runtime
|
73
89
|
# - plot
|
74
90
|
# - images => TODO
|
75
|
-
# - ratings
|
91
|
+
# - ratings
|
76
92
|
# * Quota
|
77
93
|
# - authorize
|
78
94
|
# - use
|
data/test/test_cine_passion.rb
CHANGED
@@ -1,15 +1,18 @@
|
|
1
1
|
require 'test/unit'
|
2
2
|
require 'cine_passion'
|
3
3
|
|
4
|
-
|
4
|
+
# Suite tests of CinePassion scraper binding
|
5
|
+
# Many tests can be launch offline
|
5
6
|
class TestCinePassion < Test::Unit::TestCase
|
6
7
|
|
8
|
+
# Test creation of object with right class
|
7
9
|
def test_create_object
|
8
10
|
@test = CinePassion.new
|
9
11
|
assert_not_nil(@test)
|
10
12
|
assert_instance_of(CinePassion, @test)
|
11
13
|
end
|
12
14
|
|
15
|
+
# Test ability to load data from xml & reset data
|
13
16
|
def test_data_load_and_reset
|
14
17
|
@test = CinePassion.new
|
15
18
|
assert_equal(@test.xml_data, "")
|
@@ -21,13 +24,7 @@ class TestCinePassion < Test::Unit::TestCase
|
|
21
24
|
assert_equal(@test.xml_data, "")
|
22
25
|
end
|
23
26
|
|
24
|
-
|
25
|
-
@test = CinePassion.new
|
26
|
-
|
27
|
-
@test.DataLoadFromFile("test/data/cinepassion-scraper-test-01-one-response.xml")
|
28
|
-
assert_not_equal(@test.xml_data, "")
|
29
|
-
end
|
30
|
-
|
27
|
+
# Test ability to load data from network
|
31
28
|
def test_data_load_from_network
|
32
29
|
@test = CinePassion.new
|
33
30
|
|
@@ -35,6 +32,7 @@ class TestCinePassion < Test::Unit::TestCase
|
|
35
32
|
assert_not_equal(@test.xml_data, "")
|
36
33
|
end
|
37
34
|
|
35
|
+
# Test if scrap working
|
38
36
|
def test_scrap_load_data
|
39
37
|
@test = CinePassion.new
|
40
38
|
|
@@ -42,13 +40,16 @@ class TestCinePassion < Test::Unit::TestCase
|
|
42
40
|
assert_not_equal(@test.xml_data, "")
|
43
41
|
end
|
44
42
|
|
43
|
+
# Test if datas was properly extracted
|
45
44
|
def test_xml_load_data
|
46
45
|
@test = CinePassion.new
|
47
46
|
|
47
|
+
# Test no response
|
48
48
|
@test.DataLoadFromFile("test/data/cinepassion-scraper-test-00-no-response.xml")
|
49
49
|
assert_not_equal(@test.xml_data, "")
|
50
50
|
assert_equal(@test.result_nb, 0)
|
51
51
|
|
52
|
+
# Extract all data in one result
|
52
53
|
@test.DataLoadFromFile("test/data/cinepassion-scraper-test-01-one-response.xml")
|
53
54
|
assert_not_equal(@test.xml_data, "")
|
54
55
|
assert_equal(@test.result_nb, 1)
|
@@ -69,10 +70,12 @@ class TestCinePassion < Test::Unit::TestCase
|
|
69
70
|
assert_equal(@test.movie_info['ratings']['imdb']['votes'], "30695")
|
70
71
|
assert_equal(@test.movie_info['ratings']['imdb']['value'], "6,4")
|
71
72
|
|
73
|
+
# Quota extraction
|
72
74
|
assert_equal(@test.quota['authorize'], "300")
|
73
75
|
assert_equal(@test.quota['use'], "1")
|
74
76
|
assert_equal(@test.quota['reset_date'], "2010-08-04 12:45:26")
|
75
77
|
|
78
|
+
# Extract multiple responses
|
76
79
|
@test.DataLoadFromFile("test/data/cinepassion-scraper-test-02-mutiple-response.xml")
|
77
80
|
assert_not_equal(@test.xml_data, "")
|
78
81
|
assert_equal(@test.quota['authorize'], "300")
|
metadata
CHANGED
@@ -1,45 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cine-passion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 6
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.6.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nicolas Ledez
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
|
-
cert_chain:
|
17
|
-
- |
|
18
|
-
-----BEGIN CERTIFICATE-----
|
19
|
-
MIIDNDCCAhygAwIBAgIBADANBgkqhkiG9w0BAQUFADBAMRIwEAYDVQQDDAlydWJ5
|
20
|
-
Zm9yZ2UxFTATBgoJkiaJk/IsZAEZFgVsZWRlejETMBEGCgmSJomT8ixkARkWA25l
|
21
|
-
dDAeFw0xMDA4MjEyMTE5MDFaFw0xMTA4MjEyMTE5MDFaMEAxEjAQBgNVBAMMCXJ1
|
22
|
-
Ynlmb3JnZTEVMBMGCgmSJomT8ixkARkWBWxlZGV6MRMwEQYKCZImiZPyLGQBGRYD
|
23
|
-
bmV0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApnAEi8x9skIeueik
|
24
|
-
ao+BnubBsSBBSPn9UMsiO8vOKhuHWxqCtgSmUQ5wvSdliS9uG4JcKauv0MmHocAX
|
25
|
-
ThzIEr+GnTsqaBPTvWhR1DJSAqqDVwWoyAYJgmoWWHjwSCs76/tm6/X8HhscaHJk
|
26
|
-
b8L1eGCCNup1+aJ+Gv6tOjseMFAjNkK031C45JH2e4LHfPtuyk2qIdAvGR1hjCoa
|
27
|
-
ACbjzWQa21GGNDRMOo1m/zBOCc+TNZskbg5Kea/ecg/svUtD+Q80QAOmaYrebDE8
|
28
|
-
int8ZSSjJf5bK9wwCC/naaycwNZlfdVvBWmxtQBxCIwKtttkXe8CK1dJu0qSpNKR
|
29
|
-
a/AtKQIDAQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU
|
30
|
-
J5NMOXS7hnlmqo5T3zqBaBfsDEgwDQYJKoZIhvcNAQEFBQADggEBAEhXfW51rBEW
|
31
|
-
4HXmLlMpvxlqExNwpWrpW3/84UwDWNx1xV+VFFGKuABC7nI3NNPujdQ3ZAs6nQ02
|
32
|
-
ah6CDIwC1GOFTEyWGxiFPp2ch7s45qdCMRkdzrYtneAKdwRUoio6QqUd/G+6ANV6
|
33
|
-
TBYyITbZHkVIR8FxwPxvi74TmORYXKLxoK7O6xM58zuMFgJAHxpjTPf/b7C4jNsD
|
34
|
-
C9/EpBJTiJPaUyf93RsqU3oecZ+rWXzYsgSYMENUuXCGp8yyzS/RQIn0u3SDWMbx
|
35
|
-
ME+gdl7swmfv54KK5sbU5nHvDzXV1fHez8gxnPc77uLWB8sMQt6USLhP8PYZa/3o
|
36
|
-
gucn7sPbXuQ=
|
37
|
-
-----END CERTIFICATE-----
|
16
|
+
cert_chain: []
|
38
17
|
|
39
|
-
date: 2010-08-
|
18
|
+
date: 2010-08-27 00:00:00 +02:00
|
40
19
|
default_executable:
|
41
|
-
dependencies:
|
42
|
-
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: rubyforge
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 7
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 0
|
33
|
+
- 4
|
34
|
+
version: 2.0.4
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: hoe
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 21
|
46
|
+
segments:
|
47
|
+
- 2
|
48
|
+
- 6
|
49
|
+
- 1
|
50
|
+
version: 2.6.1
|
51
|
+
type: :development
|
52
|
+
version_requirements: *id002
|
43
53
|
description: Use Cine Passion scraper http://passion-xbmc.org/scraper-cine-passion-support-francais/ http://passion-xbmc.org/scraper/.
|
44
54
|
email: gem.cinepassion@ledez.net
|
45
55
|
executables: []
|
@@ -47,37 +57,43 @@ executables: []
|
|
47
57
|
extensions: []
|
48
58
|
|
49
59
|
extra_rdoc_files:
|
50
|
-
-
|
51
|
-
-
|
52
|
-
-
|
60
|
+
- History.txt
|
61
|
+
- Manifest.txt
|
62
|
+
- README.txt
|
53
63
|
files:
|
54
|
-
-
|
55
|
-
-
|
64
|
+
- History.txt
|
65
|
+
- Manifest.txt
|
66
|
+
- README.txt
|
56
67
|
- Rakefile
|
57
|
-
- SuiteTests
|
58
|
-
- cine-passion.gemspec
|
59
|
-
- example/example1.rb
|
60
68
|
- lib/cine_passion.rb
|
61
69
|
- lib/cine_passion_config.rb.sample
|
70
|
+
- test/test_cine_passion.rb
|
62
71
|
- test/data/cinepassion-scraper-test-00-no-response.xml
|
63
72
|
- test/data/cinepassion-scraper-test-01-one-response.xml
|
64
73
|
- test/data/cinepassion-scraper-test-02-mutiple-response.xml
|
65
74
|
- test/data/exploded/cinepassion-scraper-test-00-no-response.xml
|
66
75
|
- test/data/exploded/cinepassion-scraper-test-01-one-response.xml
|
67
76
|
- test/data/exploded/cinepassion-scraper-test-02-mutiple-response.xml
|
68
|
-
- test/test_cine_passion.rb
|
69
77
|
has_rdoc: true
|
70
78
|
homepage: http://github.com/nledez/ruby-scraper-cine-passion
|
71
79
|
licenses: []
|
72
80
|
|
73
|
-
post_install_message:
|
81
|
+
post_install_message: |
|
82
|
+
**************************************************
|
83
|
+
|
84
|
+
Thank you for installing cine-passion-0.6.0
|
85
|
+
|
86
|
+
Please be copy lib/lib/cine_passion_config.rb.sample to lib/cine_passion_config.rb
|
87
|
+
And replace APIKEY with your own.
|
88
|
+
|
89
|
+
You can request one here :
|
90
|
+
http://passion-xbmc.org/demande-clef-api-api-key-request/
|
91
|
+
|
92
|
+
**************************************************
|
93
|
+
|
74
94
|
rdoc_options:
|
75
|
-
- --line-numbers
|
76
|
-
- --inline-source
|
77
|
-
- --title
|
78
|
-
- Cine-passion
|
79
95
|
- --main
|
80
|
-
- README.
|
96
|
+
- README.txt
|
81
97
|
require_paths:
|
82
98
|
- lib
|
83
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -94,17 +110,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
110
|
requirements:
|
95
111
|
- - ">="
|
96
112
|
- !ruby/object:Gem::Version
|
97
|
-
hash:
|
113
|
+
hash: 3
|
98
114
|
segments:
|
99
|
-
-
|
100
|
-
|
101
|
-
version: "1.2"
|
115
|
+
- 0
|
116
|
+
version: "0"
|
102
117
|
requirements: []
|
103
118
|
|
104
119
|
rubyforge_project: cine-passion
|
105
120
|
rubygems_version: 1.3.7
|
106
121
|
signing_key:
|
107
122
|
specification_version: 3
|
108
|
-
summary:
|
123
|
+
summary: Ruby binding for Cine Passion scraper
|
109
124
|
test_files:
|
110
125
|
- test/test_cine_passion.rb
|
data/README.rdoc
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
= Cine Passion scraper
|
2
|
-
Cine Passion is a powerfull movies scraper.
|
3
|
-
This lib allow you to get information about a movie in Ruby without manipulating XML.
|
4
|
-
|
5
|
-
If you want try scraper online :
|
6
|
-
http://passion-xbmc.org/scraper/
|
7
|
-
|
8
|
-
If you have any question about this scraper you have a forum :
|
9
|
-
http://passion-xbmc.org/scraper-cine-passion-support-francais/
|
10
|
-
|
11
|
-
== Cine Passion API Key
|
12
|
-
In my project, you can't find Cine Passion API Key.
|
13
|
-
|
14
|
-
In fact you need a key your own side, you can request one here :
|
15
|
-
http://passion-xbmc.org/demande-clef-api-api-key-request/
|
16
|
-
|
17
|
-
To install your own key :
|
18
|
-
cp lib/cine_passion_config.rb.sample lib/cine_passion_config.rb
|
19
|
-
|
20
|
-
And replace APIKEY
|
21
|
-
|
22
|
-
== XML Sample files
|
23
|
-
To start devel on my project I made sample files. You can found them on test/data folder. At this time I have theres :
|
24
|
-
cinepassion-scraper-test-00-no-response.xml -> No response from scraper
|
25
|
-
cinepassion-scraper-test-01-one-response.xml -> One result from scraper
|
26
|
-
cinepassion-scraper-test-02-mutiple-response.xml -> Many result from scraper
|
27
|
-
|
28
|
-
In "exploded" directory, I have "translate" files in human readable format (only with indentation ;) ). Do not use there files.
|
29
|
-
|
30
|
-
== Launch tests
|
31
|
-
ruby -Ilib test/test_cine_passion.rb
|
32
|
-
Loaded suite test/test_cine_passion
|
33
|
-
Started
|
34
|
-
......
|
35
|
-
Finished in 1.088678 seconds.
|
36
|
-
|
37
|
-
6 tests, 29 assertions, 0 failures, 0 errors
|
38
|
-
|
39
|
-
Check coverage of tests :
|
40
|
-
rake
|
41
|
-
|
42
|
-
== Generate doc
|
43
|
-
rdoc
|
44
|
-
|
45
|
-
== Licence
|
46
|
-
Ruby Licence:
|
47
|
-
http://www.ruby-lang.org/en/LICENSE.txt
|
data/SuiteTests
DELETED
data/cine-passion.gemspec
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
Gem::Specification.new do |s|
|
4
|
-
s.name = %q{cine-passion}
|
5
|
-
s.version = "0.5.0"
|
6
|
-
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = ["Nicolas Ledez"]
|
9
|
-
s.cert_chain = ["/home/nico/.gem-keys/gem-public_cert.pem"]
|
10
|
-
s.date = %q{2010-08-21}
|
11
|
-
s.description = %q{Use Cine Passion scraper http://passion-xbmc.org/scraper-cine-passion-support-francais/ http://passion-xbmc.org/scraper/.}
|
12
|
-
s.email = %q{gem.cinepassion@ledez.net}
|
13
|
-
s.extra_rdoc_files = ["README.rdoc", "lib/cine_passion.rb", "lib/cine_passion_config.rb.sample"]
|
14
|
-
s.files = ["Manifest", "README.rdoc", "Rakefile", "SuiteTests", "cine-passion.gemspec", "example/example1.rb", "lib/cine_passion.rb", "lib/cine_passion_config.rb.sample", "test/data/cinepassion-scraper-test-00-no-response.xml", "test/data/cinepassion-scraper-test-01-one-response.xml", "test/data/cinepassion-scraper-test-02-mutiple-response.xml", "test/data/exploded/cinepassion-scraper-test-00-no-response.xml", "test/data/exploded/cinepassion-scraper-test-01-one-response.xml", "test/data/exploded/cinepassion-scraper-test-02-mutiple-response.xml", "test/test_cine_passion.rb"]
|
15
|
-
s.homepage = %q{http://github.com/nledez/ruby-scraper-cine-passion}
|
16
|
-
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Cine-passion", "--main", "README.rdoc"]
|
17
|
-
s.require_paths = ["lib"]
|
18
|
-
s.rubyforge_project = %q{cine-passion}
|
19
|
-
s.rubygems_version = %q{1.3.7}
|
20
|
-
s.signing_key = %q{/home/nico/.gem-keys/gem-private_key.pem}
|
21
|
-
s.summary = %q{Use Cine Passion scraper http://passion-xbmc.org/scraper-cine-passion-support-francais/ http://passion-xbmc.org/scraper/.}
|
22
|
-
s.test_files = ["test/test_cine_passion.rb"]
|
23
|
-
|
24
|
-
if s.respond_to? :specification_version then
|
25
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
26
|
-
s.specification_version = 3
|
27
|
-
|
28
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
29
|
-
else
|
30
|
-
end
|
31
|
-
else
|
32
|
-
end
|
33
|
-
end
|
data/example/example1.rb
DELETED
data.tar.gz.sig
DELETED
metadata.gz.sig
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
!�~j�v�7�k������̈́���1��ݾ� �z��ճ�@�A�ɀ8��a��;7�K��n/ۯ��=H��o���GP�՝@Oz�q��'N�u/��"D��-�颞�:����R�qh�+5�h*��l�P'��2/}�M"i�$ԏ^
|