springy 0.1.0 → 0.1.1

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: 993710d7e496323dcfb22680fd7ed879e105c7b1
4
- data.tar.gz: bcf3f7281b0cf7061251ab6ed4aec75bc67d4b9c
3
+ metadata.gz: d7c73367bcc499b6f70a89372940e4d5ebf6e917
4
+ data.tar.gz: da053435091022758ac4fa71f1361bfd7758b26a
5
5
  SHA512:
6
- metadata.gz: 9f1bc21a4846df0bbcd13738204e9500ab20115d67457b550bf9d9e9a3ee04c9b6e0d1cd794b6119d94f5e9386f45c77436e57765740973a11b9799dec3d8f36
7
- data.tar.gz: 8233643b6d3d6aac589acee9e1e7ae1b717fba201252e534e3255f4f29e4930f613195d807e09dcfddba757a9b81dbca0f0573a09718c8f845054964225f2854
6
+ metadata.gz: bae899cee8ecfca2678573419db7f9efb84a9434fe47990441a3d9ba0406e35e315210a8583ea44885634ab95f14c5a736dce239a08faf4dc3cae0a917f1471e
7
+ data.tar.gz: 91148fb55355caac86172ac15326a19ae1753e9b8f804f57acaf94d93c29dde9d4fc15c9a1d9cadbb5c0fd25bd714bb1639401524ab5c7f7d0c63f5540586744
@@ -26,10 +26,10 @@ module Springy
26
26
  @context = opts[:context] || {}
27
27
  end
28
28
 
29
- # def context?(*args)
30
- # (args - context.keys).empty?
31
- # end
32
- #
29
+ def context?(*args)
30
+ (args - context.keys).empty?
31
+ end
32
+
33
33
  def limit(size = nil)
34
34
  return @root[:size] || DEFAULT_PER_PAGE unless size
35
35
  add_root size: size.to_i
@@ -1,3 +1,3 @@
1
1
  module Springy
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: springy
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
  - eubelts
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-08 00:00:00.000000000 Z
11
+ date: 2018-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler