lx_data_validation 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/data_validation/version.rb +1 -1
- data/lib/data_validation.rb +2 -13
- metadata +1 -2
- data/config/hosts.yml +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25817fee1343372426d413bd19085e8ef6b2f3ba
|
4
|
+
data.tar.gz: 532b35fb658034b433390c97abc3872131a8d836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b59da721313398956d1713033cd22e8eb425cc9b57ba8b62af2e38b684b16c2f76ffa0fa648364ac2484880d8b3acbeecbca8d766ae603d13d935c6634e93c68
|
7
|
+
data.tar.gz: f9b9ea6d1423323bd00165cfd26fa5c5af5ea4ecbacdf276da3bf6852fa6092183ae6402d35df8448ab569fa7bdca142892885d7fa40dc6c4a71da29c9f6d281
|
data/lib/data_validation.rb
CHANGED
@@ -6,22 +6,11 @@ module DataValidation
|
|
6
6
|
class << self
|
7
7
|
|
8
8
|
def web_request_host
|
9
|
-
|
10
|
-
YAML.load_file('config/hosts.yml')['prod']['web_request_host']
|
11
|
-
end
|
9
|
+
'http://php.admin.laxpower.com'
|
12
10
|
end
|
13
11
|
|
14
12
|
def api_request_host
|
15
|
-
|
16
|
-
YAML.load_file('config/hosts.yml')['prod']['api_request_host']
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
def configure_with_env(env)
|
21
|
-
yaml_config = YAML.load_file('config/hosts.yml')
|
22
|
-
hash_config = yaml_config[env]
|
23
|
-
@web_request_host = hash_config['web_request_host']
|
24
|
-
@api_request_host = hash_config['api_request_host']
|
13
|
+
'https://awmobile.active.com'
|
25
14
|
end
|
26
15
|
|
27
16
|
def compare_with_season_and_category(season = '17', category = 'boys')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lx_data_validation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roger Tong
|
@@ -98,7 +98,6 @@ files:
|
|
98
98
|
- README.md
|
99
99
|
- Rakefile
|
100
100
|
- bin/compare
|
101
|
-
- config/hosts.yml
|
102
101
|
- data_validation.gemspec
|
103
102
|
- lib/data_validation.rb
|
104
103
|
- lib/data_validation/comparison/comparison_base.rb
|
data/config/hosts.yml
DELETED