kandianying 0.0.8 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -6
- data/README.md +12 -3
- data/bin/kandianying +4 -1
- data/lib/kandianying/ambassador.rb +3 -2
- data/lib/kandianying/ambassador_scrape.rb +21 -15
- data/lib/kandianying/version.rb +2 -2
- data/lib/kandianying/vieshow.rb +6 -6
- data/lib/kandianying/vieshow_scrape.rb +20 -10
- data/spec/ambassador_spec.rb +80 -58
- data/spec/fixtures/ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6_chinese.yml +6 -0
- data/spec/fixtures/{ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6.yml → ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6_english.yml} +2 -0
- data/spec/fixtures/ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c_chinese.yml +11 -0
- data/spec/fixtures/{ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c.yml → ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c_english.yml} +2 -0
- data/spec/fixtures/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6_chinese.yml +202 -0
- data/spec/fixtures/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6_english.yml +202 -0
- data/spec/fixtures/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c_chinese.yml +371 -0
- data/spec/fixtures/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c_english.yml +371 -0
- data/spec/fixtures/vcr_cassettes/{ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6.yml → ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6_chinese.yml} +772 -222
- data/spec/fixtures/vcr_cassettes/{ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6.yml → ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6_english.yml} +772 -222
- data/spec/fixtures/vcr_cassettes/{ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c.yml → ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c_chinese.yml} +1112 -832
- data/spec/fixtures/vcr_cassettes/{ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c.yml → ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c_english.yml} +1112 -832
- data/spec/fixtures/vcr_cassettes/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6_chinese.yml +2568 -0
- data/spec/fixtures/vcr_cassettes/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6_english.yml +2568 -0
- data/spec/fixtures/vcr_cassettes/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c_chinese.yml +2889 -0
- data/spec/fixtures/vcr_cassettes/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c_english.yml +2889 -0
- data/spec/fixtures/vcr_cassettes/vieshow_name_05_chinese.yml +896 -0
- data/spec/fixtures/vcr_cassettes/vieshow_name_05_english.yml +521 -0
- data/spec/fixtures/vcr_cassettes/vieshow_name_12_chinese.yml +626 -0
- data/spec/fixtures/vcr_cassettes/vieshow_name_12_english.yml +370 -0
- data/spec/fixtures/vcr_cassettes/vieshow_table_05_chinese.yml +896 -0
- data/spec/fixtures/vcr_cassettes/vieshow_table_05_english.yml +521 -0
- data/spec/fixtures/vcr_cassettes/vieshow_table_12_chinese.yml +626 -0
- data/spec/fixtures/vcr_cassettes/vieshow_table_12_english.yml +370 -0
- data/spec/fixtures/vieshow_name_05_chinese.yml +26 -0
- data/spec/fixtures/vieshow_name_05_english.yml +26 -0
- data/spec/fixtures/vieshow_name_12_chinese.yml +20 -0
- data/spec/fixtures/{vieshow_name_12.yml → vieshow_name_12_english.yml} +7 -1
- data/spec/fixtures/vieshow_table_05_chinese.yml +881 -0
- data/spec/fixtures/vieshow_table_05_english.yml +881 -0
- data/spec/fixtures/vieshow_table_12_chinese.yml +629 -0
- data/spec/fixtures/vieshow_table_12_english.yml +629 -0
- data/spec/support/vcr_setup.rb +4 -0
- data/spec/vieshow_spec.rb +86 -68
- metadata +67 -35
- data/spec/fixtures/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6.yml +0 -131
- data/spec/fixtures/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c.yml +0 -304
- data/spec/fixtures/vcr_cassettes/vieshow_name_05.yml +0 -298
- data/spec/fixtures/vcr_cassettes/vieshow_name_12.yml +0 -245
- data/spec/fixtures/vcr_cassettes/vieshow_table_05.yml +0 -298
- data/spec/fixtures/vcr_cassettes/vieshow_table_12.yml +0 -245
- data/spec/fixtures/vieshow_name_05.yml +0 -17
- data/spec/fixtures/vieshow_table_05.yml +0 -458
- data/spec/fixtures/vieshow_table_12.yml +0 -356
data/spec/support/vcr_setup.rb
CHANGED
@@ -20,6 +20,10 @@ HOUR_PART = 0..1
|
|
20
20
|
ADD_24 = 24
|
21
21
|
SEC_PART = 17..18
|
22
22
|
ZERO_SEC = '00'
|
23
|
+
LANGUAGE = %w(chinese english)
|
24
|
+
RANDOM_STRING = (PARTIAL_NAME).map { A_TO_Z.to_a[rand(MAX_ALPHABET)] }.join
|
25
|
+
MONTH_NUM = ('1'..'12').to_a
|
26
|
+
DATE_NUM = ('1'..'31').to_a
|
23
27
|
|
24
28
|
VCR.configure do |config|
|
25
29
|
config.cassette_library_dir = './spec/fixtures/vcr_cassettes'
|
data/spec/vieshow_spec.rb
CHANGED
@@ -2,94 +2,112 @@ require './spec/support/vcr_setup'
|
|
2
2
|
|
3
3
|
TEST_SITES = %w(05 12)
|
4
4
|
FAIL_SITES = %w(0 16)
|
5
|
-
|
5
|
+
INFO = %w(name table)
|
6
6
|
FIXTURES = './spec/fixtures/vieshow_'
|
7
7
|
|
8
8
|
describe 'Get film information' do
|
9
9
|
TEST_SITES.each do |site|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
10
|
+
INFO.each do |t|
|
11
|
+
LANGUAGE.each do |lang|
|
12
|
+
it "must return same list of movies for #{site} & #{t} & #{lang}" do
|
13
|
+
VCR.use_cassette("vieshow_#{t}_#{site}_#{lang}") do
|
14
|
+
cinema = HsinChuMovie::Vieshow.new(site.to_i, lang)
|
15
|
+
site_info = yml_load("#{FIXTURES}#{t}_#{site}_#{lang}.yml")
|
16
|
+
compare = t == INFO[0] ? cinema.movie_names : cinema.movie_table
|
17
|
+
site_info.must_equal compare
|
18
|
+
end; end; end; end
|
18
19
|
end
|
19
20
|
end
|
20
21
|
|
21
22
|
describe 'Get show times for a film' do
|
22
23
|
TEST_SITES.each do |site|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
24
|
+
LANGUAGE.each do |lang|
|
25
|
+
it 'should get viewing times for this film' do
|
26
|
+
VCR.use_cassette("vieshow_table_#{site}_#{lang}") do
|
27
|
+
cinema = HsinChuMovie::Vieshow.new(site.to_i, lang)
|
28
|
+
one_movie = yml_load("#{FIXTURES}name_#{site}_#{lang}.yml")
|
29
|
+
.sample[PARTIAL_NAME]
|
30
|
+
# Films are saved as UPPERCASE but search should pass any case
|
31
|
+
cinema.film_times(one_movie.downcase).each do |film, date_times|
|
32
|
+
film.must_include one_movie
|
33
|
+
date_times.keys.each do |date|
|
34
|
+
if lang == 'english'
|
35
|
+
words_in_date = date.split
|
36
|
+
MONTHS.must_include words_in_date.first
|
37
|
+
DAYS.must_include words_in_date.last
|
38
|
+
elsif lang == 'chinese'
|
39
|
+
nums_in_date = date.split('/')
|
40
|
+
MONTH_NUM.must_include nums_in_date.first
|
41
|
+
DATE_NUM.must_include nums_in_date.last
|
42
|
+
end
|
43
|
+
end; end; end; end; end
|
36
44
|
end
|
37
45
|
TEST_SITES.each do |site|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
46
|
+
LANGUAGE.each do |lang|
|
47
|
+
it 'should return empty array for random string' do
|
48
|
+
VCR.use_cassette("vieshow_table_#{site}_#{lang}") do
|
49
|
+
cinema = HsinChuMovie::Vieshow.new(site.to_i, lang)
|
50
|
+
cinema.film_times(RANDOM_STRING).must_be_empty
|
51
|
+
end; end; end
|
44
52
|
end
|
45
53
|
end
|
46
54
|
|
47
55
|
describe 'Get films after a given time on given day' do
|
48
56
|
TEST_SITES.each do |site|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
else
|
68
|
-
after_show_times = after_films[film][date]
|
69
|
-
after_show_times.each do |ast|
|
70
|
-
# On day show times must include after request show times
|
71
|
-
show_times.must_include ast
|
72
|
-
# After show times must be greater than comparison time
|
73
|
-
if (ast < comparison_time) &&
|
74
|
-
(MIDNIGHT.include? ast[HOUR_PART])
|
75
|
-
# Movies airing from midnight onwards are group with past day
|
76
|
-
ast[HOUR_PART] = "#{ast[HOUR_PART].to_i + ADD_24}"
|
57
|
+
LANGUAGE.each do |lang|
|
58
|
+
it "should only return films after a time for #{site}" do
|
59
|
+
VCR.use_cassette("vieshow_table_#{site}_#{lang}") do
|
60
|
+
cinema = HsinChuMovie::Vieshow.new(site.to_i, lang)
|
61
|
+
time = DateTime.now.new_offset(TAIWAN_TIME)
|
62
|
+
time += GIVEN_DAY.sample
|
63
|
+
time_s = time.to_s
|
64
|
+
time_s[SEC_PART] = ZERO_SEC
|
65
|
+
day_films = cinema.films_on_day(time_s)
|
66
|
+
after_films = cinema.films_after_time(time_s)
|
67
|
+
# comparison_time is an hour earlier than specified time
|
68
|
+
comparison_time = (time - AN_HOUR).to_s[HOUR_MIN]
|
69
|
+
day_films.each do |film, date_times|
|
70
|
+
date_times.each do |date, show_times|
|
71
|
+
if after_films[film].nil?
|
72
|
+
# If empty, all show times must be less than comparison time
|
73
|
+
show_times.each do |show_time|
|
74
|
+
show_time.must_be :<, comparison_time
|
77
75
|
end
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
76
|
+
else
|
77
|
+
after_show_times = after_films[film][date]
|
78
|
+
after_show_times.each do |ast|
|
79
|
+
# On day show times must include after request show times
|
80
|
+
show_times.must_include ast
|
81
|
+
# After show times must be greater than comparison time
|
82
|
+
if (ast < comparison_time) &&
|
83
|
+
(MIDNIGHT.include? ast[HOUR_PART])
|
84
|
+
# Movies airing from midnight onwards are group w/ past day
|
85
|
+
ast[HOUR_PART] = "#{ast[HOUR_PART].to_i + ADD_24}"
|
86
|
+
end
|
87
|
+
ast.must_be :>=, comparison_time
|
88
|
+
end
|
89
|
+
show_times -= after_films[film][date]
|
90
|
+
# Any show time not returned must be less than comparison time
|
91
|
+
show_times.each do |show_time|
|
92
|
+
show_time.must_be :<, comparison_time
|
93
|
+
end
|
94
|
+
end; end; end; end; end; end
|
86
95
|
end
|
87
96
|
end
|
88
97
|
|
89
98
|
describe 'Outside of 1 and 14 must fail' do
|
90
99
|
FAIL_SITES.each do |site|
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
100
|
+
LANGUAGE.each do |lang|
|
101
|
+
it "must fail for #{site} for #{lang}" do
|
102
|
+
proc { HsinChuMovie::Vieshow.new(site.to_i, lang) }
|
103
|
+
.must_raise RuntimeError
|
104
|
+
end; end; end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'Not \'english\' or \'chinese\' must fail' do
|
108
|
+
TEST_SITES.each do |site|
|
109
|
+
it "must fail for #{site} for #{RANDOM_STRING}" do
|
110
|
+
proc { HsinChuMovie::Vieshow.new(site.to_i, RANDOM_STRING) }
|
111
|
+
.must_raise RuntimeError
|
112
|
+
end; end
|
95
113
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kandianying
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stonegold546
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-11-
|
14
|
+
date: 2015-11-19 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: minitest
|
@@ -124,22 +124,38 @@ files:
|
|
124
124
|
- lib/kandianying/vieshow.rb
|
125
125
|
- lib/kandianying/vieshow_scrape.rb
|
126
126
|
- spec/ambassador_spec.rb
|
127
|
-
- spec/fixtures/ambassador_name_38897fa9-094f-4e63-9d6d-
|
128
|
-
- spec/fixtures/
|
129
|
-
- spec/fixtures/
|
130
|
-
- spec/fixtures/
|
131
|
-
- spec/fixtures/
|
132
|
-
- spec/fixtures/
|
133
|
-
- spec/fixtures/
|
134
|
-
- spec/fixtures/
|
135
|
-
- spec/fixtures/vcr_cassettes/
|
136
|
-
- spec/fixtures/vcr_cassettes/
|
137
|
-
- spec/fixtures/vcr_cassettes/
|
138
|
-
- spec/fixtures/vcr_cassettes/
|
139
|
-
- spec/fixtures/
|
140
|
-
- spec/fixtures/
|
141
|
-
- spec/fixtures/
|
142
|
-
- spec/fixtures/
|
127
|
+
- spec/fixtures/ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6_chinese.yml
|
128
|
+
- spec/fixtures/ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6_english.yml
|
129
|
+
- spec/fixtures/ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c_chinese.yml
|
130
|
+
- spec/fixtures/ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c_english.yml
|
131
|
+
- spec/fixtures/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6_chinese.yml
|
132
|
+
- spec/fixtures/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6_english.yml
|
133
|
+
- spec/fixtures/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c_chinese.yml
|
134
|
+
- spec/fixtures/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c_english.yml
|
135
|
+
- spec/fixtures/vcr_cassettes/ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6_chinese.yml
|
136
|
+
- spec/fixtures/vcr_cassettes/ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6_english.yml
|
137
|
+
- spec/fixtures/vcr_cassettes/ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c_chinese.yml
|
138
|
+
- spec/fixtures/vcr_cassettes/ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c_english.yml
|
139
|
+
- spec/fixtures/vcr_cassettes/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6_chinese.yml
|
140
|
+
- spec/fixtures/vcr_cassettes/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6_english.yml
|
141
|
+
- spec/fixtures/vcr_cassettes/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c_chinese.yml
|
142
|
+
- spec/fixtures/vcr_cassettes/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c_english.yml
|
143
|
+
- spec/fixtures/vcr_cassettes/vieshow_name_05_chinese.yml
|
144
|
+
- spec/fixtures/vcr_cassettes/vieshow_name_05_english.yml
|
145
|
+
- spec/fixtures/vcr_cassettes/vieshow_name_12_chinese.yml
|
146
|
+
- spec/fixtures/vcr_cassettes/vieshow_name_12_english.yml
|
147
|
+
- spec/fixtures/vcr_cassettes/vieshow_table_05_chinese.yml
|
148
|
+
- spec/fixtures/vcr_cassettes/vieshow_table_05_english.yml
|
149
|
+
- spec/fixtures/vcr_cassettes/vieshow_table_12_chinese.yml
|
150
|
+
- spec/fixtures/vcr_cassettes/vieshow_table_12_english.yml
|
151
|
+
- spec/fixtures/vieshow_name_05_chinese.yml
|
152
|
+
- spec/fixtures/vieshow_name_05_english.yml
|
153
|
+
- spec/fixtures/vieshow_name_12_chinese.yml
|
154
|
+
- spec/fixtures/vieshow_name_12_english.yml
|
155
|
+
- spec/fixtures/vieshow_table_05_chinese.yml
|
156
|
+
- spec/fixtures/vieshow_table_05_english.yml
|
157
|
+
- spec/fixtures/vieshow_table_12_chinese.yml
|
158
|
+
- spec/fixtures/vieshow_table_12_english.yml
|
143
159
|
- spec/support/vcr_setup.rb
|
144
160
|
- spec/vieshow_spec.rb
|
145
161
|
homepage: https://github.com/SOAupstart2/Hsinchu_Movie
|
@@ -162,27 +178,43 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
178
|
version: '0'
|
163
179
|
requirements: []
|
164
180
|
rubyforge_project:
|
165
|
-
rubygems_version: 2.4.
|
181
|
+
rubygems_version: 2.4.8
|
166
182
|
signing_key:
|
167
183
|
specification_version: 4
|
168
184
|
summary: Get movie information in Hsin Chu
|
169
185
|
test_files:
|
170
186
|
- spec/ambassador_spec.rb
|
171
|
-
- spec/fixtures/ambassador_name_38897fa9-094f-4e63-9d6d-
|
172
|
-
- spec/fixtures/
|
173
|
-
- spec/fixtures/
|
174
|
-
- spec/fixtures/
|
175
|
-
- spec/fixtures/
|
176
|
-
- spec/fixtures/
|
177
|
-
- spec/fixtures/
|
178
|
-
- spec/fixtures/
|
179
|
-
- spec/fixtures/vcr_cassettes/
|
180
|
-
- spec/fixtures/vcr_cassettes/
|
181
|
-
- spec/fixtures/vcr_cassettes/
|
182
|
-
- spec/fixtures/vcr_cassettes/
|
183
|
-
- spec/fixtures/
|
184
|
-
- spec/fixtures/
|
185
|
-
- spec/fixtures/
|
186
|
-
- spec/fixtures/
|
187
|
+
- spec/fixtures/ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6_chinese.yml
|
188
|
+
- spec/fixtures/ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6_english.yml
|
189
|
+
- spec/fixtures/ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c_chinese.yml
|
190
|
+
- spec/fixtures/ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c_english.yml
|
191
|
+
- spec/fixtures/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6_chinese.yml
|
192
|
+
- spec/fixtures/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6_english.yml
|
193
|
+
- spec/fixtures/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c_chinese.yml
|
194
|
+
- spec/fixtures/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c_english.yml
|
195
|
+
- spec/fixtures/vcr_cassettes/ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6_chinese.yml
|
196
|
+
- spec/fixtures/vcr_cassettes/ambassador_name_38897fa9-094f-4e63-9d6d-c52408438cb6_english.yml
|
197
|
+
- spec/fixtures/vcr_cassettes/ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c_chinese.yml
|
198
|
+
- spec/fixtures/vcr_cassettes/ambassador_name_5c2d4697-7f54-4955-800c-7b3ad782582c_english.yml
|
199
|
+
- spec/fixtures/vcr_cassettes/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6_chinese.yml
|
200
|
+
- spec/fixtures/vcr_cassettes/ambassador_table_38897fa9-094f-4e63-9d6d-c52408438cb6_english.yml
|
201
|
+
- spec/fixtures/vcr_cassettes/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c_chinese.yml
|
202
|
+
- spec/fixtures/vcr_cassettes/ambassador_table_5c2d4697-7f54-4955-800c-7b3ad782582c_english.yml
|
203
|
+
- spec/fixtures/vcr_cassettes/vieshow_name_05_chinese.yml
|
204
|
+
- spec/fixtures/vcr_cassettes/vieshow_name_05_english.yml
|
205
|
+
- spec/fixtures/vcr_cassettes/vieshow_name_12_chinese.yml
|
206
|
+
- spec/fixtures/vcr_cassettes/vieshow_name_12_english.yml
|
207
|
+
- spec/fixtures/vcr_cassettes/vieshow_table_05_chinese.yml
|
208
|
+
- spec/fixtures/vcr_cassettes/vieshow_table_05_english.yml
|
209
|
+
- spec/fixtures/vcr_cassettes/vieshow_table_12_chinese.yml
|
210
|
+
- spec/fixtures/vcr_cassettes/vieshow_table_12_english.yml
|
211
|
+
- spec/fixtures/vieshow_name_05_chinese.yml
|
212
|
+
- spec/fixtures/vieshow_name_05_english.yml
|
213
|
+
- spec/fixtures/vieshow_name_12_chinese.yml
|
214
|
+
- spec/fixtures/vieshow_name_12_english.yml
|
215
|
+
- spec/fixtures/vieshow_table_05_chinese.yml
|
216
|
+
- spec/fixtures/vieshow_table_05_english.yml
|
217
|
+
- spec/fixtures/vieshow_table_12_chinese.yml
|
218
|
+
- spec/fixtures/vieshow_table_12_english.yml
|
187
219
|
- spec/support/vcr_setup.rb
|
188
220
|
- spec/vieshow_spec.rb
|
@@ -1,131 +0,0 @@
|
|
1
|
-
---
|
2
|
-
國賓影城@新竹環球世博店:
|
3
|
-
SCOUTS GUIDE TO THE ZOMBIE APOCALYPSE:
|
4
|
-
2015/11/14:
|
5
|
-
- '10:30'
|
6
|
-
- '12:20'
|
7
|
-
- '14:10'
|
8
|
-
- '16:00'
|
9
|
-
- '17:50'
|
10
|
-
- '19:40'
|
11
|
-
- '21:30'
|
12
|
-
2015/11/15:
|
13
|
-
- '10:30'
|
14
|
-
- '12:20'
|
15
|
-
- '14:10'
|
16
|
-
- '16:00'
|
17
|
-
- '17:50'
|
18
|
-
- '19:40'
|
19
|
-
- '21:30'
|
20
|
-
2015/11/16:
|
21
|
-
- '12:00'
|
22
|
-
- '13:50'
|
23
|
-
- '15:40'
|
24
|
-
- '17:30'
|
25
|
-
- '19:20'
|
26
|
-
- '21:10'
|
27
|
-
2015/11/17:
|
28
|
-
- '12:00'
|
29
|
-
- '13:50'
|
30
|
-
- '15:40'
|
31
|
-
- '17:30'
|
32
|
-
- '19:20'
|
33
|
-
- '21:10'
|
34
|
-
2015/11/18:
|
35
|
-
- '12:00'
|
36
|
-
- '13:50'
|
37
|
-
- '15:40'
|
38
|
-
- '17:30'
|
39
|
-
- '19:20'
|
40
|
-
- '21:10'
|
41
|
-
2015/11/19:
|
42
|
-
- '12:00'
|
43
|
-
- '13:50'
|
44
|
-
- '15:40'
|
45
|
-
- '17:30'
|
46
|
-
- '19:20'
|
47
|
-
- '21:10'
|
48
|
-
Spectre:
|
49
|
-
2015/11/14:
|
50
|
-
- '10:20'
|
51
|
-
- '11:30'
|
52
|
-
- '13:00'
|
53
|
-
- '14:10'
|
54
|
-
- '16:40'
|
55
|
-
- '17:40'
|
56
|
-
- '18:50'
|
57
|
-
- '20:20'
|
58
|
-
- '21:30'
|
59
|
-
2015/11/15:
|
60
|
-
- '10:20'
|
61
|
-
- '11:30'
|
62
|
-
- '13:00'
|
63
|
-
- '14:10'
|
64
|
-
- '16:40'
|
65
|
-
- '17:40'
|
66
|
-
- '18:50'
|
67
|
-
- '20:20'
|
68
|
-
- '21:30'
|
69
|
-
2015/11/16:
|
70
|
-
- '11:30'
|
71
|
-
- '12:30'
|
72
|
-
- '14:10'
|
73
|
-
- '15:10'
|
74
|
-
- '16:20'
|
75
|
-
- '17:50'
|
76
|
-
- '18:50'
|
77
|
-
- '20:30'
|
78
|
-
- '21:30'
|
79
|
-
2015/11/17:
|
80
|
-
- '11:30'
|
81
|
-
- '12:30'
|
82
|
-
- '14:10'
|
83
|
-
- '15:10'
|
84
|
-
- '16:10'
|
85
|
-
- '17:50'
|
86
|
-
- '18:50'
|
87
|
-
- '20:30'
|
88
|
-
- '21:30'
|
89
|
-
2015/11/18:
|
90
|
-
- '11:30'
|
91
|
-
- '12:30'
|
92
|
-
- '14:10'
|
93
|
-
- '15:10'
|
94
|
-
- '16:20'
|
95
|
-
- '17:50'
|
96
|
-
- '18:50'
|
97
|
-
- '20:30'
|
98
|
-
- '21:30'
|
99
|
-
2015/11/19:
|
100
|
-
- '11:30'
|
101
|
-
- '12:30'
|
102
|
-
- '14:10'
|
103
|
-
- '15:10'
|
104
|
-
- '16:20'
|
105
|
-
- '17:50'
|
106
|
-
- '18:50'
|
107
|
-
- '20:30'
|
108
|
-
- '21:30'
|
109
|
-
The Little Prince:
|
110
|
-
2015/11/14:
|
111
|
-
- '10:40'
|
112
|
-
- '12:40'
|
113
|
-
- '15:40'
|
114
|
-
- '16:50'
|
115
|
-
2015/11/15:
|
116
|
-
- '10:40'
|
117
|
-
- '12:40'
|
118
|
-
- '15:40'
|
119
|
-
- '16:50'
|
120
|
-
2015/11/16:
|
121
|
-
- '12:20'
|
122
|
-
- '16:50'
|
123
|
-
2015/11/17:
|
124
|
-
- '12:10'
|
125
|
-
- '16:50'
|
126
|
-
2015/11/18:
|
127
|
-
- '12:20'
|
128
|
-
- '16:50'
|
129
|
-
2015/11/19:
|
130
|
-
- '12:20'
|
131
|
-
- '16:50'
|