constantrecord 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -114,4 +114,5 @@ territories and German Bundesländer. Check out the sample directory!
114
114
 
115
115
  Copyright (c) 2009 Christoph Petschnig. See LICENSE for details.
116
116
 
117
- Thanks to Till Salzer, Torsten Schönebaum and Nate Wiger for contributions!
117
+ Thanks to Till Salzer, Torsten Schönebaum, Nate Wiger and Eric Lindvall for
118
+ contributions!
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
3
 
4
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
5
+
4
6
  begin
5
7
  require 'jeweler'
6
8
  Jeweler::Tasks.new do |gem|
@@ -11,6 +13,7 @@ begin
11
13
  gem.homepage = "http://github.com/cpetschnig/constantrecord"
12
14
  gem.authors = ["Christoph Petschnig"]
13
15
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
+ gem.version = version
14
17
  end
15
18
  Jeweler::GemcutterTasks.new
16
19
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -1,46 +1,44 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{constantrecord}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Christoph Petschnig"]
12
- s.date = %q{2010-10-02}
12
+ s.date = %q{2011-01-24}
13
13
  s.description = %q{A tiny ActiveRecord substitute for small, never changing database tables.}
14
14
  s.email = %q{info@purevirtual.de}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README.rdoc"
17
+ "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
20
  "LICENSE",
21
- "README.rdoc",
22
- "Rakefile",
23
- "VERSION",
24
- "constantrecord.gemspec",
25
- "lib/constantrecord.rb",
26
- "samples/canadian_province.rb",
27
- "samples/german_province.rb",
28
- "samples/us_state.rb",
29
- "test/helper.rb",
30
- "test/test_constantrecord.rb"
21
+ "README.rdoc",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "constantrecord.gemspec",
25
+ "lib/constantrecord.rb",
26
+ "samples/canadian_province.rb",
27
+ "samples/german_province.rb",
28
+ "samples/us_state.rb",
29
+ "test/helper.rb",
30
+ "test/test_constantrecord.rb"
31
31
  ]
32
32
  s.homepage = %q{http://github.com/cpetschnig/constantrecord}
33
- s.rdoc_options = ["--charset=UTF-8"]
34
33
  s.require_paths = ["lib"]
35
- s.rubygems_version = %q{1.3.7}
34
+ s.rubygems_version = %q{1.4.2}
36
35
  s.summary = %q{A tiny ActiveRecord substitute for small, never changing database tables.}
37
36
  s.test_files = [
38
- "test/test_constantrecord.rb",
39
- "test/helper.rb"
37
+ "test/helper.rb",
38
+ "test/test_constantrecord.rb"
40
39
  ]
41
40
 
42
41
  if s.respond_to? :specification_version then
43
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
44
42
  s.specification_version = 3
45
43
 
46
44
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -162,6 +162,11 @@ module ConstantRecord #:nodoc:
162
162
  def empty? #:nodoc:
163
163
  false
164
164
  end
165
+
166
+ # A ConstantRecord will never be destroyed
167
+ def destroyed? #:nodoc:
168
+ false
169
+ end
165
170
 
166
171
  # Rails 3.0: this method is checked in ActiveRecord::Base.compute_type
167
172
  def self.match(*args)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: constantrecord
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease: false
4
+ hash: 23
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Christoph Petschnig
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-02 00:00:00 +02:00
18
+ date: 2011-01-24 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -45,8 +45,8 @@ homepage: http://github.com/cpetschnig/constantrecord
45
45
  licenses: []
46
46
 
47
47
  post_install_message:
48
- rdoc_options:
49
- - --charset=UTF-8
48
+ rdoc_options: []
49
+
50
50
  require_paths:
51
51
  - lib
52
52
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -70,10 +70,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  requirements: []
71
71
 
72
72
  rubyforge_project:
73
- rubygems_version: 1.3.7
73
+ rubygems_version: 1.4.2
74
74
  signing_key:
75
75
  specification_version: 3
76
76
  summary: A tiny ActiveRecord substitute for small, never changing database tables.
77
77
  test_files:
78
- - test/test_constantrecord.rb
79
78
  - test/helper.rb
79
+ - test/test_constantrecord.rb