natural_number_string 0.2.1 → 0.3.0

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: c0e3b134f407c2223c5b811d00d392b9e989a017
4
- data.tar.gz: 010d9310aa376410c6380a2e887e06cd5430e9ad
3
+ metadata.gz: 42b9e07bfda6ebb1b1c3c5f5cacef8d6c761ff7b
4
+ data.tar.gz: 4e0b64598fd8900dfbce7121feb39853e3358138
5
5
  SHA512:
6
- metadata.gz: 4af9e6624ce57b60ba1edf1d0c08408d1838e59121731cb85ca762003c00152af28df042f8c9c2765ea0c5bc996b1d3f66dfd7ca96a3b60b8f3461b7f0d916b8
7
- data.tar.gz: 5a198f7188142981d8867402ff83b04458e8de69243625e4da7850a4b12c7dc764d4dcc45a6c14a9c66beb9c3a0fd0bf93f5884de67715b6b352e0ba4bdffe24
6
+ metadata.gz: 783e0ec4ba9ed7a14050e154cdac6ea8c6fe1ec6f36349c455321cb8d993b0136b1334d561c7b5e913c4df784590bedb06213172719c95709d735ef0573235ea
7
+ data.tar.gz: 6d415ae4035cd192cf09dfc609e806e82713b4e1d829b849300778e1b843527e132db2fc52a545263115f1ba1aa8d36c5adbdfd1d44d08bf35116fc8c94d1777
data/changelog.md CHANGED
@@ -1,3 +1,15 @@
1
+ <a name="0.3.0"></a>
2
+ # [0.3.0](https://github.com/packsaddle/ruby-natural_number_string/compare/v0.2.1...v0.3.0) (2015-09-26)
3
+
4
+ Drop `#natural_number_string?`.
5
+ Use `#positive_integer_string?` or `zero_or_positive_integer_string?`.
6
+
7
+ ### Features
8
+
9
+ * **natural_number:** natural_number_string? is not clear ([bdd8a4c](https://github.com/packsaddle/ruby-natural_number_string/commit/bdd8a4c))
10
+
11
+
12
+
1
13
  <a name="0.2.1"></a>
2
14
  ## [0.2.1](https://github.com/packsaddle/ruby-natural_number_string/compare/v0.2.0...v0.2.1) (2015-09-26)
3
15
 
@@ -3,10 +3,6 @@ require 'natural_number_string/version'
3
3
  module NaturalNumberString
4
4
  module_function
5
5
 
6
- def natural_number_string?(value)
7
- value.is_a?(String) && /^\d+$/ =~ value ? true : false
8
- end
9
-
10
6
  def zero_or_positive_integer_string?(value)
11
7
  value.is_a?(String) && /^\d+$/ =~ value ? true : false
12
8
  end
@@ -1,3 +1,3 @@
1
1
  module NaturalNumberString
2
- VERSION = '0.2.1'
2
+ VERSION = '0.3.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: natural_number_string
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sanemat