nydp 0.1.13 → 0.1.13.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
  SHA1:
3
- metadata.gz: b34a690426dc8586b784561503f93638b4ca32bb
4
- data.tar.gz: 4b994623f4c7d685119046f025c1a17adccc7a13
3
+ metadata.gz: a4f450a23c8998d99bc57a5c23a0c87c06566322
4
+ data.tar.gz: 3256bb897e0a2e6a4e7da105ff389dc422f37510
5
5
  SHA512:
6
- metadata.gz: c32cbeb7b3013042d8712958e3cafe4062f7b75850e20c9162e273bdea45d1b38e9dc61fbcabb597dacdf512b535db8e227c323c8c23726677c56d58e4d626e0
7
- data.tar.gz: d687ddbe01b2e0aaddeecbe7849a5d4aeb6cc3c7c253d11f57555e2386670ed8252ec5338b34ee0ab8e5b59932ec9c9c424283b4985614bf79f3485a726d9ba2
6
+ metadata.gz: 0956fc389dbe051a444cfd2dbcf3de1f5b8990427fb567618cf51a4c0941bb1fc286dbf0cff3a6f70f41567ce86629b77e76f59735837269bb244bcda3c5985a
7
+ data.tar.gz: 7c72d7bfd3ee47c9e0f6d75ff86f9b679d1ec803db68cf899b46e3878f53ecd50d77bfbba40a942dcdf277245d431adbe121aa43cc89397c7a5d9165cdaf0d02
@@ -69,4 +69,5 @@
69
69
  `(= ,place (+ ,place ,(or inc 1))))
70
70
 
71
71
  (def seqf (start incr)
72
- (fn () (returning start (++ start incr))))
72
+ (let i (or incr 1)
73
+ (fn () (returning start (++ start i)))))
@@ -2,4 +2,9 @@
2
2
  ("returns a function that returns the next number in a sequence when called"
3
3
  (let s (seqf 10 2)
4
4
  (list (s) (s) (s) (s)))
5
- (10 12 14 16)))
5
+ (10 12 14 16))
6
+
7
+ ("returns a function that returns the next number on each call"
8
+ (let s (seqf 10)
9
+ (list (s) (s) (s) (s)))
10
+ (10 11 12 13)))
data/lib/nydp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nydp
2
- VERSION = "0.1.13"
2
+ VERSION = "0.1.13.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nydp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Conan Dalton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-26 00:00:00.000000000 Z
11
+ date: 2016-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler