pinkman 0.9.1.30 → 0.9.2.0

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: 8e35d6a1f62f5c6afe56ed64a460993b97931bf4
4
- data.tar.gz: e952f2db47d9248e75ac23b195fe76946b8d8e1b
3
+ metadata.gz: 110cfada6019590e9a2cbac45c8c4f353053294b
4
+ data.tar.gz: 941c6573326e95d1ba2d9f737161d260261ffdec
5
5
  SHA512:
6
- metadata.gz: 1873a395969f9e12d700880bcc034bf7d398f754048f05a24829a12a957fffdbe284c0876e3dbc00caac7d83f0f7fdcbc67c85e1e301e7d4bef7c3c786bb971d
7
- data.tar.gz: 7b6c802cc583d80368386396bd0d59f48ea8c954fb9c4311ca394d96395086ec0cfe5c18a162f9ff6a25b756ccb3bac98e28c178acaac620943ad44ffba3c51e
6
+ metadata.gz: a8166ac66d73645a4ed56c99a8bfa3c7f96b3358b95880658be132c67b4f42ec465d910053628aec39d570dda760634a11324dee13b7475b58df53f827c142bc
7
+ data.tar.gz: 6509f22340b0e7b432242e2c67236d5c16200c9ab72783cf4232b915c15262f4c26d200b5404ba951633fbf090da9fc85cb61559d75228e1a3759b15ba5e38b3
@@ -11,7 +11,7 @@ module Pinkman
11
11
 
12
12
  def initialize *args
13
13
  super(*args)
14
- @errors = Base.format_errors(args.first.errors.to_h) if args.first.errors.present? and args.first.errors.any?
14
+ @errors = Base.format_errors(args.first.errors.to_h) if args.first.present? and args.first.errors.present? and args.first.errors.any?
15
15
  @params = OpenStruct.new(args[1][:params]) if args.length > 1 and args[1].is_a?(Hash) and args[1][:params]
16
16
  self
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module Pinkman
2
- VERSION = "0.9.1.30"
2
+ VERSION = "0.9.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pinkman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1.30
4
+ version: 0.9.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agilso Oliveira
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-26 00:00:00.000000000 Z
11
+ date: 2017-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler