ranNUM 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e37e8b0b39e78b20e621d916760d60518022411
4
- data.tar.gz: 757d270b5d52fe80cc0efd964aa8e30fb2ff328e
3
+ metadata.gz: a31b66a05b0d4298497053ec0b5fd6dd694385bf
4
+ data.tar.gz: 914f82bb5a92c62ab4574497339402c9a874f7df
5
5
  SHA512:
6
- metadata.gz: 6ee601a5581a3e12d5d6e7de052f9299aeadfd934af2f8787c27e6218c19d9e4426cbce9470bd181e1af3c94c86b9d6b8c151c5c7b193555a3c5dc74c9e3cbf7
7
- data.tar.gz: a5ccde47960ba3e3c4831c02531184c036f09df6406bfde023551a4f9b337cceb1fa0b7f78647abdd8b7bfd13537b158b9c7e3c1c9897837b26439f32424ccf7
6
+ metadata.gz: 96fd44cff9280de73b57e300e725c2e2d2bf9033a386d49bf5d05a56a372540c0fd11df0134eb66214171feb28794f9d92852601c73769c220f8213b2cef076b
7
+ data.tar.gz: 1768ed0dcefc8bf112905f2dc2b6bb6969480dec837cab63ba1c1ec5e9cc38ee2addb30e1aee69741e401b0e1090ad088b18c0a5aca1943e7e0d0bb29bca52f4
@@ -10,7 +10,7 @@ class RAN
10
10
  end
11
11
  def self.s_SYMBOL
12
12
  random_string_stocks = rand(500)
13
- IO.readlines("bin/SP500.txt")[random_string_stocks]
13
+ IO.readlines("lib/textfiles/SP500.txt")[random_string_stocks]
14
14
  end
15
15
  #get weather data
16
16
  def self.get_owm_data(city_id, api_key)
@@ -22,7 +22,7 @@ class RAN
22
22
  end
23
23
  def self.w_TEMP
24
24
  random_string_weather = rand(10000)
25
- city = IO.readlines("bin/owmid.txt")[random_string_weather]
25
+ city = IO.readlines("lib/textfiles/owmid.txt")[random_string_weather]
26
26
  api_owm = "4610a14e77ea7d2522ef38eed4bbee0c"
27
27
  output_weather = get_owm_data(city, api_owm)
28
28
  output_weather["main"]["temp"]
@@ -60,4 +60,4 @@ end
60
60
  #puts RAN.num(10)
61
61
 
62
62
  #prints a random number equal to or below the number in parentheses rounded
63
- puts RAN.num(10).round
63
+ #puts RAN.num(10).round
File without changes
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ranNUM
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colby Taperts
@@ -16,9 +16,9 @@ executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
18
18
  files:
19
- - bin/SP500.txt
20
- - bin/owmid.txt
21
19
  - lib/ranNUM.rb
20
+ - lib/textfiles/SP500.txt
21
+ - lib/textfiles/owmid.txt
22
22
  homepage: http://rubygems.org/gems/ranNUM
23
23
  licenses:
24
24
  - MIT