hotel_price 0.5.6 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.rubocop.yml +68 -104
- data/Gemfile.lock +15 -15
- data/LICENSE.txt +67 -21
- data/README.md +127 -21
- data/hotel_price.gemspec +12 -11
- data/lib/hotel_price.rb +10 -6
- data/lib/hotel_price/agoda/agoda_api.rb +17 -17
- data/lib/hotel_price/agoda/agoda_scraper.rb +12 -6
- data/lib/hotel_price/booking/booking_scraper.rb +11 -6
- data/lib/hotel_price/expedia/expedia_scraper.rb +11 -5
- data/lib/hotel_price/jalan.rb +0 -1
- data/lib/hotel_price/jalan/jalan_api.rb +1 -1
- data/lib/hotel_price/jalan/jalan_scraper.rb +13 -6
- data/lib/hotel_price/rakuten.rb +0 -1
- data/lib/hotel_price/rakuten/rakuten_api.rb +1 -114
- data/lib/hotel_price/rakuten/rakuten_scraper.rb +12 -84
- data/lib/hotel_price/version.rb +1 -1
- metadata +24 -27
- data/.DS_Store +0 -0
- data/lib/hotel_price/jalan/jalan_console.rb +0 -12
- data/lib/hotel_price/rakuten/rakuten_console.rb +0 -528
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f490ac77b152a32bc3b565e71a5a9a2a54eb6e61e16a70c9b75bf0e0c824410
|
4
|
+
data.tar.gz: ad252a314e991c0d3a38f16ec90a3a12087cf8be543eb66117bf7123034ce4ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fed62c12e9a0c09d7179e3540ebe96ea96f70d907d5c3dcbf78aaef9c8732bdbed0661edf626ee08dd3c71b75638f79678b98198273157ff7f027055459f3ce
|
7
|
+
data.tar.gz: 60b7df9db4226018e0aaf95bf24f3f10a0e50c3d651cb920e87a48a76b3c938623bab342955c4d57a8eeaf92ec273b534735e997ea8d00d284a730bd1d2d08cb
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,49 +1,33 @@
|
|
1
|
-
# target_version:
|
2
|
-
# rubocop v0.34.2
|
3
|
-
|
4
|
-
# 自動生成されるものはチェック対象から除外する
|
5
1
|
AllCops:
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
DisplayCopNames: true
|
11
|
-
TargetRubyVersion: 2.6.5
|
2
|
+
EnabledByDefault: true
|
3
|
+
|
4
|
+
Style/AndOr:
|
5
|
+
Enabled: false
|
12
6
|
|
13
|
-
##################### Style ##################################
|
14
7
|
Style/ClassAndModuleChildren:
|
15
8
|
Enabled: false
|
16
|
-
# redirect_to xxx and return のイディオムを維持したい
|
17
|
-
Style/AndOr:
|
18
|
-
EnforcedStyle: conditionals
|
19
9
|
|
20
|
-
# 日本語のコメントを許可する
|
21
10
|
Style/AsciiComments:
|
22
11
|
Enabled: false
|
23
12
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
Style/
|
28
|
-
|
29
|
-
|
30
|
-
|
13
|
+
Style/SymbolArray:
|
14
|
+
Enabled: false
|
15
|
+
|
16
|
+
Style/WordArray:
|
17
|
+
Enabled: false
|
18
|
+
|
19
|
+
Style/MixinGrouping:
|
20
|
+
Enabled: false
|
21
|
+
|
22
|
+
Style/RescueStandardError:
|
23
|
+
Enabled: false
|
24
|
+
|
25
|
+
Style/MethodCallWithArgsParentheses:
|
26
|
+
Enabled: false
|
27
|
+
|
28
|
+
Style/DocumentationMethod:
|
29
|
+
Enabled: false
|
31
30
|
|
32
|
-
# option 等、明示的にハッシュにした方が分かりやすい場合もある
|
33
|
-
Style/BracesAroundHashParameters:
|
34
|
-
Enabled: false
|
35
|
-
|
36
|
-
# Style/CollectionMethods 自体は無効になっているのだが、
|
37
|
-
# https://github.com/bbatsov/rubocop/issues/1084
|
38
|
-
# https://github.com/bbatsov/rubocop/issues/1334
|
39
|
-
# Performance/Detect がこの設定値を見るので PreferredMethods だけ変更しておく。
|
40
|
-
#
|
41
|
-
# デフォルト値から変えたのは
|
42
|
-
# find -> detect
|
43
|
-
# ActiveRecord の find と間違えやすいため
|
44
|
-
# reduce -> inject
|
45
|
-
# detect, reject, select と並べたときに韻を踏んでいるため。
|
46
|
-
# collect -> map を維持しているのは文字数が圧倒的に少ないため。
|
47
31
|
Style/CollectionMethods:
|
48
32
|
PreferredMethods:
|
49
33
|
detect: "detect"
|
@@ -51,152 +35,107 @@ Style/CollectionMethods:
|
|
51
35
|
inject: "inject"
|
52
36
|
reduce: "inject"
|
53
37
|
|
54
|
-
# ドキュメントの無い public class を許可する
|
55
38
|
Style/Documentation:
|
56
39
|
Enabled: false
|
57
40
|
|
58
|
-
# !! のイディオムは積極的に使う
|
59
41
|
Style/DoubleNegation:
|
60
42
|
Enabled: false
|
61
43
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
# メソッドチェーンの改行は末尾に . を入れる
|
66
|
-
# REPL に貼り付けた際の暴発を防ぐため
|
44
|
+
Lint/ConstantResolution:
|
45
|
+
Enabled: false
|
46
|
+
|
67
47
|
Layout/DotPosition:
|
68
48
|
EnforcedStyle: trailing
|
69
49
|
|
70
|
-
Layout/LineLength:
|
71
|
-
Enabled: false
|
72
50
|
|
73
51
|
Layout/EmptyLineAfterGuardClause:
|
74
52
|
Enabled: false
|
75
53
|
|
76
|
-
# 明示的に else で nil を返すのは分かりやすいので許可する
|
77
54
|
Style/EmptyElse:
|
78
55
|
EnforcedStyle: empty
|
79
56
|
|
80
|
-
# 桁揃えが綺麗にならないことが多いので migration は除外
|
81
57
|
Layout/ExtraSpacing:
|
82
58
|
Exclude:
|
83
59
|
- "db/migrate/*.rb"
|
84
60
|
|
85
|
-
# いずれかに揃えるのならば `sprintf` や `format` より String#% が好きです
|
86
61
|
Style/FormatString:
|
87
62
|
EnforcedStyle: percent
|
88
63
|
|
89
|
-
|
64
|
+
Style/MissingElse:
|
65
|
+
Enabled: false
|
66
|
+
|
67
|
+
Style/StringHashKeys:
|
68
|
+
Exclude:
|
69
|
+
- "spec/queries/*.rb"
|
70
|
+
- "*.gemspec"
|
71
|
+
|
72
|
+
Style/RescueModifier:
|
73
|
+
Enabled: false
|
74
|
+
|
90
75
|
Style/GuardClause:
|
91
76
|
MinBodyLength: 5
|
92
77
|
|
93
|
-
# rake タスクの順序の hash は rocket を許可する
|
94
78
|
Style/HashSyntax:
|
95
79
|
EnforcedStyle: ruby19
|
80
|
+
Exclude:
|
81
|
+
- "**/*.rake"
|
82
|
+
- "Rakefile"
|
96
83
|
|
97
|
-
|
98
|
-
# 条件式の方を意識させたい場合には後置の if/unless を使わない方が分かりやすい
|
99
84
|
Style/IfUnlessModifier:
|
100
85
|
Enabled: false
|
101
86
|
|
102
|
-
# private/protected は一段深くインデントする
|
103
87
|
Style/PreferredHashMethods:
|
104
88
|
EnforcedStyle: short
|
105
89
|
|
106
|
-
# scope 等は複数行でも lambda ではなく ->{} で揃えた方が見た目が綺麗
|
107
90
|
Style/Lambda:
|
108
91
|
Enabled: false
|
109
92
|
|
110
|
-
# 1_000_000 と区切り文字が 2 個以上必要になる場合のみ _ 区切りを必須にする
|
111
93
|
Style/NumericLiterals:
|
112
94
|
MinDigits: 7
|
113
95
|
|
114
|
-
# 正規表現にマッチさせた時の特殊変数の置き換えは Regex.last_match ではなく
|
115
|
-
# 名前付きキャプチャを使って参照したいので auto-correct しない
|
116
96
|
Style/PerlBackrefs:
|
117
97
|
AutoCorrect: false
|
118
98
|
|
119
|
-
# has_ から始まるメソッドは許可する
|
120
|
-
Naming/PredicateName:
|
121
|
-
ForbiddenPrefixes:
|
122
|
-
- "is_"
|
123
|
-
- "have_"
|
124
|
-
NamePrefix:
|
125
|
-
- "is_"
|
126
|
-
- "have_"
|
127
|
-
|
128
|
-
# 特に model 内において、ローカル変数とメソッド呼び出しの区別をつけた方が分かりやすい場合が多い
|
129
99
|
Style/RedundantSelf:
|
130
100
|
Enabled: false
|
131
101
|
|
132
102
|
Style/FrozenStringLiteralComment:
|
133
103
|
Enabled: false
|
134
104
|
|
135
|
-
# 受け取り側で multiple assignment しろというのを明示
|
136
105
|
Style/RedundantReturn:
|
137
106
|
AllowMultipleReturnValues: true
|
138
107
|
|
139
|
-
# spec 内は見た目が綺麗になるので許可
|
140
108
|
Style/Semicolon:
|
141
109
|
Exclude:
|
142
110
|
- "spec/**/*"
|
143
111
|
|
144
|
-
# fail と使い分ける必要ナシ
|
145
112
|
Style/SignalException:
|
146
113
|
EnforcedStyle: only_raise
|
147
114
|
|
148
115
|
Style/MethodDefParentheses:
|
149
116
|
Enabled: false
|
150
117
|
|
151
|
-
# `||` も align に使うことがあるので追加する
|
152
|
-
# Style/SpaceAroundOperators:
|
153
|
-
# MultiSpaceAllowedForOperators:
|
154
|
-
# - "="
|
155
|
-
# - "=>"
|
156
|
-
# - "||"
|
157
|
-
|
158
|
-
# * 式展開したい場合に書き換えるのが面倒
|
159
|
-
# * 文章ではダブルクォートよりもシングルクォートの方が頻出する
|
160
|
-
# ことから EnforcedStyle: double_quotes 推奨
|
161
118
|
Style/StringLiterals:
|
162
119
|
EnforcedStyle: double_quotes
|
163
120
|
|
164
|
-
# auto-correct 時に Style/StringLiterals とカニバって無限ループになる (v0.28.0)
|
165
121
|
Style/StringLiteralsInInterpolation:
|
166
122
|
Enabled: false
|
167
123
|
|
168
|
-
# いくらなんでも inject { |a, e| } は短すぎるので分かりやすい名前をつけたい
|
169
124
|
Style/SingleLineBlockParams:
|
170
125
|
Enabled: false
|
171
126
|
|
172
|
-
# * migrate
|
173
|
-
# * jbuilder
|
174
|
-
# * model の association
|
175
|
-
# * controller の callback
|
176
|
-
# 辺りの桁揃えで引っかかるので全体的にチェックしない
|
177
|
-
# Style/SingleSpaceBeforeFirstArg:
|
178
|
-
# Enabled: false
|
179
|
-
|
180
|
-
|
181
|
-
##################### Lint ##################################
|
182
|
-
|
183
|
-
# * 同名のメソッドがある場合にローカル変数に `_` を付ける
|
184
|
-
# * 一時変数として `_` を付ける
|
185
|
-
# というテクニックは頻出する
|
186
127
|
Lint/UnderscorePrefixedVariableName:
|
187
128
|
Enabled: false
|
188
129
|
|
189
|
-
# 子クラスで実装させるつもりのメソッドで引っかかるので
|
190
130
|
Lint/UnusedMethodArgument:
|
191
131
|
Enabled: false
|
192
132
|
|
193
|
-
##################### Metrics ##################################
|
194
133
|
|
195
134
|
Metrics/AbcSize:
|
196
135
|
Enabled: false
|
197
136
|
|
198
137
|
Metrics/CyclomaticComplexity:
|
199
|
-
|
138
|
+
Max: 10
|
200
139
|
|
201
140
|
Metrics/PerceivedComplexity:
|
202
141
|
Enabled: false
|
@@ -204,6 +143,10 @@ Metrics/PerceivedComplexity:
|
|
204
143
|
Metrics/BlockLength:
|
205
144
|
Enabled: false
|
206
145
|
|
146
|
+
Layout/LineLength:
|
147
|
+
Enabled: false
|
148
|
+
|
149
|
+
|
207
150
|
Metrics/MethodLength:
|
208
151
|
Enabled: false
|
209
152
|
|
@@ -216,14 +159,35 @@ Naming/HeredocDelimiterNaming:
|
|
216
159
|
Naming/AccessorMethodName:
|
217
160
|
Enabled: false
|
218
161
|
|
219
|
-
|
162
|
+
Metrics/ModuleLength:
|
220
163
|
Enabled: false
|
221
164
|
|
222
|
-
Lint/
|
165
|
+
Lint/UnusedBlockArgument:
|
223
166
|
Enabled: false
|
224
167
|
|
225
|
-
|
168
|
+
Lint/RescueException:
|
169
|
+
Enabled: false
|
170
|
+
|
171
|
+
Naming/RescuedExceptionsVariableName:
|
172
|
+
Enabled: false
|
173
|
+
|
174
|
+
Bundler/GemComment:
|
175
|
+
Enabled: false
|
176
|
+
|
177
|
+
Style/SafeNavigation:
|
226
178
|
Enabled: false
|
227
179
|
|
228
|
-
|
180
|
+
Lint/NumberConversion:
|
181
|
+
Enabled: false
|
182
|
+
Style/ConstantVisibility:
|
183
|
+
Enabled: false
|
184
|
+
Style/MutableConstant:
|
185
|
+
Enabled: false
|
186
|
+
Style/Copyright:
|
187
|
+
Enabled: false
|
188
|
+
Style/MultilineTernaryOperator:
|
189
|
+
Enabled: false
|
190
|
+
Layout/MultilineAssignmentLayout:
|
191
|
+
Enabled: false
|
192
|
+
Style/Send:
|
229
193
|
Enabled: false
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
hotel_price (0.
|
5
|
-
activesupport (~> 6.0.2.
|
6
|
-
json (~> 2.3.
|
4
|
+
hotel_price (0.6.1)
|
5
|
+
activesupport (~> 6.0.2.2)
|
6
|
+
json (~> 2.3.1)
|
7
7
|
nokogiri (~> 1.10.9)
|
8
8
|
selenium-webdriver (~> 3.141)
|
9
9
|
|
@@ -18,28 +18,28 @@ GEM
|
|
18
18
|
zeitwerk (~> 2.2)
|
19
19
|
childprocess (3.0.0)
|
20
20
|
concurrent-ruby (1.1.6)
|
21
|
-
diff-lcs (1.
|
22
|
-
i18n (1.8.
|
21
|
+
diff-lcs (1.4.4)
|
22
|
+
i18n (1.8.5)
|
23
23
|
concurrent-ruby (~> 1.0)
|
24
|
-
json (2.3.
|
24
|
+
json (2.3.1)
|
25
25
|
mini_portile2 (2.4.0)
|
26
|
-
minitest (5.14.
|
27
|
-
nokogiri (1.10.
|
26
|
+
minitest (5.14.1)
|
27
|
+
nokogiri (1.10.10)
|
28
28
|
mini_portile2 (~> 2.4.0)
|
29
29
|
rake (13.0.1)
|
30
30
|
rspec (3.9.0)
|
31
31
|
rspec-core (~> 3.9.0)
|
32
32
|
rspec-expectations (~> 3.9.0)
|
33
33
|
rspec-mocks (~> 3.9.0)
|
34
|
-
rspec-core (3.9.
|
35
|
-
rspec-support (~> 3.9.
|
36
|
-
rspec-expectations (3.9.
|
34
|
+
rspec-core (3.9.2)
|
35
|
+
rspec-support (~> 3.9.3)
|
36
|
+
rspec-expectations (3.9.2)
|
37
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
38
38
|
rspec-support (~> 3.9.0)
|
39
|
-
rspec-mocks (3.9.
|
39
|
+
rspec-mocks (3.9.1)
|
40
40
|
diff-lcs (>= 1.2.0, < 2.0)
|
41
41
|
rspec-support (~> 3.9.0)
|
42
|
-
rspec-support (3.9.
|
42
|
+
rspec-support (3.9.3)
|
43
43
|
rubyzip (2.3.0)
|
44
44
|
selenium-webdriver (3.142.7)
|
45
45
|
childprocess (>= 0.5, < 4.0)
|
@@ -47,7 +47,7 @@ GEM
|
|
47
47
|
thread_safe (0.3.6)
|
48
48
|
tzinfo (1.2.7)
|
49
49
|
thread_safe (~> 0.1)
|
50
|
-
zeitwerk (2.
|
50
|
+
zeitwerk (2.4.0)
|
51
51
|
|
52
52
|
PLATFORMS
|
53
53
|
ruby
|
@@ -56,7 +56,7 @@ DEPENDENCIES
|
|
56
56
|
bundler (~> 2.0)
|
57
57
|
hotel_price!
|
58
58
|
rake (>= 12.3.3)
|
59
|
-
rspec (~> 3.0)
|
59
|
+
rspec (~> 3.9.0)
|
60
60
|
|
61
61
|
BUNDLED WITH
|
62
62
|
2.1.4
|
data/LICENSE.txt
CHANGED
@@ -1,21 +1,67 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
1
|
+
Apache License
|
2
|
+
|
3
|
+
Version 2.0, January 2004
|
4
|
+
|
5
|
+
http://www.apache.org/licenses/
|
6
|
+
|
7
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
8
|
+
|
9
|
+
1. Definitions.
|
10
|
+
|
11
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
16
|
+
|
17
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
18
|
+
|
19
|
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
20
|
+
|
21
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
22
|
+
|
23
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
24
|
+
|
25
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
26
|
+
|
27
|
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
28
|
+
|
29
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
30
|
+
|
31
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
32
|
+
|
33
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
34
|
+
|
35
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
36
|
+
|
37
|
+
You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
38
|
+
You must cause any modified files to carry prominent notices stating that You changed the files; and
|
39
|
+
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
40
|
+
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
41
|
+
|
42
|
+
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
43
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
44
|
+
|
45
|
+
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
46
|
+
|
47
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
48
|
+
|
49
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
50
|
+
|
51
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
52
|
+
|
53
|
+
END OF TERMS AND CONDITIONS
|
54
|
+
|
55
|
+
Copyright 2020 ELSOUL, INC
|
56
|
+
|
57
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
58
|
+
you may not use this file except in compliance with the License.
|
59
|
+
You may obtain a copy of the License at
|
60
|
+
|
61
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
62
|
+
|
63
|
+
Unless required by applicable law or agreed to in writing, software
|
64
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
65
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
66
|
+
See the License for the specific language governing permissions and
|
67
|
+
limitations under the License.
|