lakes 0.1.3 → 0.1.4

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: d4e064b1da9183c688a5e5c72310404c1632ddbe
4
- data.tar.gz: a45be37ae9ae49c384676ffa687541cc6d1edab9
3
+ metadata.gz: e5f4977cfdb4471994a2f6811bcce7c6a02c86e5
4
+ data.tar.gz: 2e0cd907e171d5b4a1c1bea5bd10eaf4c202c0a7
5
5
  SHA512:
6
- metadata.gz: 74d1344a011c7d724a2f0b7f1acc074acc4328446694d52df375e35496005270ff9d44e1beefe69f88da865aa273c040f7f66c9b5b16fb77d906c1646060c8e0
7
- data.tar.gz: 1dbf6042cecaa440ec9379fdf5da56dfcdc9929ee0312613946ccc6c928f2c53cce3d56e509f0e37675d9baf15fe0b60250ca22a8c0b2c837a0a10076cf70f32
6
+ metadata.gz: ae805b39fc2e6c5acd8e3db1b143c73151c64bf79344d85ee1ad66a89ced035b53e7f8ff9fb46f6fbab3e5ef20da7392e6482f174cb34f38400689b9727b2fb8
7
+ data.tar.gz: e4ab9445a1254a32bd48dd263a7510b5bbe03aad53ac130a617d9aada734e77d64bbfe38b5bc2a9ebe17196faa9342ecbeb6d853f8cd86dc5e0aff75396075a0
@@ -3,5 +3,5 @@ require 'lakes/texas/lake_characteristics_parser'
3
3
  require 'lakes/texas/water_conditions_parser'
4
4
  require 'lakes/texas/water_data_parser'
5
5
  module Lakes
6
- VERSION = '0.1.3'.freeze
6
+ VERSION = '0.1.4'.freeze
7
7
  end
@@ -157,7 +157,7 @@ module Lakes
157
157
  return if content.nil?
158
158
  water_data_parser = WaterDataParser.new(content)
159
159
  lake_data[:water][:conservation_pool_elevation_in_ft_msl] = water_data_parser.conservation_pool_elevation_in_ft_msl
160
- lake_data[:water][:percentage_full] = water_data_parser.conservation_pool_elevation_in_ft_msl
160
+ lake_data[:water][:percentage_full] = water_data_parser.percentage_full
161
161
  end
162
162
 
163
163
  def parse_reservoir_controlling_authority(main_div, lake_data)
@@ -10,7 +10,7 @@ module Lakes
10
10
 
11
11
  def initialize(text)
12
12
  @raw_text = text
13
- #File.write("test/data/water_data/Texoma.txt", @raw_text)
13
+ File.write("test/data/water_data/Abilene.txt", @raw_text)
14
14
  #puts "WaterDataParser: raw_text: #{@raw_text}"
15
15
  parse
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lakes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Sherman