r_odds 0.1.1 → 0.1.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
  SHA256:
3
- metadata.gz: 635824079dc2e2abeecabefdcd5015525eaf1fe660a66f38e5f5489e288a509d
4
- data.tar.gz: a866397df1cea6e8fe737189417006f765d9e305d712684d6b1eb5671077a25e
3
+ metadata.gz: f1f81483035576c8635338529143fa1948fc6791cf8bf9e819a1c36eb55710ae
4
+ data.tar.gz: 273808c424f6225f1f0c0d5fd418b00d9f70d0f7a87eb3f29e29795c7ef24d89
5
5
  SHA512:
6
- metadata.gz: 25afa77acdaa8057ca6e9df86c7df909494c431af4873898942c41454b2ef9589510e6e579ecca05035d6bfa80a9ee53649d484d618aa00abc9eef2d6c836b1a
7
- data.tar.gz: f3a2e4442eefe2cb591104325276823ae52bed49cce449fb6568a42b810b95c47714c5de2e32f5885de59a8461810d21a5467233222ace734aa463b6be8c7222
6
+ metadata.gz: e92058224f0c1cfe5438b1dac2c2a7e8e53d3a1496e4a21c90816eed3126fa7e637543359f623ab8de1d87be914afa4d944bcfcfa97f6c85fb545322a61237c2
7
+ data.tar.gz: 34d519a763eb3bdece0b16f3f7ac86a1cf7f394d99052e09142d0f60c23d5d53ccaca4172f8e3333e6bb08a40b5c7091232b819acbdfb9cc43501c786f36d8f4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- r_odds (0.1.0)
4
+ r_odds (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -15,7 +15,7 @@ require 'r_odds'
15
15
  ```
16
16
 
17
17
  ## How to use the gem
18
- Use the `:convert` method to convert between any of the following formats: `:american`, `:decimal`, `:fractional` or `:implied probability`
18
+ Use the `:convert` method to convert between any of the following formats: `:american`, `:decimal`, `:fractional` or `:implied_probability`
19
19
 
20
20
  ```ruby
21
21
  ROdds.convert('+150', to: :decimal)
@@ -32,7 +32,7 @@ You can also specify the format you're passing in for ambiguous formats like `'1
32
32
  ROdds.convert('1/4', to: :decimal)
33
33
  #=> 1.25
34
34
 
35
- ROdds.convert('1/4', from: :probability, to: :american)
35
+ ROdds.convert('1/4', from: :implied_probability, to: :american)
36
36
  #=> +300
37
37
  ```
38
38
 
@@ -1,3 +1,3 @@
1
1
  module ROdds
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r_odds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Wambold
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-26 00:00:00.000000000 Z
11
+ date: 2018-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  requirements: []
130
130
  rubyforge_project:
131
- rubygems_version: 2.7.6
131
+ rubygems_version: 2.7.7
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: Simple odds conversions -- Written in Ruby!