natural_number_string 0.1.0 → 0.2.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: ee1b4b6898991ebd490d55fe24af876d515b9843
4
- data.tar.gz: 3a5b348f0699a4a1831d44252e28d71b2c1619c6
3
+ metadata.gz: bb7ed8b5b2d908bc7bb9d6f7ebc3defedae2ec88
4
+ data.tar.gz: ef511ab79dde7e9ce372ad4206ceafcf3edfc866
5
5
  SHA512:
6
- metadata.gz: 3e3ef5335a22c9f001939c7ed3cf99f1df44b8cbf85a24d956baf45fa847e9e15a0cf7547ae64e18f0ecb0aaf3638c0589b38e46b7bfe89fdcc072b7a6835200
7
- data.tar.gz: 9fc01a745b0ebdf6255397711b358ae6bfdeaef3154d0c3da1c51a26e951d8283aa220a678efa4d85758ed7865e9aa215512b0935debb4ca57259bdb343aaf42
6
+ metadata.gz: a39229c5c284ae06a5237dbd947ed2853260e620c95a8f0e9139ba0ae4749c576562aa07346455db35a45b5e394af74a7c11d43f951ff85f73da02ce7b43ef94
7
+ data.tar.gz: 237a171e13c58961aa122a4ca63d1260c2f525e16fceef7d2a9204345fe03220c6ef11586d36215c8d5498c97b1b111b4bf9275ed8e418a2a7ead682491f33a7
data/changelog.md CHANGED
@@ -1,3 +1,13 @@
1
+ <a name="0.2.0"></a>
2
+ # [0.2.0](https://github.com/packsaddle/ruby-natural_number_string/compare/v0.1.0...v0.2.0) (2015-09-26)
3
+
4
+
5
+ ### Features
6
+
7
+ * **natural_number_string:** change api ([5501b2b](https://github.com/packsaddle/ruby-natural_number_string/commit/5501b2b))
8
+
9
+
10
+
1
11
  <a name="0.1.0"></a>
2
12
  # 0.1.0 (2015-09-26)
3
13
 
@@ -3,7 +3,7 @@ require 'natural_number_string/version'
3
3
  module NaturalNumberString
4
4
  module_function
5
5
 
6
- def natural_number?(value)
6
+ def natural_number_string?(value)
7
7
  value.is_a?(String) && /^\d+$/ =~ value ? true : false
8
8
  end
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module NaturalNumberString
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.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.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - sanemat