nandu 0.1.0 → 0.1.1

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: cab5ca5056f482cfb21445a0fbb70169a6f792dd399d57291463b9ff74925bfd
4
- data.tar.gz: 9223026236e1cbfe8dc27be5551275558b335d5e77285f4d04f44c09c5a3c085
3
+ metadata.gz: 9fe3f5a9d1d6149f26dbf15615af0acbdbbc3a8ff71cc4282eb4fb563f13b5d3
4
+ data.tar.gz: 9ecfb099693b519c56efbeddfaef3ef4a0adf21b8129a4ed94ccddc013e68da2
5
5
  SHA512:
6
- metadata.gz: 19c527642f68a6be7ad4a8015ffa3335d7528bd428d3ec8479503270ea9c20daee67457fa377a1f9b54d26faf97d57a50a82f9a0619aa3459a44d134f2ad67cd
7
- data.tar.gz: 6af8070f1634e45cb30039cc9c2e2904870dd540727e7145c6221cd87c43bd27b2fdf36b90c003d0fe035439cc1b11e7c5374e92f9b8eeb059ebe4e90875eb00
6
+ metadata.gz: 79077953fd5c95393c05745c13bdddf25feb51ce5de2d370960bf1be5692341ff47bd11315a91be879c9a4b3d650b85dacde3dca0943052be9ebf5b6237fe268
7
+ data.tar.gz: a660743fffc2b31cba167665de59244d74ba23615deed53891bc0eab4bd97723b7f7bee65967f2dd9680a4870d712e9052b208059a882d34409be7f1dd7c79d3
@@ -0,0 +1,35 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ nandu (0.1.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.3)
10
+ rake (10.5.0)
11
+ rspec (3.8.0)
12
+ rspec-core (~> 3.8.0)
13
+ rspec-expectations (~> 3.8.0)
14
+ rspec-mocks (~> 3.8.0)
15
+ rspec-core (3.8.0)
16
+ rspec-support (~> 3.8.0)
17
+ rspec-expectations (3.8.1)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.8.0)
20
+ rspec-mocks (3.8.0)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.8.0)
23
+ rspec-support (3.8.0)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ bundler (~> 1.16)
30
+ nandu!
31
+ rake (~> 10.0)
32
+ rspec (~> 3.0)
33
+
34
+ BUNDLED WITH
35
+ 1.16.2
@@ -1,3 +1,12 @@
1
+ class String
2
+
3
+ def integer:
4
+ return true if self =~ /^[1-9]\d*(\.\d+)?$/
5
+ false
6
+ end
7
+ end
8
+
9
+
1
10
  module Nandu
2
11
 
3
12
  class Builder
@@ -24,6 +33,6 @@ module Nandu
24
33
 
25
34
  def calculation gratuity = @gratuity
26
35
  @total += @total * (gratuity.to_f / 100)
27
- end
36
+ end
28
37
  end
29
38
  end
@@ -1,3 +1,3 @@
1
1
  module Nandu
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nandu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PAVAN PATIL
@@ -65,6 +65,7 @@ files:
65
65
  - ".travis.yml"
66
66
  - CODE_OF_CONDUCT.md
67
67
  - Gemfile
68
+ - Gemfile.lock
68
69
  - LICENSE.txt
69
70
  - README.md
70
71
  - Rakefile