numstr 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: d0a8064daa17a615dbc7f3b52da0dd5f40bcc8dbd010ee9318b7f7810c33b1e2
4
- data.tar.gz: 9feb0b244836a662da31527c59c4be4fb7fdf525e4eca17af332355f7e6406d7
3
+ metadata.gz: d45df8338df91a0f307190f8c16683ec993aede8b21a0d0f501c435d63676f0a
4
+ data.tar.gz: b3077eb8d1c6ee735c0b4e09268fcd194c2f9c98538cc9eb2e72d92d05c9e998
5
5
  SHA512:
6
- metadata.gz: afc906098cdcdca14af188eeffe0edeac6e0ba593160a5e36bf51c275db9e66aa94b92c38f7a9bd6ae84db2e8f67d7e38830b7fdf5eca2913268c8a51f82ed32
7
- data.tar.gz: 5ce5d9c938cdb316ae4af1d1547b8f7c440de134d3cda381ba46984cbce188ef2935124722c4698e7ecb060bf5f914cc3d472c909ac77dcad44817daabaa0362
6
+ metadata.gz: a4fc3f3a621fbeaa4edc963f52b551c0fdabec8ba06266493892e6ac3b1a60cf644ffaddc45f250d4dabf7e0b017dcbbaa3dffa0ec41c81569757860b44b4329
7
+ data.tar.gz: bf3a3094709fbec143f1e8c294cdc1816971a6e326b77e03fd54a39015bcffdd8709b0f583ab044c1d705b07fc76f6c66d8c6ae011b66ea72514675a564a2346
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- numstr (0.1.1)
4
+ numstr (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -27,13 +27,13 @@ Or install it yourself as:
27
27
  Run:
28
28
  ```
29
29
  $ irb
30
- 2.7.0 :001 > require 'Numstr'
30
+ 2.7.0 :001 > require 'numstr'
31
31
  ```
32
32
 
33
33
  You can play then or you can hit ENTER, get out of the loop and use Numstr as follows:
34
34
  ```ruby
35
35
  Numstr.to_str(101) # => 'one hundred one'
36
- Numstr.to_str(-999999) # => 'minus nine hundred ninety nine thousand nine hundred ninety nine'
36
+ Numstr.to_str(-999999) # => 'negative nine hundred ninety nine thousand nine hundred ninety nine'
37
37
  Numstr.to_str( 0) # => 'zero, null, nil, nada, zip, goose egg'
38
38
  Numstr.to_str("hi!") # => "C'mon! 'hi!' is not a number!"
39
39
  ```
data/lib/numstr.rb CHANGED
@@ -45,7 +45,7 @@
45
45
  left = num
46
46
 
47
47
  if negative
48
- num_string = 'minus' + ' '
48
+ num_string = 'negative' + ' '
49
49
  end
50
50
 
51
51
  until zillions.empty?
@@ -1,3 +1,3 @@
1
1
  module Numstr
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numstr
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
  - vladveterok