jimmy 0.5.3 → 0.5.4

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: 4f56afab09fa575f4396854187cbd8f60cc4f4db
4
- data.tar.gz: cf0cb53b1336b974477c9fc6392ae2e2ab10d0e0
3
+ metadata.gz: a7355dc3b49711e877b6d589187406220731be24
4
+ data.tar.gz: 62e462f6c6133f33312d78ef275b20abfa4f17bd
5
5
  SHA512:
6
- metadata.gz: ebc25c5eb271ded07d76e62c6f91283b47be21f93ec9e7d56c5c580c4b346873b1e745517d0bcd7eb00b614bb0ee73f490b1ac886bb330bf033b0e4d27789072
7
- data.tar.gz: af47234f1b78af8dcdef5cfc32e157e2f9a229f31f4b06cac3c84b288436f9334d244e658c012fae5c61be4ba1b85942495bcefe202b00d29a25a3fd399a6232
6
+ metadata.gz: c39f36e9fa0fe9226b690153ce256179f2eefe8eab954a99f84d3d091195dff5a6c1c3e47df5ee86eff8f2a4e03ce1df346f8f0a4525d828ee3fcae38ca5ef01
7
+ data.tar.gz: e62781481e845481b1827d23c9adb4db48e1d7cedfeeb12ca354f0ccef61e79e7074fae171e356c0ef69dd69caea058d9b7f491c6d9419bd872e30e233c582af
@@ -10,7 +10,7 @@ module Jimmy
10
10
  min_items min
11
11
  max_items max
12
12
  end
13
- trait(Fixnum) { |value| min_items value; max_items value }
13
+ trait(Integer) { |value| min_items value; max_items value }
14
14
 
15
15
  nested do |schema|
16
16
  (attrs[:items] ||= []) << schema
@@ -29,7 +29,7 @@ module Jimmy
29
29
  attrs[:min_length] = value.last + variation
30
30
  end
31
31
  end
32
- trait(Fixnum) { |value| min_length value; max_length value }
32
+ trait(Integer) { |value| min_length value; max_length value }
33
33
  trait(Array) { |value| enum value }
34
34
 
35
35
  compile do |hash|
data/lib/jimmy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jimmy
2
- VERSION = '0.5.3'
2
+ VERSION = '0.5.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jimmy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neil E. Pearson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2017-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema