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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d57c15e760b4b13cd67d124d6e0c66c1f5d603c
4
- data.tar.gz: 05207e5b3e1d45257a60e02cf4da04bf8b88eab0
3
+ metadata.gz: 25817fee1343372426d413bd19085e8ef6b2f3ba
4
+ data.tar.gz: 532b35fb658034b433390c97abc3872131a8d836
5
5
  SHA512:
6
- metadata.gz: 7183dc0078c905252f2a9179ff5a05637fbeb863e3de117c672f74bec84ce522574a55d30b7b32588dcb9f604ccc276df709ca53ffb6752d1af09bc8211a4901
7
- data.tar.gz: 4473bce485ba3e274b347ead5e9a0e0f1c47f6f3e73c6058649ca400b07fe5f8470ac6cf523199519de291bf8e1b3debff8b41001dd5268fc2dd56a62823d821
6
+ metadata.gz: b59da721313398956d1713033cd22e8eb425cc9b57ba8b62af2e38b684b16c2f76ffa0fa648364ac2484880d8b3acbeecbca8d766ae603d13d935c6634e93c68
7
+ data.tar.gz: f9b9ea6d1423323bd00165cfd26fa5c5af5ea4ecbacdf276da3bf6852fa6092183ae6402d35df8448ab569fa7bdca142892885d7fa40dc6c4a71da29c9f6d281
@@ -1,3 +1,3 @@
1
1
  module DataValidation
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -6,22 +6,11 @@ module DataValidation
6
6
  class << self
7
7
 
8
8
  def web_request_host
9
- @web_request_host ||= begin
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
- @api_request_host ||= begin
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.1
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
@@ -1,8 +0,0 @@
1
- int:
2
- web_request_host: http://int-laxpower-phpadmin-01w.dev.activenetwork.com
3
- api_request_host: https://awmobile-vip.qa.aw.dev.activenetwork.com
4
-
5
- prod:
6
- web_request_host: http://php.admin.laxpower.com
7
- api_request_host: https://awmobile.active.com
8
-