acts_as_singleton 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +1 -1
  2. data/lib/acts_as_singleton.rb +2 -2
  3. metadata +11 -10
@@ -81,7 +81,7 @@ Or, as a submodule:
81
81
 
82
82
  (The MIT License)
83
83
 
84
- (c) 2009-2010 Stephen Celis, stephen@stephencelis.com.
84
+ (c) 2009-2012 Stephen Celis, stephen@stephencelis.com.
85
85
 
86
86
  Permission is hereby granted, free of charge, to any person obtaining a copy
87
87
  of this software and associated documentation files (the "Software"), to deal
@@ -17,12 +17,12 @@ module ActiveRecord
17
17
  # clash with the <tt>ActiveRecord::Singleton::PRIVATE</tt> pattern, or
18
18
  # define them after including the module.
19
19
  module Singleton
20
- VERSION = "0.0.5"
20
+ VERSION = "0.0.8"
21
21
 
22
22
  # This pattern matches methods that should be made private because they
23
23
  # should not be used in singleton classes.
24
24
  PRIVATE = \
25
- /^all$|create(?!_reflection)|find(?!er)|firs|mini|max|new|d_sco|^upd/
25
+ /^all$|create(?!_reflection|_callback)|find(?!er|_callback)|firs|mini|max|new|d_sco|^upd/
26
26
 
27
27
  def self.included(model)
28
28
  model.class_eval do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_singleton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-01 00:00:00.000000000 Z
12
+ date: 2012-05-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
16
- requirement: &70338633858140 !ruby/object:Gem::Requirement
16
+ requirement: &70232140852480 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70338633858140
24
+ version_requirements: *70232140852480
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70338633857700 !ruby/object:Gem::Requirement
27
+ requirement: &70232140850740 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70338633857700
35
+ version_requirements: *70232140850740
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: sqlite3-ruby
38
- requirement: &70338633857180 !ruby/object:Gem::Requirement
38
+ requirement: &70232140849160 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70338633857180
46
+ version_requirements: *70232140849160
47
47
  description: ! 'It just makes sense to store mutable, site-wide, admin-level settings
48
48
  in the database. Right? A key-value table may be more flexible, but maybe we don''t
49
49
  want to be flexible! If you truly want that flexibility: http://github.com/stephencelis/kvc'
@@ -84,8 +84,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  version: '0'
85
85
  requirements: []
86
86
  rubyforge_project:
87
- rubygems_version: 1.8.7
87
+ rubygems_version: 1.8.11
88
88
  signing_key:
89
89
  specification_version: 3
90
90
  summary: A lightweight singleton library for your Active Record models.
91
91
  test_files: []
92
+ has_rdoc: true