validation_skipper 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NzU3ZThkMWYxOGIzZWI0MDRlZDkzZjFiNTFkNTllMWM4NzM2YTc3MA==
5
- data.tar.gz: !binary |-
6
- YWMxNDk0NDFmZTUwMDAxY2I0M2UzOGI4YWJiYTNhM2QyYTZhNDliMg==
2
+ SHA1:
3
+ metadata.gz: 8e22f9199d50f863738914a74b16e363320c5713
4
+ data.tar.gz: 92351ea4269ed36017686ce672bc45ed54363851
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NzU1YjMwYmZjYWJiZTUxM2Y3YTcwNjA2ZDFiMTY2OTUwYmNhMWVmZDM2YzEx
10
- NGQxMjdiMmYwN2MzYzgzZGIxOGU1NzUwYTAzNmNhYjc1Mzc4MGY4ZTNjNDk4
11
- MWRjZGEwODAzOGNjYTJhYzczNjczMDgyMzY2OGYwNWM4Mjc2NjA=
12
- data.tar.gz: !binary |-
13
- NGQ1ZTBlZjMzNWI2NDA0NGQ4ZWNiNmQyYTZjNmQ2OTc4NzQyYmIwMDI1Zjli
14
- OTgwZmU4YzM2OWUwMTU4Y2Q2Yjc1YzNkZThiZjAxN2RlYTkxNDA3NmVkZmM3
15
- YTMzYjAzYmNhNzhiNWIzOWYzMzg1YzlmYTQ5NWM4NDhjZDBjNzE=
6
+ metadata.gz: 56fa1ba91f6dbc0c3d5f8fbd07fb31149def447c34366ff517ae9368933d23310834fd952c0691c3baaaf01f697103e6648579e2ffebb0f02c6c433f50103cca
7
+ data.tar.gz: 50ff1d79e188c8717d253116598f17d44fd206422b7c8c8739fba78e3d5017877e47759921fe93f0f5d477fb9f43798cfd76c82146e824f1a558d7d7791393a7
@@ -1,4 +1,3 @@
1
- require "validation_skipper/version"
2
1
  require "active_record"
3
2
 
4
3
  module ValidationSkipper
@@ -18,5 +17,4 @@ module ValidationSkipper
18
17
  args.each { |attr| send("skip_#{attr}_validation=", true) }
19
18
  end
20
19
  end
21
- ActiveRecord::Validations.send(:include, ValidationSkipper)
22
- ActiveModel::Validations.send(:include, ValidationSkipper)
20
+ ActiveRecord::Base.send(:include, ValidationSkipper)
@@ -1,3 +1,3 @@
1
1
  module ValidationSkipper
2
- VERSION = "1.0.1"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validation_skipper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Pearson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-28 00:00:00.000000000 Z
11
+ date: 2015-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: activerecord
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: If you need a way to easily skip validations on some attributes and only
@@ -60,7 +60,7 @@ executables: []
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - .gitignore
63
+ - ".gitignore"
64
64
  - Gemfile
65
65
  - LICENSE.txt
66
66
  - README.md
@@ -77,19 +77,18 @@ require_paths:
77
77
  - lib
78
78
  required_ruby_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - ! '>='
85
+ - - ">="
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
89
  rubyforge_project:
90
- rubygems_version: 2.1.10
90
+ rubygems_version: 2.2.2
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: Easily skip validations in Rails
94
94
  test_files: []
95
- has_rdoc: