preferable 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/preferable/model.rb +1 -1
  2. metadata +14 -24
@@ -23,7 +23,7 @@ module Preferable::Model
23
23
  def preferable(&block)
24
24
  unless _preferable
25
25
  self._preferable = Preferable::Schema.new
26
- serialize :preferences, Preferable::Set
26
+ serialize :preferences
27
27
  include PreferableMethods
28
28
  end
29
29
  self._preferable.instance_eval(&block) if block
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: preferable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
- - 1
10
- version: 0.1.1
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dimitrij Denissenko
@@ -16,8 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-07-19 00:00:00 +01:00
20
- default_executable:
19
+ date: 2011-09-01 00:00:00 Z
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
23
22
  name: abstract
@@ -39,7 +38,7 @@ dependencies:
39
38
  requirement: &id002 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
42
- - - ~>
41
+ - - ">="
43
42
  - !ruby/object:Gem::Version
44
43
  hash: 7
45
44
  segments:
@@ -47,24 +46,16 @@ dependencies:
47
46
  - 0
48
47
  - 0
49
48
  version: 3.0.0
50
- type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: activesupport
54
- prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
56
- none: false
57
- requirements:
58
- - - ~>
49
+ - - <
59
50
  - !ruby/object:Gem::Version
60
- hash: 7
51
+ hash: 15
61
52
  segments:
62
53
  - 3
54
+ - 2
63
55
  - 0
64
- - 0
65
- version: 3.0.0
56
+ version: 3.2.0
66
57
  type: :runtime
67
- version_requirements: *id003
58
+ version_requirements: *id002
68
59
  description: Great for storing user preferences
69
60
  email: dimitrij@blacksquaremedia.com
70
61
  executables: []
@@ -75,12 +66,11 @@ extra_rdoc_files: []
75
66
 
76
67
  files:
77
68
  - README.markdown
69
+ - lib/preferable.rb
78
70
  - lib/preferable/field.rb
71
+ - lib/preferable/model.rb
79
72
  - lib/preferable/set.rb
80
73
  - lib/preferable/schema.rb
81
- - lib/preferable/model.rb
82
- - lib/preferable.rb
83
- has_rdoc: true
84
74
  homepage: https://github.com/bsm/preferable
85
75
  licenses: []
86
76
 
@@ -114,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
104
  requirements: []
115
105
 
116
106
  rubyforge_project:
117
- rubygems_version: 1.6.2
107
+ rubygems_version: 1.8.5
118
108
  signing_key:
119
109
  specification_version: 3
120
110
  summary: Simple preferences store for ActiveRecord