fanforce-internal-validations 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTg1NTY1Mzg1ODJiZjExZjk2ZWM5YWU2OTk2ZjEyNmNmYmZkMGI3Yg==
4
+ MThmZmM5Y2JjNDA1ODE0NzMxYTc3OWQ5NTAyY2E5OWIzN2NmMGI5Yw==
5
5
  data.tar.gz: !binary |-
6
- MzJjZGNiMjA0YjM3NWJhY2U2MTQ0MGMzMDRlYzMwYWJkYjcxNmU5YQ==
6
+ ZjE4MzhkYWExNDE5YmI3YzRhMGViYmY1MzUzNjY5ZTk3MmVlY2I3ZQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MWYxOTE5NmYwZTE4ZDZmNzRjMDgxMGQ2YTBhNTY5ZmM1OTllMjViN2Y5YjBi
10
- Y2Q2OWZmMzgyNDVkYjlhZTkzYjk2NmNjMGY3OTJkY2E2OTVjMWNhZTRhZDgz
11
- OGZhNTNhYTllMTcwOGYwMzNlN2ViZWUyYzgxMDEyMDlhNzMwYzA=
9
+ NmY4ZWIxZmJkMjJiNDQ1NTZkMmFhOGEwNDU3ZGFmYzYzNzMxZWNkMTc4NjRk
10
+ MzY5NjZjNjcxZGIzNzRhOWI2NTc1MDVlNzk2MWUwZGUwMTk1ZmZlNzY2YjE3
11
+ ZGVlODViNzk1ZTE1MTViNTgxMWUwMGQ5MThmYzhlNWZhODJhZTA=
12
12
  data.tar.gz: !binary |-
13
- YTczNGVkYjg5MDUzY2RhMzg1MmRlYTEzYzMwYTIxYTFmYTkxZWMwNjJhZDA2
14
- NmUzYzMwNmY5OWI2MGQ5NDI4YWZhNzdlNWY0YzJjZGM2Yzc4YzQyMGEzMGMy
15
- Y2MwZDYyNzU0MzdmOTE2Zjg4MDVmYWYyOTkwYzE3MWQ0MzYyNmY=
13
+ ODc5NjdjMzUxYzEyMGE0OWQyMTU2YTc4M2E4MzkxNjg3NDQ4YmFiMjIyYTRi
14
+ ZTc2NjlkYmQ4ZWM4ZWRhYTZmM2ZiOGNmYTY5YmY3YWMzMGRlMmU3NGY2NTRl
15
+ ZmEwNjZjZTZhNWZhZDFmODM0Y2E2MzQ0Y2VmNzc3N2EyMDA0Zjc=
@@ -55,7 +55,6 @@ module Fanforce::Validations
55
55
  raise_validation_errors(opts, errors, Fanforce::Error::BadRequest)
56
56
  end
57
57
 
58
-
59
58
  def validates_true(*args)
60
59
  opts = extract_options!(args)
61
60
  params = extract_validation_params(opts)
@@ -96,7 +95,7 @@ module Fanforce::Validations
96
95
  end
97
96
  return opts
98
97
  elsif args.last.is_a?(::String)
99
- {msg: args.pop.to_s}
98
+ {message: args.pop.to_s}
100
99
  else
101
100
  {}
102
101
  end
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  module Validations
3
- VERSION = '0.1.7'
3
+ VERSION = '0.1.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-internal-validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark