validates_existence 0.3.1 → 0.3.2

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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_existence
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanel Suurhans
@@ -15,7 +15,9 @@ default_executable:
15
15
  dependencies: []
16
16
 
17
17
  description: A library for validating model association existence.
18
- email: tanel.suurhans@perfectline.ee
18
+ email:
19
+ - tanel.suurhans@perfectline.ee
20
+ - tarmo.lehtpuu@perfectline.ee
19
21
  executables: []
20
22
 
21
23
  extensions: []
@@ -23,15 +25,10 @@ extensions: []
23
25
  extra_rdoc_files:
24
26
  - README.markdown
25
27
  files:
26
- - .gitignore
27
- - MIT-LICENSE
28
28
  - README.markdown
29
- - Rakefile
30
- - VERSION.yml
31
29
  - init.rb
32
30
  - install.rb
33
31
  - lib/validates_existence.rb
34
- - validates_existence.gemspec
35
32
  has_rdoc: true
36
33
  homepage: http://github.com/perfectline/validates_existence/tree/master
37
34
  licenses: []
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- coverage
2
- pkg
3
- rdoc
4
- tags
5
- test/tmp
6
- test/version_tmp
7
- tmp
8
- .idea
9
-
data/MIT-LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2009 PerfectLine LLC (www.perfectline.co.uk)
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile DELETED
@@ -1,45 +0,0 @@
1
- require 'rake'
2
- require 'rake/testtask'
3
- require 'rake/rdoctask'
4
- require 'rcov/rcovtask'
5
-
6
- desc 'Default: run unit tests.'
7
- task :default => :test
8
-
9
- begin
10
- require 'jeweler'
11
- Jeweler::Tasks.new do |jewel|
12
- jewel.name = 'validates_existence'
13
- jewel.summary = 'Validates Rails model belongs_to association existence.'
14
- jewel.email = 'tanel.suurhans@perfectline.ee'
15
- jewel.homepage = 'http://github.com/perfectline/validates_existence/tree/master'
16
- jewel.description = 'A library for validating model association existence.'
17
- jewel.authors = ["Tanel Suurhans", "Tarmo Lehtpuu"]
18
- end
19
- rescue LoadError
20
- puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
21
- end
22
-
23
- desc 'Test the plugin.'
24
- Rake::TestTask.new(:test) do |t|
25
- t.libs << 'lib'
26
- t.libs << 'test'
27
- t.pattern = 'test/**/*_test.rb'
28
- t.verbose = true
29
- end
30
-
31
- desc 'Generate documentation plugin.'
32
- Rake::RDocTask.new(:rdoc) do |rdoc|
33
- rdoc.rdoc_dir = 'rdoc'
34
- rdoc.title = 'ValidatesExistence'
35
- rdoc.options << '--line-numbers' << '--inline-source'
36
- rdoc.rdoc_files.include('README.markdown')
37
- rdoc.rdoc_files.include('lib/**/*.rb')
38
- end
39
-
40
- desc 'Generate code coverage report'
41
- Rcov::RcovTask.new(:rcov) do |rcov|
42
- rcov.libs << 'test'
43
- rcov.test_files = FileList['test/*_test.rb']
44
- rcov.verbose = true
45
- end
data/VERSION.yml DELETED
@@ -1,4 +0,0 @@
1
- ---
2
- :patch: 1
3
- :major: 0
4
- :minor: 3
@@ -1,41 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = %q{validates_existence}
5
- s.version = "0.3.1"
6
-
7
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Tanel Suurhans", "Tarmo Lehtpuu"]
9
- s.date = %q{2009-11-20}
10
- s.description = %q{A library for validating model association existence.}
11
- s.email = %q{tanel.suurhans@perfectline.ee}
12
- s.extra_rdoc_files = [
13
- "README.markdown"
14
- ]
15
- s.files = [
16
- ".gitignore",
17
- "MIT-LICENSE",
18
- "README.markdown",
19
- "Rakefile",
20
- "VERSION.yml",
21
- "init.rb",
22
- "install.rb",
23
- "lib/validates_existence.rb",
24
- "validates_existence.gemspec"
25
- ]
26
- s.homepage = %q{http://github.com/perfectline/validates_existence/tree/master}
27
- s.rdoc_options = ["--charset=UTF-8"]
28
- s.require_paths = ["lib"]
29
- s.rubygems_version = %q{1.3.5}
30
- s.summary = %q{Validates Rails model belongs_to association existence.}
31
-
32
- if s.respond_to? :specification_version then
33
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
34
- s.specification_version = 3
35
-
36
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
37
- else
38
- end
39
- else
40
- end
41
- end