pint 0.0.1.2 → 0.0.1.3

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
  SHA1:
3
- metadata.gz: 172f8c426b53fb4caa81ff61c2c595d838e7ea2e
4
- data.tar.gz: b505b493d48f2113b41e056c2fac0ebc11c91fc2
3
+ metadata.gz: e0a53026749ad58da3da262109850ca4db6d4593
4
+ data.tar.gz: bac788999e3107db5415da980f641b3e89e443a0
5
5
  SHA512:
6
- metadata.gz: 76a6edd652ecb2692b0f22b70b17ecfad9b568bb97f2482919cc3e1354742c49ee013e93dac389e4587bb1cd90d690ad53dd0e89b10a82d2d888be38f85264fd
7
- data.tar.gz: 1ae2bb847c7e9ef6e3051e223dda5cc03d1117b73bd0574d15d2e3f1ae8603957c05729864b1a7a3691056bd63232a87111cd20b3661c73dcf24ad95d41af31e
6
+ metadata.gz: 6a0f71542f44469139a58c6710384f86fc241b19e11ecb8fcabbda11a938a4b6af63c265b7c2dd13171a8348f7229fd2afc9fd25de1c1e33c15be0549547b5c2
7
+ data.tar.gz: 2962a55e8d5c62cb1c56ea09ceb45cf1cb82cb311d4c368bcbb97a4b8789091a8eba7ca686e05c0a82d248b661f2bd3ddbc63bab3ee5ca01f0f8bd5ee00c7425
data/lib/pint/array.rb ADDED
@@ -0,0 +1,5 @@
1
+ class Array
2
+ def sum(start = 0)
3
+ inject(start, &:+)
4
+ end
5
+ end
data/lib/pint/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pint
2
- VERSION = "0.0.1.2"
2
+ VERSION = "0.0.1.3"
3
3
  end
data/lib/pint.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  require "pint/version"
2
2
 
3
+ require "pint/array"
4
+
3
5
  module Pint
4
6
  class Application
5
7
  def call(env)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.2
4
+ version: 0.0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Huynh
@@ -65,6 +65,7 @@ files:
65
65
  - README.md
66
66
  - Rakefile
67
67
  - lib/pint.rb
68
+ - lib/pint/array.rb
68
69
  - lib/pint/version.rb
69
70
  - pint.gemspec
70
71
  homepage: https://github.com/andy4thehuynh/pint