validation_skipper 1.0.0 → 1.0.1

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
- YmYxMmRhOTI5OGVlZTNlY2NmODY5Mjc5NGU5YTZhYTk4ODgwZTJjNQ==
4
+ NzU3ZThkMWYxOGIzZWI0MDRlZDkzZjFiNTFkNTllMWM4NzM2YTc3MA==
5
5
  data.tar.gz: !binary |-
6
- ZWJmOWJlNTQ4NzgyMzY1OTJkMGU3ODQ1ODc2ZDJkZWVkNGI0MmNjOA==
6
+ YWMxNDk0NDFmZTUwMDAxY2I0M2UzOGI4YWJiYTNhM2QyYTZhNDliMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTg0MzJmZGI3YmE5NjFkNzgxNDE3OTNmZDAyNjJkYjY1YTUwNzZhZjMzOThk
10
- YzNiNDc4NTczZTQ4ZmExYmM0ZDQ5NzM3ZGI4ZDFmOTk0MTZiNGJhNmQxMjEy
11
- NTJkNTEyM2UzNTczYzk4ZTMzYmI4MWM2MDE1MTg2ZjFjMDZhMTY=
9
+ NzU1YjMwYmZjYWJiZTUxM2Y3YTcwNjA2ZDFiMTY2OTUwYmNhMWVmZDM2YzEx
10
+ NGQxMjdiMmYwN2MzYzgzZGIxOGU1NzUwYTAzNmNhYjc1Mzc4MGY4ZTNjNDk4
11
+ MWRjZGEwODAzOGNjYTJhYzczNjczMDgyMzY2OGYwNWM4Mjc2NjA=
12
12
  data.tar.gz: !binary |-
13
- N2NiZjE1YzkzNTQ5NjhiMDEzNmM1N2MzYmVjNzljNjVmZTAwMmRjNjM5MDI0
14
- MGUyNDdiMWE1Y2VhYTEzYzJjMDUzNDFmY2MyODA5YjYxOTk4MjI4ZDFmOTQ1
15
- Y2Y2Zjk2NGFkOGQ0NjY0MzNjZmFmYjBiZmViNzhiY2U0MDdhNzE=
13
+ NGQ1ZTBlZjMzNWI2NDA0NGQ4ZWNiNmQyYTZjNmQ2OTc4NzQyYmIwMDI1Zjli
14
+ OTgwZmU4YzM2OWUwMTU4Y2Q2Yjc1YzNkZThiZjAxN2RlYTkxNDA3NmVkZmM3
15
+ YTMzYjAzYmNhNzhiNWIzOWYzMzg1YzlmYTQ5NWM4NDhjZDBjNzE=
@@ -1,3 +1,3 @@
1
1
  module ValidationSkipper
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -14,10 +14,8 @@ module ValidationSkipper
14
14
  end
15
15
  end
16
16
 
17
- module InstanceMethods
18
- def skip_validation_for(*args)
19
- args.each { |attr| send("skip_#{attr}_validation=", true) }
20
- end
17
+ def skip_validation_for(*args)
18
+ args.each { |attr| send("skip_#{attr}_validation=", true) }
21
19
  end
22
20
  end
23
21
  ActiveRecord::Validations.send(:include, ValidationSkipper)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validation_skipper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Pearson